> With the emergence of XML as the next great thing I know that Java and XML
> together compliment each other very well.
Yep -- portable code meets portable data. :)
> 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?
Sure.. To a servlet, everything is just content. You can read XML posted
from a client and generate a DOM tree from it. You can manipulate DOM trees
and "serialize" them out the output stream as a XML file. You can do XML +
XSL processing and stream the result out the output. The sky's the limit.
Obviously it would be handy to have a set of base classes to make this easy,
but the fact is that servlets and XML are very orthagonal and complementary
technologies.
> 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?
Yep. A servlet can generate *any* kind of content stream it wants.
.duncan
___________________________________________________________________________
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