• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Jeanne Boyarsky
  • Ron McLeod
Sheriffs:
  • Paul Clapham
  • Liutauras Vilda
  • Devaka Cooray
Saloon Keepers:
  • Tim Holloway
  • Roland Mueller
Bartenders:

used jdk

 
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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!!!
 
Greenhorn
Posts: 22
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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???
 
Oh sure, it's a tiny ad, but under the right circumstances, it gets bigger.
Smokeless wood heat with a rocket mass heater
https://woodheat.net
reply
    Bookmark Topic Watch Topic
  • New Topic