aspose file tools*
The moose likes Servlets and the fly likes Data passing from servlet to swing 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 » Servlets
Bookmark "Data passing from servlet to swing" Watch "Data passing from servlet to swing" New topic
Author

Data passing from servlet to swing

yspl india
Greenhorn

Joined: Aug 08, 2005
Posts: 8
How can get a data(/information) from server using servlet and pass it to swing.simillarly from swing to servlet. i.e in MVC architecture can i use swing or applet instead of JSP to act as View mode
Ulf Dittmer
Marshal

Joined: Mar 22, 2005
Posts: 39547
    
  27
HTTP to a servlet can be done through the HttpUrlConnection class, or Jakartas HttpClient package, if you need some extra functionality. You can serialize objects over such connection. A web services approach would work as well.

I guess technically this might still be considered an MVC approach, although it's probably closer to correct to call the server components the business/data access layer.


Ping & DNS - updated with new look and Ping home screen widget
Mark Spritzler
ranger
Sheriff

Joined: Feb 05, 2001
Posts: 17249
    
    6

"yspl india"-
Welcome to the JavaRanch! Please adjust your displayed name to meet the

JavaRanch Naming Policy.

You can change it

here.

Thanks! and welcome to the JavaRanch!

Mark


Perfect World Programming, LLC - Two Laptop Bag - Tube Organizer
How to Ask Questions the Smart Way FAQ
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Data passing from servlet to swing
 
Similar Threads
servlet to swing
Communication between a Swing Client and a Servlet via HttpURLConnection
Swing - servlet communication
swing concept
How to communicate with servlets from Swing...