aspose file tools
The moose likes Servlets and the fly likes Servlets in different containers Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login


Win a copy of The Mikado Method this week in the Agile and other Processes forum!
JavaRanch » Java Forums » Java » Servlets
Reply 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: 409
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: 409
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: 409
thanks
 
I agree. Here's the link: http://zeroturnaround.com/jrebel - it saves me about five hours per week
 
subject: Servlets in different containers
 
Similar Threads
please help
String concatenation
Equals and ==
String immutability
meaningfully equivalent variables