Aurelio Sanchiz Callejon <[EMAIL PROTECTED]>:
> Can be said that in a web-based application the browser is the
>client, a database server the server AND the servlets (in web server) the
>middleware (second tier)?
> It's a simple question but I need to clarify it for theorical
purposes.
I'm not an expert, but I would say that the client is made up of the web
browser *and* any HTML and code that presents HTML, whether static, dynamic
or both. My architecture is broken up this way:
Tier 1 (presentation): browser, static HTML, HTML templates,
HTML-generating objects (for lists and tables), view objects (displays
business objects)
Tier 2 (business logic): business objects, process objects
Tier 3 (data): database objects, database
(It looks like a lot of object instantiation is going on, but a lot of it is
actually made up of static methods. There are still more objects being
created than I'd like, but I'm working on minimizing object creation. Nic
Ferrier had some ideas I hadn't thought of in his recently-announced
framework <http://www.tapsellferrier.co.uk/app-framework.html>.)
Perhaps someone can recommend a good book on three-tier architecture?
Erik
___________________________________________________________________________
To unsubscribe, send email to [EMAIL PROTECTED] and include in the body
of the message "signoff SERVLET-INTEREST".
Archives: http://archives.java.sun.com/archives/servlet-interest.html
Resources: http://java.sun.com/products/servlet/external-resources.html
LISTSERV Help: http://www.lsoft.com/manuals/user/user.html