aspose file tools*
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


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » JNLP and Web Start
Bookmark "Access Java Web Start using Servlets" Watch "Access Java Web Start using Servlets" New topic
Author

Access Java Web Start using Servlets

Micale Raj
Ranch Hand

Joined: Jul 01, 2009
Posts: 30

Hi,
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
Marshal

Joined: Mar 22, 2005
Posts: 39535
    
  27
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.


Ping & DNS - updated with new look and Ping home screen widget
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Access Java Web Start using Servlets
 
Similar Threads
Web Services Application Examples
Help with MVC implementation
Java & MS Access
symbolic link directory within webapp directory
Long Polling