Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

browser to java application communication

 
Andras Nemeth
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
I have to make browser to java application communication and I thought I could use applet to servlet and servlet to application communication.
There is a client application that opens the default browser and loa d a page into via a CGI a application. The user selects some value from the HTML page and these values have to be sent to the java application. (There is several hundred thousands users.)
Do you have any idea or example how to do it?
Regards,
Andras
 
William Brogden
Author and all-around good cowpoke
Rancher
Posts: 13061
6
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That is certainly very do-able -
This sounds like a typical 3-tier application with servlets handling the interaction with the user and sending the end result to another application. If the load is huge you might have to go to a J2EE server but that may not be necessary.
Just about any servlets book (mine included) will have examples of the various parts.
How does the final Java application communicate with the outside world at present?
Bill
------------------
author of:
 
Andras Nemeth
Ranch Hand
Posts: 80
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Originally posted by William Brogden:
That is certainly very do-able -
...
How does the final Java application communicate with the outside world at present?
Bill

Thank you Bill!
Actually, I do not know the actual situation. I just joined the project to give some technical help. They used an internal browser, implemented on JEditorPane, but it cause some problem at complex pages, so they want to use external browsers.
Br,
Andras
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic