We are doing similar things, reading and writing XML documents from servlets
using an oracle database for storage. Nothing too dificult. We use the xml4j
package from IBM to parse and generate XML. It can be downloaded from their
alphaWorks web site at

        http://www.alphaWorks.ibm.com/aw.nsf/home/current

We generally write support classes like XMLScopeReader or XMLBidWriter to
handle the XML aspects of our apps. Our reader classes usually return
Javabeans instantiated from the parsed XML. The XML is read in from a URL.
Our XML writers do the opposite, they usually take beans as input and
generate XML which is stored in an external file under the document root of
our web server. Beans that must be persistent are passed as parameters to DB
support classes that work with the database.

We use servlets as thin wrappers around these other classes. The servlets
marshal everything around and handle any output back to the browser.

Hope this helps.

Grant

-----Original Message-----
From: Jaison Antony [mailto:[EMAIL PROTECTED]]
Sent: Friday, March 05, 1999 10:53 AM
To: [EMAIL PROTECTED]
Subject: XML-Java Servlet bean -Database Query-XML --please help


Hi all,

I am involved in a E -Commerce project which accepts customer inputs in
xml format and java servlet bean  will extract the parameters from the
xml format and do the query against the oracle database. the queried
results from the database should be converted back to the xml format and
to be sent to the customer.

If anybody is working in similar kind of project, please share some
information to start with.

I would really appreciate if you send some sample codes/ design idea

Thanks in advance


Jaison Antony

___________________________________________________________________________
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

___________________________________________________________________________
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