enterprise_java_beans thread: Getting records and sending them via XML - use servlet and jdom
EJB is not an requirement, it depends on your usage and whether have an ejb
container. As far as your problem just a servlet with jdbc connection will
do.
grab the recordset and convert it into an "xml element" and transmit it, the
wasy way to convert into xml is using the JDOM rather than SAX and DOM. The
details are available at the site www.jdom.org (look for documentation)
From: "Cary Pruitt" <cpruitt@s...>
Reply-To: "Enterprise Java Beans" <enterprise_java_beans@p...>
To: "Enterprise Java Beans" <enterprise_java_beans@p...>
Subject: [enterprise_java_beans] Getting records and sending them via XML
Date: Wed, 30 May 2001 14:45:54
I am fairly new to Java however I am faced with the following task to
accomplish.
I need to create something that will grab records from a database and
transmit them via XML. Is an EJB the way to go? Which book would be my
best reference?
Any advice on resources or approach is appreciated as this is beyond my
current skill set.
Thanks.