What's sad is that I have no idea if this is a joke or not.
What's sad is that I have no idea if this is a joke or not.
When Polar Rose still used XML-RPC we rolled our own framework that integrates well with Spring. You basically expose your POJO and be done with it ...
EDIT: OK, so instead of Java, that should read "to know if enterprisey Java frameworks are a good fit for their problem." The irony is, that I just was IM'ing a friend about how this isn't the fault of Java the Language, but the "enterprise architecture" community that write Java frameworks like this.
After 8 years of Java, I personally found it really refreshing to build stuff in Python and Ruby.
Document doc = DocumentBuilderFactory.newInstance().newDocumentBuilder().parse("test.xml");
That's not even a framework; it's just what's in the standard library for parsing XML.I wonder if they ever thought of providing two interfaces.
1. The first is the common case.
Document doc = new DocumentBuilder().parse("test.xml");
2. The second is more cumbersome but provides options. Document doc = DocumentBuilderFactory.newInstance(opts).newDocumentBuilder(opts2).parse("test.xml"); Document doc = DocumentBuilder.parse("test.xml");
no need to manually create an instance of the builder.