将deltaspike与vraptor集成

Integrating deltaspike with vraptor

I have one project work with Vraptor 4 and i want to use deltaspike jpa and data modules to perform some operations. I need to deploy the application in tomcat 7+. Is it possible to integrate vraptor with deltaspike ?

Also i do not want to use vraptor-jpa or vraptor-hibernate plugin.

Yes it's possible, i don't know in TomCat but i use it with Wildfly and works just fine, the only must is to use VRaptor 4, i already tested the following modules with success:

  • Core
  • Bean Validation
  • Data
  • JPA
  • Servlet
  • Test-Control
  • Security

In their site it all the docs you need.

Delta Skipike Documentation

The exemples below isn't using VRaptor, but can be applied since its CDI extension.

Examples