Meaningless Drivel is fun!*
The moose likes JNLP and Web Start and the fly likes Using ServiceManager Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Using ServiceManager" Watch "Using ServiceManager" New topic
Author

Using ServiceManager

Pawe� Morgan
Greenhorn

Joined: Mar 29, 2005
Posts: 14
I use the following line to get ExtensionInstallerService.

ExtensionInstallerService service = (ExtensionInstallerService) ServiceManager.lookup("javax.jnlp.ExtensionInstallerService");

After installation is successfull I simply wont to extract jar in user directory. My application has allPermission.

When I call ServiceManager for each service it gives me "UnavailableServiceException".

What am I missing???
Please help,

pawel
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Using ServiceManager