Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added short description how to run the web-hibernate-client

...

This application demonstrates exposing a component as a REST resource using JAX-RS annotations and persisting the resource to a database using Hibernate and SCA declarative transactions. The sample also demonstrates how to configure application data sources. The web-hibernate-client module provides a client to access the resource using the JAX-RS Jersey client API.

Info

To run the web-hibernate-client from the commandline change to the /features/web-hibernate-client and type

mvn exec:java

(web-hibernate must be deployed first and the server must be running in order to run the web-hibernate-client)

For more on using Hibernate and JPA with Fabric3, see Data Access.

...