GlassFish V2 and out-of-the-box Java Web Start support for App Clients
By tjquinn on Sep 17, 2007
Today GlassFish V2 is officially released (corresponding to Sun's app server product Sun Java System Application Server 9.1)! This release represents a lot of work by a lot of people, including many users in the community who have been downloading builds along the way and reporting their experiences.
Judging from postings by new users in the GlassFish forum there has been steady growth in the use of the built-in, out-of-the-box support for launching app clients using Java Web Start since that feature first appeared in GlassFish V1. This latest GlassFish V2 release contains a minor enhancement which I have written about before but will summarize briefly here.
You can now specify the splash image and the icon image you want to use for your app client when your users launch it using Java Web Start. Since the original implementation of this feature, you could always use the <java-web-start-support><vendor> element in the sun-application-client.xml file to specify the text to be displayed in the splash screen that Java Web Start automatically supplies. Now in GlassFish V2 you can also use this element to specify the splash screen and/or the icon image.
Specify the vendor text as
where the two URIs indicate where within the app client archive the image files are located. If you specify only one image, that URI is used for the icon image and Java Web Start will display its default splash screen using the vendor-text you supply.
By the way, we plan to allow developers much broader ability to customize the generated JNLP in GlassFish V3. Until then this enhancement allows you to tailor your end-users' experience with your application.