Meaningless Drivel is fun!
The moose likes JNLP and Web Start and the fly likes Access Java Web Start using Servlets 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 "Access Java Web Start using Servlets" Watch "Access Java Web Start using Servlets" New topic

Access Java Web Start using Servlets

Micale Raj
Ranch Hand

Joined: Jul 01, 2009
Posts: 30

I'm new to Java Web Start and JNLP. I want to access Web Start application using Servlet. Actually I
want to pass data from servlet to web start application for printing. The data contains in a ArrayList.
Since I'm new to this technology i don't have idea , how to start.
Please help me out in this.

Thanks in advance.
Ulf Dittmer

Joined: Mar 22, 2005
Posts: 42958
The desktop app could connect to the server using HTTP. While it's possible to transfer actual Java objects in binary serialized form, in practice that's hard because serialization doesn't work well (or at all) between different JVM versions. Transferring a text version of the data (maybe obtained by using the java.beans.XMLEncoder class) would be simpler. See this example for how to send a POST request to an HTTP server and read its response.
I agree. Here's the link:
subject: Access Java Web Start using Servlets
It's not a secret anymore!