Re: [Java-gnome-developer] GNOME Web Start
Brought to you by:
afcowie
|
From: Benjamin J. <bp...@gm...> - 2004-11-06 17:54:40
|
> Yes. Java web start is awesome. Making a similar thing possible with > Gnome/GTK would be awesome. However, I have gone down this path before. > > GTK/Gnome are native libs. This means, for the JWS program to run, it > cannot do so in a sandbox. The user gets an ugly message telling them > not to do it. > > GTK/Gnome do not use Java class loader to load their resouses: such as > icons, themes, .gtkrc files, and the like. There isn't a good way to do > this with JWS. Gtk/Gnome would have to be able to load their resources > out of a Classloader. Perhaps adding a callback to GTK's file operations > that lets you plug in arbitrary ways to retrieve a byte[] or something. > > Both of the above cases could more properly be solved in the same way > Swing/AWTs are. When a Swing program is downloaded from JWS, it does not > download the entirety of the Swing and AWT libraries: they are located > on the local machine. AWT uses JNI (or something) to interface with the > native machine to do it's graphic rendering... and JWS doesn't give you > a warning about this (just like an applet). Basically somebody has > configured a security manager of some sort to trust Swing/AWT. So, > Java-Gnome is installed locally and given permission to do what it > needs. Obviously this makes one click deployment not quite work... > except that your Linux distribution SHOULD distribute Java-Gnome by > default!!! > > > > ------------------------------------------------------- > This SF.Net email is sponsored by: > Sybase ASE Linux Express Edition - download now for FREE > LinuxWorld Reader's Choice Award Winner for best database on Linux. > http://ads.osdn.com/?ad_id=5588&alloc_id=12065&op=click > _______________________________________________ > java-gnome-developer mailing list > jav...@li... > https://lists.sourceforge.net/lists/listinfo/java-gnome-developer > -- Geschenkt: 3 Monate GMX ProMail + 3 Top-Spielfilme auf DVD ++ Jetzt kostenlos testen http://www.gmx.net/de/go/mail ++ |