• Post Reply Bookmark Topic Watch Topic
  • New Topic

uploading the file from one servlet to another one?

 
Shanmugam nagaraj
Ranch Hand
Posts: 76
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi
I am trying to resolve one issue like..

Actually I need to send a set of data like array or some groups of data, thru the servlets.

eg:

emp{
name=sam,
id=1001,
dept=Infotech
}

personal{
phone=9841763772
credit no=999999999999
personelno=3131313131
}

emp and personal is the two group which have the corresponding values like name, phone,credit,personelno..

Ineed to send this thru the servlets to another servelts(may be running on differnet machine or different environtment)

what all are the possible way?


I apologize for the poor english...

Thanks in advance

I like when you call me as Shaan....
 
Ben Souther
Sheriff
Posts: 13411
Firefox Browser Redhat VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
One popular way is to use web services.
Engines like Apache Axis make this pretty easy to do.

Since you've got Java on both ends you could also look into RMI or Java Messaging.

You might also be able to leverage a shared database.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!