Dom4j is a library for representing and manipulating XML as Java objects. It is not
generally associated with creating "database-driven web applications", though there isn't
anything keeping you from using it in such an application. I don't think there are
tutorials specifically about using dom4j in a web-app... it's a general purpose xml library.
I'm assuming that your friend is referring to using dom4j to create the xhtml pages the
web-app outputs. I actually did that for a school project myself. You would need to create
some classes that build up the page and then write the xml into the servlet response's
output stream. I had an xhtml template that I kept in memory and on a page request, the
appropriate Elements and Attributes were added to the template and it was written to the
response.
Or your friend may simply be talking about using dom4j to pass stuff from a database
layer, or to read configuration files.
In any case, there are a lot of ways dom4j can be used. I'm afraid you'll need to make
those decisions yourself. You might start by asking your friend exactly what he meant.
There's also some documentation on the dom4j site.
b
Eman Nollase wrote:
Please help me how to use dom4j in web application i am new to this
thing. Im using jsp to my project in school but someone
tells me that dom4j is a very good tool in developing a database drive
web application.Thank You.
-------------------------------------------------------
SF.Net email is sponsored by: Discover Easy Linux Migration Strategies
from IBM. Find simple to follow Roadmaps, straightforward articles,
informative Webcasts and more! Get everything you need to get up to
speed, fast. http://ads.osdn.com/?ad_id=7477&alloc_id=16492&op=click
_______________________________________________
dom4j-user mailing list
dom4j-user@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/dom4j-user