Home | Contact Us | FAQ | Search & Site Map | Link to Us
Sign In | Join | Other 45 Sites in Network
HomeAnnouncementsWhite Papers
Discussion GroupsFirst AidDatabasesJavaBeansGUIJava 3DVirtual MachineCORBASecurityToolsGeneral
Java DirectoryOpen Source ProjectsSample Book ChaptersUser GroupsWeb Resources
Related Topics
Databases.NETMore Topics ...

Java Forum / General / December 2007

Tip: Looking for answers? Try searching our database.

Can Web Start reference resources other than jars?

Thread view: 
Robert M. Gary - 05 Dec 2007 15:34 GMT
In the resources section of your jnlp file it appears you can only
reference jars? Can you not include icons used internally by the
application, resource bundles (properties files for nationalization),
etc? Do you have to put everything in jars?

-Roberet
Mark Thornton - 05 Dec 2007 22:19 GMT
> In the resources section of your jnlp file it appears you can only
> reference jars? Can you not include icons used internally by the
> application, resource bundles (properties files for nationalization),
> etc? Do you have to put everything in jars?
>
> -Roberet

Yes you have to put everything in jars (which can then be signed). What
is the problem? It isn't hard to do.

Mark Thornton
Andrew Thompson - 05 Dec 2007 22:56 GMT
On Dec 6, 8:19 am, Mark Thornton <mark.p.thorn...@ntl-spam-world.com>
wrote:
> > In the resources section of your jnlp file it appears you can only
> > reference jars? Can you not include icons used internally by the
> > application, resource bundles (properties files for nationalization),
> > etc? Do you have to put everything in jars?

No.  You don't - Ant does.  Write a script and
'forget about it'.

> Yes you have to put everything in jars (which can then be signed). What
> is the problem? It isn't hard to do.

While the types of application specific
resources the OP refers to would normally
be (in the case of internationalization, I
would raise that to 'have to be') jar'd and
added to the resources section of the JNLP,
web start apps. (just like desktop apps.)
can retrieve resources for any resources
(I am thiniking, most typically - media)
for which they can form an URL.  If the
resource originates from a different domain,
the user will be prompted if they want to
allow it (no prompt in an 'all-permissions'
JWS app.)

Here is an example - the Image Fader launch
files get their images from firstly the
'home' server, and then two other servers.
<http://www.knutejohnson.com/>

--
Andrew T.
PhySci.org


Free Magazines

Get these publications absolutely FREE for up to 12 months. There are no hidden fees and no obligation. Simply choose a title, complete the application form and submit it. Read more ...

Oracle MagazineNetwork ComputingComputer WorldBio-IT WorldeWeekInformation WeekInfosecurity
 
Sign In
Join
My Latest Posts
My Monitored Threads
My Blog
My Photo Gallery
My Profile
My Homepage

Start New Thread
Enable EMail Alerts
Rate this Thread



©2008 Advenet LLC   Privacy Policy - Terms of Use
This website includes both content owned or controlled by Advenet as well as content owned or controlled by third parties.