wood burning stoves
The moose likes Servlets and the fly likes Servlets in different containers Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


JavaRanch » Java Forums » Java » Servlets
Bookmark "Servlets in different containers" Watch "Servlets in different containers" New topic
Author

Servlets in different containers

Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
suppose there are two servlets s1 and s2,both in different containers.Now, i want to take some value in s1 which i have set in s2.How can i do that?
David O'Meara
Rancher

Joined: Mar 06, 2001
Posts: 13459

You should look at the rest of JEE and possibly further. EJBs, JMS, JINI, web services and middle ware can all provide mechanisms to communicate between layers, depending on your needs.
Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
I am not talking about talking across layers..both servlets are in same layer only
Ben Souther
Sheriff

Joined: Dec 11, 2004
Posts: 13410

The servlet spec does not provide any methods for cross-container communication. The other technologies, mentioned by David, do.

Without knowing a lot more about your project, we can't tell you which technology is right for you.


Java API J2EE API Servlet Spec JSP Spec How to ask a question... Simple Servlet Examples jsonf
Raj Kumar Bindal
Ranch Hand

Joined: Apr 15, 2006
Posts: 418
thanks
 
I’ve looked at a lot of different solutions, and in my humble opinion Aspose is the way to go. Here’s the link: http://aspose.com
 
subject: Servlets in different containers
 
It's not a secret anymore!