Win a copy of Modern JavaScript for the Impatient this week in the Server-Side JavaScript and NodeJS forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Ron McLeod
  • Paul Clapham
  • Bear Bibeault
  • Junilu Lacar
Sheriffs:
  • Jeanne Boyarsky
  • Tim Cooke
  • Henry Wong
Saloon Keepers:
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • salvin francis
  • Frits Walraven
Bartenders:
  • Scott Selikoff
  • Piet Souris
  • Carey Brown

servlet send data

 
Ranch Hand
Posts: 204
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Does anyone have any idea on how to do the following.
Send a bunch of data to another server at once , after the first result is received the second one is send, when the second result is received the third is send and so on and so forth. I am implementing this in servlets using sockets and threads. Actually a user click on a few checkboxes on a page, the page send to a servlet with all the checked values and the servlet then send the values to the server. I hope this is not complicating and impossible. I appreciate any example codes. Thanks
 
Ranch Hand
Posts: 196
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
When I'm correct:
You want to exchange information between two web applications on two differente web servers.
Otherwise the solution is more easy. When you don't want to use EJB's, and introduce an application server instead of a web server, you can use the following project : http://jakarta.apache.org/commons/httpclient/
I've used it several years ago and it is very straightforward.
When you experience any problems, just ask.
 
get schwifty. tiny ad:
Building a Better World in your Backyard by Paul Wheaton and Shawn Klassen-Koop
https://coderanch.com/wiki/718759/books/Building-World-Backyard-Paul-Wheaton
    Bookmark Topic Watch Topic
  • New Topic