At 08:24 PM 11/4/99 +0000, you wrote:
>Hello All,
>
>With the emergence of XML as the next great thing I know that Java and XML
>together compliment each other very well.
>
>So far the advantages that I can see are in the parsers that can be produced
>in Java and ported platform independently to clients. But I'm a little
>confused as to how Servlets will fit into the grand scheme or do they? XML
>seems to rely on the Document Object Model for the client. Can the DOM be
>manipulated with a Servlet?
>
>The way that I think of XML is in a three tier architecture where there is
>a:
>1)database/mainframe (back-end)
>2)Some kind of server that runs the XML parser and serves the web server
>(middle teir)
>3)Browser (client)
>
>Could a servlet process a request from the client which accesses the info
>requested from the database/mainframe then grab an already parsed XML
>Document that contains the info then post that info to the user?
What you are describing is basically how XMLC works. It takes HTML
files, parses them and generates Java source that is then used inside of
a Servlet to recreate the Document Object Modem (DOM), alter the DOM
for any dynamic requirements of the site and then render the DOM as
HTML for sending to the browser client.
HTML is really XML following a particular DTD.
It is a perfect combination of technologies IMHO.
Tom Hjellming
Full Tilt LLC
___________________________________________________________________________
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