Win a copy of The Java Performance Companion this week in the Performance forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Communicate between Swing and web application

 
Tmmet Johnson
Ranch Hand
Posts: 56
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
Posts: 13064
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic