File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Servlets and the fly likes inter servlet communications Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of EJB 3 in Action this week in the EJB and other Java EE Technologies forum!
JavaRanch » Java Forums » Java » Servlets
Bookmark "inter servlet communications" Watch "inter servlet communications" New topic
Author

inter servlet communications

Jeff Gaer
Ranch Hand

Joined: Jun 04, 2001
Posts: 99
I am working on an xml over http application that is not quite web services. I would like to be able to route request to servlets that are running within the same application context without sending them all the way through the web server in a container independant fashion ( if possible, container is websphere 4.x ); I can use the dispatcher on the front controller but for internal request the request parameters vary greatly and responses from one servlet code need to be processed before the next call. I deally I would like to be able to instantiate a request and response object, set the protocal headers and parameters and then use the dispatcher, but it doesn't look like this is an option. I was wondering what type of techniques can be imployed here, or if opening a socket/connection to the servlets uri is the only option.


Sun Certified Java Programmer Java 2<P>Jeff Gaer
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: inter servlet communications
 
Similar Threads
Forwarding to a URL outside the container
Front controller and DAO, design question!
get servlet uri in init
web server or container inside Weblogic
Call a number of servlets within the same session