Presentation is loading. Please wait.

Presentation is loading. Please wait.

CSc 667/867 Java Web Start / JNLP RSS. Deploying Software with JNLP and Java Web Start Delivering client-side Java technology-based programs has recently.

Similar presentations


Presentation on theme: "CSc 667/867 Java Web Start / JNLP RSS. Deploying Software with JNLP and Java Web Start Delivering client-side Java technology-based programs has recently."— Presentation transcript:

1 CSc 667/867 Java Web Start / JNLP RSS

2 Deploying Software with JNLP and Java Web Start Delivering client-side Java technology-based programs has recently been a daunting task. Browser differences -- both in versions of the Java Runtime Environment (JRE) and security architecture -- have caused many developers to abandon rich client-side solutions in favor of using Java technology on the server, with JavaServer Pages (JSPTM) and servlets. But now that Java Web Start -- and the underlying Java Network Launch Protocol (JNLP) -- are a standard part of the Java 2 platform (as of version 1.4), it's far easier to deploy cross- platform, client-side systems.

3 Java Web Start a mechanism for program delivery through a standard Web server. Typically initiated through the browser, these programs are deployed to the client and executed outside the scope of the browser. Once deployed, the programs do not need to be downloaded again, and they can automatically download updates on startup without requiring the user to go through the whole installation process again. They continue to run within a restricted container, or sandbox. Since Java Web Start runs on top of the Java 2 platform, you also have access to the underlying security architecture.

4 How to launch JWS at your browser? download Web Start for your platform. Java Web Start itself is only about 1 MB. However, it requires the Java Runtime Environment (JRE), so if a you (or a user) don't have a JRE, the download size increases accordingly, to just under 6 MB on Microsoft Windows platforms.

5

6 Tutorials & Good resources From Setup Java Web Start to Jar signing –http://www.mobilefish.com/developer/java webstart/javawebstart.htmlhttp://www.mobilefish.com/developer/java webstart/javawebstart.html Deploying Software with JNLP and Java Web Start –http://java.sun.com/developer/technicalArti cles/Programming/jnlp/http://java.sun.com/developer/technicalArti cles/Programming/jnlp/

7 Steps to set up a JWS The client machine requires support for the Java Runtime Environment (JRE), version 1.2.2 or higher. The Web server where the application is deployed must be configured with support for a new MIME type. –application/x-java-jnlp-file jnlp

8

9

10

11 RSS or RSS Feed a Web site will make a feed, or channel, available, just like any other file or resource on the server. Once a feed is available, computers can regularly fetch the file to get the most recent items on the list. Most often, people will do this with an aggregator, a program that manages a number of lists and presents them in a single interface.

12 RSS - What is all the fuss about?

13 What is RSS Good For? RSS can deliver current information from the Internet in our areas of expertise or interest. –RSS comes close to fulfilling the promise of a custom newspaper or magazine that is delivered to our desktop. –Some RSS feeds are updated hourly (Associated Press and BBC news), some RSS feeds are updated daily, and others are updated weekly or irregularly. RSS reduces my web surfing time and gives me more reading time. RSS can provide content for websites and blogs. RSS can bring additional traffic to a website or blog.

14 Purpose of RSS Instant information –Information updated in realtime Single source –All information aggregated in a signle location, or personalization Rapid scanning –Feed readers highlight unread headlines Categorizing –Information can be categorized by theme

15

16

17

18 Make RSS Feeds (RSS Tags) : Root Element Required children elements –,, Optional children elements –,,,,,,, etc Make RSS Feeds Details RSS feed creation in a step by step fashion http://www.make-rss-feeds.com Aug, 22 2004 00:12:30 EST Aug, 22 2004 00:12:30 EST en-us Copyright 2004, NotePage, Inc. webmaster@notepage.net webmaster@notepage.net newspapers feedforall 120 http://blogs.law.harvard.edu/tech

19 RSS Tags Image is a child element of and can have children elements as below: –title, description, url, width, height, link (a hyper link when the image is clicked) Item is a child element of and can have children elements as below: –title, description, link, pubDate, category,

20 Creating RSS Feeds 1. Create a feed (filling the tags) 2. Determine Content RSS feed can be used an number of ways. The idea is for a feed to contain content that will be updated on a regular basis. 3. Enter Data in Main Fields –The important fields are: –Channel - title, description & links Item - title, description & links –You may enter data either using server side program or manually. 5. Submit Feed (xml file) to RSS search engines and directories (so people find it well) 6. Publish the feed on your web site

21 Behind the scene You may use Bloglines or my Yahoo! To subscribe a specific RSS for your interesting subject. The RSS pub updates “something.xml” at its web site. My Yahoo! Or Bloglines will periodically check that xml file to see if it has been updated.


Download ppt "CSc 667/867 Java Web Start / JNLP RSS. Deploying Software with JNLP and Java Web Start Delivering client-side Java technology-based programs has recently."

Similar presentations


Ads by Google