Rupesh Choubey wrote:

> I have a design problem, around creating screen factories using JSPs, which
> I am trying to solve.....
>
> Goals:
>
> *       Design a screen factory which is scalable (easy to produce 10
> screens or 500 screens)
> *       Allow look and feel of screens to be changed globally with changes
> to as few places as possible
> (Note: we follow Model 2 in which the HTML interacts with servlets which
> interact with EJBs and then redirect to the appropriate JSP page which have
> HTML tags and useBean tags and minimal (none?) Java code....)
>

I haven't yet had to deal with 500-screen applications (thank goodness), but I can
sympathize with your concern.  I also use the "model 2" design approach in my
current apps, pretty much as outlined in your "Solution 1".

One thought, though -- in your solution 2 approach, there seems to be almost no
value add from having JSP in the mix.  Wouldn't it be easier to just write your
apps in pure servlets in this case?  (If so, there are libraries around that can
construct DOM-style object graphs that then know how to render themselves as
HTML).

Craig McClanahan

===========================================================================
To unsubscribe: mailto [EMAIL PROTECTED] with body: "signoff JSP-INTEREST".
FAQs on JSP can be found at:
 http://java.sun.com/products/jsp/faq.html
 http://www.esperanto.org.nz/jsp/jspfaq.html

Reply via email to