I think we should just use Digester directly. Betwixt looks
interesting but I don't see why we need it. I wrote some digester code
the handle mbean description files in about 20 minutes (without knowing
anything about Digester).
-dain
On Monday, September 1, 2003, at 08:00 AM, James Strachan wrote:
+1
with a minor change. If we're gonna be hand-coding POJOs ourselves
then there's less reason to use XMLBeans - so I suggest we use
something like betwixt rather than XMLBeans to do the parsing /
converting to XML. Thats probably gonna be easier to use and have a
smaller dependencies in terms of jars. Then we just need to follow
some simple naming conventions in the POJOs to get the XML marshalling
for free. e.g.
public class WebApp {
public void addServlet() {
...
}
public List getServlets() {
...
}
}
public class Servlet {
public String getName() {..}
public void setName(String name) {...}
}