Updated Branches: refs/heads/master cc7e2af53 -> 2f2d89167
[KARAF-2511] Add jpa page in the user guide Project: http://git-wip-us.apache.org/repos/asf/karaf/repo Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/2f2d8916 Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/2f2d8916 Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/2f2d8916 Branch: refs/heads/master Commit: 2f2d89167f14dfbfdcd2947160dc48cdeb233dbb Parents: cc7e2af Author: Jean-Baptiste Onofré <[email protected]> Authored: Thu Dec 19 21:16:29 2013 +0100 Committer: Jean-Baptiste Onofré <[email protected]> Committed: Thu Dec 19 21:16:29 2013 +0100 ---------------------------------------------------------------------- manual/src/main/webapp/_navigation.conf | 2 +- manual/src/main/webapp/manual.conf | 1 + manual/src/main/webapp/users-guide/index.conf | 2 +- manual/src/main/webapp/users-guide/jpa.conf | 22 ++++++++++++++++++++++ 4 files changed, 25 insertions(+), 2 deletions(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/karaf/blob/2f2d8916/manual/src/main/webapp/_navigation.conf ---------------------------------------------------------------------- diff --git a/manual/src/main/webapp/_navigation.conf b/manual/src/main/webapp/_navigation.conf index feecd5d..02670d6 100644 --- a/manual/src/main/webapp/_navigation.conf +++ b/manual/src/main/webapp/_navigation.conf @@ -26,7 +26,7 @@ h3. [Users Guide|/users-guide/index] -- [Transaction (JTA)|/users-guide/jta] -- [DataSource (JDBC)|/users-guide/jdbc] -- [MOM (JMS)|/users-guide/jms] --- Persistence (JPA) +-- [Persistence (JPA)|/users-guide/jpa] -- OpenEJB -- CDI -- [HA/failover and cluster|/users-guide/failover] http://git-wip-us.apache.org/repos/asf/karaf/blob/2f2d8916/manual/src/main/webapp/manual.conf ---------------------------------------------------------------------- diff --git a/manual/src/main/webapp/manual.conf b/manual/src/main/webapp/manual.conf index 0aef238..3b76fc7 100644 --- a/manual/src/main/webapp/manual.conf +++ b/manual/src/main/webapp/manual.conf @@ -55,6 +55,7 @@ h1. Users Guide {include:users-guide/jta} {include:users-guide/jdbc} {include:users-guide/jms} +{include:users-guide/jpa} {include:users-guide/failover} {include:users-guide/monitoring} {include:users-guide/webconsole} http://git-wip-us.apache.org/repos/asf/karaf/blob/2f2d8916/manual/src/main/webapp/users-guide/index.conf ---------------------------------------------------------------------- diff --git a/manual/src/main/webapp/users-guide/index.conf b/manual/src/main/webapp/users-guide/index.conf index b318be6..40635d8 100644 --- a/manual/src/main/webapp/users-guide/index.conf +++ b/manual/src/main/webapp/users-guide/index.conf @@ -21,7 +21,7 @@ h1. Users Guide ** [Transaction (JTA)|jta] ** [DataSource (JDBC)|jdbc] ** [MOM (JMS)|jms] -** Persistence (JPA) +** [Persistence (JPA)|jpa] ** OpenEJB ** CDI ** [HA/failover and cluster|failover] http://git-wip-us.apache.org/repos/asf/karaf/blob/2f2d8916/manual/src/main/webapp/users-guide/jpa.conf ---------------------------------------------------------------------- diff --git a/manual/src/main/webapp/users-guide/jpa.conf b/manual/src/main/webapp/users-guide/jpa.conf new file mode 100644 index 0000000..63bb833 --- /dev/null +++ b/manual/src/main/webapp/users-guide/jpa.conf @@ -0,0 +1,22 @@ +h1. Persistence (JPA) + +Apache Karaf provides JPA persistence providers (such as Apache OpenJPA) to be easy to use (in a OSGi way) and provide +container managed persistence for applications (using Blueprint). + +Apache Karaf embeds Aries JPA, providing a very easy way to develop applications that use JPA persistence. + +See the developer guide for details about developing applications that use JPA. + +h2. Persistence engine features + +Apache Karaf provides a set of ready to use persistence engine features: + +* Apache OpenJPA. The {{openjpa}} feature installs the {{jpa}} feature with the Apache OpenJPA as persistence engine: + +{code} +karaf@root()> feature:install openjpa +{code} + +* Hibernate. The {{hibernate}} feature will be available in the next Apache Karaf release. + +* EclipseLink. The {{eclipselink}} feature will be available in the next Apache Karaf release. \ No newline at end of file
