VisualBuilder
  Home > Java > Tutorials > Java Web Start in J2SE 5.0 - Ant Tutorial
Tell a friend
Link to us
Total Members
      Members: 84661
     
Sitemap Forum Chat
Home
Ant Tutorial Home
1 . Introduction
2 . Library Dependencies
3 . Necessary Elements Of the Build File-1
4 . Neccessary Elements Of the Build File-2
5 . Writing Your First Buildfile
6 . Integration Of Ant With IDE Eclipse
7 . Command-line Arguments
8 . ANT Command Options Summary
9 . Properties in ANT
10 . Example to print the existing properties using ANT.
11 . Adding lib files in Classpath from the Ant Script
12 . Creating and deleting the directories from Ant Scripts.
13 . Working with Files.
14 . Example to Create the Jar files
15 . Creating the War files using the ANT Scripts
16 . Ear Command in Ant
17 . Generics
18 . Annotation Processing Tool ( APT )
19 . More Enhancements in Tiger.
20 . Java Compiler (javac) and Debugger
21 . Java Web Start in J2SE 5.0
22 . General Deployment Enhancements in J2SE 5.0
 
 
Java Home
Java Members (27650)
Java Member Articles ( 40 )
Java Discussion (275)
Java Q & A ( 174 )
- Java Ask Question
- Java Questions
- Java Unanswered Questions
Java Resources
Java Source Code (1096)
Java Articles (551)
Java Blogs (118)
Java Jobs (797)
Java Components (85)
Java Books (169)
Java Websites (127)
Java News (103)
 
GROUPS
.NET
ASP.NET
.NET
C#
ASP
Visual Basic
Java
Java
JSP
EJB
Other
Delphi
C++
Ajax
UML
JavaScript
PHP
Web Design
Web Hosting
SQL Server
Oracle
Project Management
More Groups

 
LEARNING CENTER
TUTORIALS
.NET
.NET Tutorial
ASP Tutorial
ASP.NET Database Tutorial
ASP.Net Security,Internationalisation And Deployment
ASP.NET Tutorial
C# Tutorial
Web Development
Flex Tutorial
HTML Tutorial
Learn AJAX Tutorial
PHP Tutorial
Software Development
Database Tutorial
SQL Tutorial
UML Tutorial
Java
Ant Tutorial
EJB 3 Tutorial
Hibernate Tutorial
Java Tutorial
Java Web Component Tutorial
Java XML Tutorial
JDBC Tutorial
JDK1.5 Tutorial
JSF Tutorial
JSP And J2EE Design Tutorial
JSP Tutorial
Spring Tutorial
Struts Tutorial

RESOURCES
Q & A (451 )
Source Code (3275 )
Articles (359 )
Books (372 )
Components (1596 )
News (892 )
Websites (1207 )

SUBMISSIONS
Submit Article
Submit Website
Submit News
Submit Source Code
Submit Component

COMMUNITY
Members Directory
Discussion Forum
Chat

SITE
About Us
Sitemap
Search
Contact Us
Link To Us
Feedback
Tell a Friend
Partners
Advertise

Java ant Tutorial
 Java Web Start in J2SE 5.0
  << Prev: Java Compiler (javac) and Debugger Next: General Deployment Enhancements in J2SE 5.0 >>

The following enhancements have been done in the new release.



  • Elimination of Application Manager: The J2SE 5.0 release no longer contains the Application Manager. Its major functionality is now contained in the Java Control Panel and the JNLP Cache Viewer .

  • Elimination of Developer Bundle: Java Web Start is now fully integrated into the JRE and the JDK. The items which were previously contained in a separate developer bundle are now contained in the JDK. The documentation which was previously contained in the developers bundle is now available online. The JDK now contains a samples directory with sample source code to four Java Web Start applications, a sample JRE installer, and the JNLP download servlet. The JDK now also contains jardiff.jar , jnlp.jar , and jnlp-servlet.jar .

  • JNLP Cache Viewer: The JNLP Cache Viewer replaces the functionality of the Application Manager's "downloaded Applications" view. Now all applications, applets, libraries and installers are shown. Available applications can be launched online or offline, removed, or restored from the web. All JNLP files are now kept in the cache (even those without href parameters).

  • System Cache: Java Web Start now contains both system and user caches. The system administrator can now pre-load applications and shared libraries into the system cache so that multiple users can share the same resources.

  • Import Facility: Java Web Start now contains an import facility. This can be used for CD installs, where code is initially loaded from one location and then updated from another. It can also be used to pre-install applications and libraries in either the user or system cache without running the applications.

  • Desktop Integration: (1) Desktop integration of applications has been extended to GNOME and enhanced to allow an application's JNLP file to specify what integration to do. The JNLP file can now suggest desktop and/or menu and specify submenu names. (2) On Windows and on Unix running GNOME 2.0 or above, Java Web Start applications can now register themselves to be the primary handler for specific MIME types and extensions on the desktop or file system (but not as links in web pages). (3) Now other related content—HTML links, native content, and related JNLP applications—can be included in the desktop integration of an application.

  • API Enhancements: The JNLP API has been extended to contain an Extended Service and a Single Instance Service. The Extended Service contains file IO APIs not available in the original spec. The Single Instance Service provides a mechanism whereby applications can insure that multiple invocations of the same application will cause new arguments to be passed to the original instance. This avoids the overhead of again launching Java. Note that the Single Instance behavior will only be enabled after the application calls the Single Instance API in the JNLP application.

  • VM arguments: A JNLP file can now request arbitrary arguments to the virtual machine. Previous JNLP applications could only use the initial-heap-size and max-heap-size arguments to the j2se element; now a java-vm-args argument has been added. Java Web Start will honor the requests for any normal java and -X arguments that it considers "safe". A list of all such arguments will be included with each release so that the JNLP Spec does not need to change.

  • A JNLP applications running in a sandbox can now print with full support using the Java Printing APIs: Whenever the JNLP application tries to print, Java Web Start will pop up a security dialog asking the user for permission for the application to print. This provides JNLP applications with complete printing support; previously they could only use JNLP printing APIs. This is similar to the applet printing behavior in Java Plug-in.


  << Prev: Java Compiler (javac) and Debugger Next: General Deployment Enhancements in J2SE 5.0 >>
Java Ant Tutorial Home
Give feedback and win a prize.

 
   Printer Friendly
   Email to a friend
   Add to my Favourites    
  Download PDF version
   Report Bad Submissions
   Submit Feedback
 
  Delicious   Digg   Technorati   Blink   Furl   Reddit   Newsvine   Google Click each image to add
this page to each site.
 
 
Welcome Guest Signup
MEMBER'S PANEL
EMAIL
PASSWORD
Forgot your password?
New User? Click Here!
 
Resend Activation Email!
 
SEARCH
 
 
 
ADVERTISEMENT
Partner List
Code Project
ASP Alliance
More
 
 
 
 

Home | Login | About Us | Contact Us | Privacy Policy | Advertising