Which Web2.0 environment integrates better with JPA2?

My choice between

  • Tapestry 5
  • Vaadin
  • Jsf2

--- start EDIT 2010-05-13 18:04 -

  • Spring MVC (don't know why I forgot to mention this)

--- stop EDIT 2010-05-13 18:04 -

I like Vaadin the most because it seems to come with all the β€œlook and feel” features out of the box, I wonder if anyone has experience with Vaadin and JPA2, preferably EclipseLink.

JPA2 is absolutely essential; Web2.0 must integrate with it.

Thanks Err

-

+4
source share
5 answers

JSF 2.0 and Wicket 1.4 are first-class candidates: they simply work with JPA 2.0 and provide support for the Bean Validation API (JSR 303), which, in my opinion, is a very important part of the question. Take a look at this blog post for more on this.

In fairness, it should be noted that Tapestry 5.2 (not sure if it was released) will also provide integration with the JSR 303 as detailed here but I'm not in love with the Tapestry.

As for Vaadin, it seems that everything is more complicated than with a β€œregular” web card and support for JPA 2.0 JPAContainer has not yet been added ( Ticket # 4298 ).

I would go for JSF 2.0 or Wicket.

+3
source

JPA2, which is part of J2EE 6, is naturally suited to other components: EJB 3.1, JSF 2, CDI (Web Beans), etc.

If you are considering other frameworks, you need to understand what features and benefits you will get by replacing the J2EE 6 components.

+1
source

Take a look at this blog post that describes how to apply JPA-based persistence to Vaadin apps. It uses JPA2 provided by EclipseLink.

+1
source

Try OpenXava , because in OpenXava, JPA2 objects are the core of your application. By writing only JPA entities, you get a fully functional AJAX application.

+1
source

I use Vaadin with their Spring integration in combination with EclipseLink and it works very well.

0
source

Source: https://habr.com/ru/post/1309242/


All Articles