aspose file tools*
The moose likes Java in General and the fly likes Communicate between Swing and web application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Java » Java in General
Bookmark "Communicate between Swing and web application" Watch "Communicate between Swing and web application" New topic
Author

Communicate between Swing and web application

Tmmet Johnson
Ranch Hand

Joined: Nov 03, 2004
Posts: 56
Hi,
I have a question.
How can I make communication between Swing and web application?
Could anyone please let me know which java techonology can I use for this?

I don't want to use socket or Applet for this.

Thanks in advance,
William Brogden
Author and all-around good cowpoke
Rancher

Joined: Mar 22, 2000
Posts: 12781
    
    5
Any Java program can communicate with a web application using classes in the java.net package - specifically the URLConnection, HttpURLConnection and related classes.
Sockets will be used of course but all the details will be handled for you.
Do you need a single request/response cycle or do you want to emulate a user browser?
Bill
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Communicate between Swing and web application