Sunday, January 28, 2007

Convention over configuration in Java web apps

Diego Pires Plentz sent me an update on a project that he works on: VRaptor that uses Java 5 annotations to reduce the amount of configuration required. An example:
@Logic(parameters={"login","password"})
public String execute(String login, String password) {
allows direct URL access to class methods, creation of POJOs, etc. This looks cool for Java developers, but for me I have moved on to Ruby on Rails for new web application development (unless a customer asks for J2EE :-)

No comments: