IT Community - Software Programming, Web Development and Technical Support

Why should we go for interservlet communication in J2EE?

This is a discussion on Why should we go for interservlet communication in J2EE? within the Java Programming forums, part of the Software Development category; Why should we go for interservlet communication in J2EE?...


Go Back   IT Community - Software Programming, Web Development and Technical Support > Software Development > Java Programming

Register FAQ Members List Calendar Mark Forums Read
  #1 (permalink)  
Old 07-25-2007, 11:31 PM
mobilegeek mobilegeek is offline
D-Web Analyst
 
Join Date: Jun 2007
Posts: 205
mobilegeek is on a distinguished road
Question Why should we go for interservlet communication in J2EE?

Why should we go for interservlet communication in J2EE?
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Sponsored Links
  #2 (permalink)  
Old 07-25-2007, 11:33 PM
oxygen oxygen is offline
D-Web Architect
 
Join Date: Jun 2007
Posts: 633
oxygen is on a distinguished road
Default Re: Why should we go for interservlet communication in J2EE?

Servlets running together in the same server communicate with each other in several ways. The three major reasons to use interservlet communication are:

a) Direct servlet manipulation - allows gaining access to the other currently loaded servlets and performing certain tasks (through the ServletContext object)

b) Servlet reuse - allows the servlet to reuse the public methods of another servlet.

c) Servlet collaboration - requires to communicate with each other by sharing specific information (through method invocation)
Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to use hibernate in Struts J2ee application? kingmaker Java Programming 3 04-12-2008 04:16 AM
Java/J2EE interview Questions Venkat Interview Questions & Answers and Tips 40 04-06-2008 09:42 PM
Windows Communication Foundation prasannavigneshr Technology BUZZzzzzz 34 08-31-2007 06:23 AM
.Net Vs J2EE which is best for Web Application in all aspects Venkat ASP and ASP.NET Programming 13 08-22-2007 05:10 AM
Add and configure Application server in Eclipse (Plugin:Myeclipse) J2EE Editor kingmaker Java Programming 0 07-15-2007 11:54 PM


All times are GMT -7. The time now is 11:22 PM.


Copyright ©2004 - 2007, DiscussWeb. All Rights Reserved.

SEO by vBSEO 3.0.0