Hi

    I have a situation here, please help me with pointers and comments on this.

    Well, if I use JSP files for displaying data (presentation tier only) and JSP  /
servlets in the ( interface to the businesslogic layer) next layer which talks to my
beans, I have two situations,
    1. Where there is a one to one mapping between the presentation and business
interface JSP's.
    2. Where there are many presentation JSP's but only one business interface JSP that
redirects input to appropriate business classes in the backend and then redirects
output to another JSP page.

    Faced with these two situations what do you think would be a better architecture.

    Well in my view I think that a one to one mapping would be better. The reason being
a JSP compiles into a servlet and loads one instance in memory so this one instance
handles all the request in the business interface layer in case we go in for a many to
one mapping, which will surely cause a performance problem.

    Well please feel free to correct me if I am wrong on this one...:)

Many thanks

Rajesh Nagarjunan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
Some relevant FAQs on JSP/Servlets can be found at:

 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=JSP
 http://www.jguru.com/jguru/faq/faqpage.jsp?name=Servlets

Reply via email to