• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

used jdk

 
Mathias Andrae
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
I am new in JNLP and WebStart.
Some standard apps are running correctly on my system.
But if I use j2ee-classes or special-ibm-classes (like the contextfactory for the initialcontext of ejb) i get errors.
I suppose this classes are missing in the classpath of Webstart.
My questions:
1. Is there any point where I have to register the used jdk (standard and enterprise)?
2. Is there any possibility to set an special classpath in Webstart for vendor-specific-classes and how?
3. Is there any possibility to load this classes together with the application from the server?
Thanks!!!
 
Heinz Elman
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi Mathias,
you can register the required jdk in WebStart. In the german Version under "Datei -> Einstellungen->Java.
Loading classes under WS works easy.
Step 1: You put them in a jar-File.
"jar -cfv myClasses.jar TestApp.class TestApp$1.class TestApp$2.class ...".
Step 2: You put the jar Files on the Server.
Step 3: Modify the ressourcesTag in your JNLP-File.
But how WebStart works with beans...sorry, I don't know, but let me know:-)
Regards,
Heinz elman
 
Mathias Andrae
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks, it helped.
.........
I don't work with ejb in webstart. I want to load the ClientApplication of an ejb from the server.
...........
Another Question! When on my Client is not the right jdk, where I have to define the place of the jdk, if it is to download.
Can you give me example-code or any other help???
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic