I am updating an xml file with data from a web form. I simply add elements onto the
end.
What do I worry about where concurrency is concerned?
1 Do I read the xml file once when I initialize my servlet using JDOM, then
synchronize each time I write it back to disk?
2 Or, should I read and write for every update?
By the way, thanks to the authors for JDOM ( http://www.jdom.org ). Its just what I
needed.
Neil
___________________________________________________________________________
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