Over a million developers have joined DZone.
Silver Partner

My Top 3 "No XML" Frameworks

· Java Zone

The Java Zone is brought to you by Stormpath—offering a pre-built identity API for developers. Easily build powerful user management, authentication, and authorization into your web and mobile applications. Check out this tutorial to build a simple web app with Spring Boot and Spring Security in 15 minutes.

I just reviewed my past projects and noticed that for about two years I've almost completely managed to get rid of XML configuration and deployment descriptors. It really works well, is efficient to develop, maintain, and test. I especially appreciated working with:
  1. Wicket (Apache's Web Framework, from conceptual point of view similar to JSF)
  2. Google's Guice  (I like especially the fluent configuration and only 22 pages of documentation)
  3. EJB 3 - No XML and just works.  EJB 3.1 would be even better.
  4. [JPA] it rocks but comes with very small XML-configuration - so it should be out of scope here.

Especially the integration between EJB 3 and Wicket and EJB 3 and Google's Guice are superb (I will write some more about that soon). I like JSF as well, however the amount of XML configuration is still huge. JSF was designed from the tool perspective, so it isn't a problem with a good tool (like NetBeans IDE or JDeveloper). ...already looking forward to JSF 2.0 :-).

From http://www.adam-bien.com/roller/abien/

The Java Zone is brought to you by Stormpath—offering a pre-built, streamlined user management API for building web and mobile applications. Learn how token authentication with JWTs (JSON Web Tokens) helps secure websites and avoids the pitfalls of using cookies and sessions.

Topics:

{{ parent.title || parent.header.title}}

{{ parent.tldr }}

{{ parent.urlSource.name }}