|
Replies:
2
-
Last Post:
Oct 7, 2008 4:48 PM
by: chukmunnlee
|
Threads:
[
Previous
|
Next
]
|
|
|
|
|
|
Is it possible to use JNLP service from a standard java application ?
Posted:
Oct 7, 2008 6:02 AM
|
|
|
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
|
|
|
|
|
|
|
Re: Is it possible to use JNLP service from a standard java application ?
Posted:
Oct 7, 2008 8:04 AM
in response to: faureb
|
|
|
There must be a way to do it as Netbeans can do it.
|
|
|
|
|
|
|
|
Re: Is it possible to use JNLP service from a standard java application ?
Posted:
Oct 7, 2008 4:48 PM
in response to: faureb
|
|
|
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
|
|
|
|
|