X

Geertjan's Blog

  • November 12, 2014

Tools for MVC in Java EE 8 (Part 2)

Geertjan Wielenga
Product Manager

What's happened since part 1 of the blog series on tools for MVC in Java EE 8? Well, I sat down quite a bit with Manfred Riem, one of the spec leads for MVC in Java EE 8, during Devoxx.

One of the outcomes is the below (click to enlarge the image), i.e., a logical view (comparable to NetBeans IDE support for RESTful Web Services) for the methods in the controlers of MVC applications:

Above, you see the project logical view has a new node named "MVC Methods", containing all Java classes that have at least one @RequestMapping annotation, which can be expanded to show each of those methods. When new methods are added to the editor, or removed from it, the logical view is automatically updated. Double-click on a node and the Java class is opened with the applicable method highlighted.

Similar to the RESTful Web Services logical view, the above enables you to very quickly see the entry points into the application which will, eventually once those things are figured our more, enable them to be tested, similar to RESTful Web Service methods.

Join the discussion

Comments ( 1 )
  • guest Thursday, November 13, 2014

    Reporting a bug! There is a typo in the project's structure- "MCV Methods" :D


Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.