The Source for Java Technology Collaboration

Home » java.net Forums » Java Deployment & Distribution » Java Web Start

Thread: Is it possible to use JNLP service from a standard java application ?

Welcome, Guest Help
Login Login
Guest Settings Guest Settings
This question is not answered. Helpful answers available: 2. Correct answers available: 1.

Reply to this Thread Reply to this Thread Search Forum Search Forum Back to Thread List Back to Thread List

Permlink Replies: 2 - Last Post: Oct 7, 2008 4:48 PM by: chukmunnlee Threads: [ Previous | Next ]
faureb

Posts: 7
Is it possible to use JNLP service from a standard java application ?
Posted: Oct 7, 2008 6:02 AM
 
  Click to reply to this thread Reply

Hi,

I'd like to launch a JNLP application from a standard desktop application not started by the Java Web Start engine.

Is it possible or does the launcher application must necessary be instanciated by JWS ?

I get "javax.jnlp.UnavailableServiceException: uninitialized" when calling "ServiceManager.lookup("javax.jnlp.BasicService");"

Can I "initialize" the ServiceManager by myself or is it definitively forbidden ?

Thank you for answers..
Bernard

mac_systems

Posts: 43
Re: Is it possible to use JNLP service from a standard java application ?
Posted: Oct 7, 2008 8:04 AM   in response to: faureb
 
  Click to reply to this thread Reply

There must be a way to do it as Netbeans can do it.

chukmunnlee

Posts: 18
Re: Is it possible to use JNLP service from a standard java application ?
Posted: Oct 7, 2008 4:48 PM   in response to: faureb
 
  Click to reply to this thread Reply

Hi

the only way you can initialize ServiceManager is to provide a ServiceManagerStub implementation or you will have to locate Sun's implementation or opensource and then set it to ServiceManager.

HTH

Regards
Chuk




 XML java.net RSS