Aurelio Sanchiz Callejon wrote:

>         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.
>
>         Thanks

There's lots of different possible architectures, but I like to see it a bit
differently from how you wrote it:

Database:  A database. :)  Typical interface: "SELECT ...".

Middle Tier:  An RMI or CORBA server.  Typical interface: "performOperation(...) or
getDomainObject(...)".

Client: An applet, that connects via RMI/CORBA/XML-RPC, etc. Typical interface:
GUI.

Alternate Client:  Servlet, that generates HTML and manages state w/ impovershed
GUI environment (ie: web browsers)

So, I see servlets as simply another type of clients.  These servlets would connect
to the true middle tier with some distributed object protocol.  What I'm
describing, though, is just one possibility.

- Robb

___________________________________________________________________________
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

Reply via email to