What i have learned is from listening in this list.
Model 2 is setting a single entrance servlet to all your JSPs. that servlet
performs common tasks like ID user and secuity tests and then forwards the
request to the appropriate JSP/servlet, that JSP/Servlet jenerates the
HTML/content that the user sees

Model 3 adds another layer of XML. There are two variations:
JSP/Servlet generates XML, that XML gows through XSLT (usually in the
server) to what the user sees.
The other approach (and the one we are testing in our company) is XML that
are trasformed through XSLT to JSP pages, those JSP pages generate the
HTML/content that the user sees.

Both variations added a level of seperation between the UI design and the
java code.
The 1st variation has the added advantage of being more client responsive.
This means you can generate using the same JSP and XML different views
according to the user platform: browser, WAP device...
The 2nd variation has the advantage of removing the XSLT overhead from the
runtime. (and to my opinion it can also provide what the 1st variation
provides, but with more jenerated JSPs)

lee

Lee Elenbaas
ViryaNet
[EMAIL PROTECTED]

-----Original Message-----
From: A mailing list about Java Server Pages specification and reference
[mailto:[EMAIL PROTECTED]]On Behalf Of Germ�n L�pez Castro
Sent: Tuesday, May 09, 2000 11:09 AM
To: [EMAIL PROTECTED]
Subject: Model 2 & 3 Architecture


Hi-u-all.

I think I've got a black hole in my acknoledgement, but... could
anyone explain me what architecture 2 & 3 are exactly and where can I
get further information?

Thanxalot.








Consigue tu direcci�n de email gratis y permanente en http://WWW.LETTERA.NET
========================= 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=P
http://www.jguru.com/jguru/faq/faqpage.jsp?name=rvlets

===========================================================================
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