You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@karaf.apache.org by jb...@apache.org on 2013/12/20 13:33:00 UTC
[1/2] git commit: [KARAF-2549] Add pax-cdi features repository
Updated Branches:
refs/heads/master d61e64667 -> 0e68cf856
[KARAF-2549] Add pax-cdi features repository
Project: http://git-wip-us.apache.org/repos/asf/karaf/repo
Commit: http://git-wip-us.apache.org/repos/asf/karaf/commit/435aae3d
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/435aae3d
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/435aae3d
Branch: refs/heads/master
Commit: 435aae3db46314e14744041c49ecd5c98413ce3e
Parents: d61e646
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Fri Dec 20 13:31:04 2013 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Fri Dec 20 13:31:04 2013 +0100
----------------------------------------------------------------------
.../resources/resources/etc/org.apache.karaf.features.repos.cfg | 1 +
1 file changed, 1 insertion(+)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/435aae3d/assemblies/features/framework/src/main/resources/resources/etc/org.apache.karaf.features.repos.cfg
----------------------------------------------------------------------
diff --git a/assemblies/features/framework/src/main/resources/resources/etc/org.apache.karaf.features.repos.cfg b/assemblies/features/framework/src/main/resources/resources/etc/org.apache.karaf.features.repos.cfg
index a507ee4..f449c92 100644
--- a/assemblies/features/framework/src/main/resources/resources/etc/org.apache.karaf.features.repos.cfg
+++ b/assemblies/features/framework/src/main/resources/resources/etc/org.apache.karaf.features.repos.cfg
@@ -32,3 +32,4 @@ jclouds = org.jclouds.karaf:jclouds-karaf:xml:features:(0,]
openejb = org.apache.openejb:openejb-feature:xml:features:(0,]
wicket = org.ops4j.pax.wicket:features:xml:features:(0,]
hawtio = io.hawt:hawtio-karaf:xml:features:(0,]
+pax-cdi = org.ops4j.pax.cdi:pax-cdi-features:xml:features:(0,]
[2/2] git commit: [KARAF-2511] Update ejb page of the user guide
Posted by jb...@apache.org.
[KARAF-2511] Update ejb page of 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/0e68cf85
Tree: http://git-wip-us.apache.org/repos/asf/karaf/tree/0e68cf85
Diff: http://git-wip-us.apache.org/repos/asf/karaf/diff/0e68cf85
Branch: refs/heads/master
Commit: 0e68cf856b0d2138b49145e9aa69111e5fdfc638
Parents: 435aae3
Author: Jean-Baptiste Onofré <jb...@apache.org>
Authored: Fri Dec 20 13:31:35 2013 +0100
Committer: Jean-Baptiste Onofré <jb...@apache.org>
Committed: Fri Dec 20 13:31:35 2013 +0100
----------------------------------------------------------------------
manual/src/main/webapp/users-guide/ejb.conf | 54 ++++++++++++++++++++++--
1 file changed, 50 insertions(+), 4 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/karaf/blob/0e68cf85/manual/src/main/webapp/users-guide/ejb.conf
----------------------------------------------------------------------
diff --git a/manual/src/main/webapp/users-guide/ejb.conf b/manual/src/main/webapp/users-guide/ejb.conf
index 710485b..2ea6eae 100644
--- a/manual/src/main/webapp/users-guide/ejb.conf
+++ b/manual/src/main/webapp/users-guide/ejb.conf
@@ -1,10 +1,56 @@
h1. EJB
+This section describes how to add support of EJB in Apache Karaf. It doesn't describe how to develop EJB applications in
+Apache Karaf. See the developer guide for details about that.
+
+h2. Apache OpenEJB
+
Apache Karaf doesn't provide "native" support of EJB (Enterprise Java Beans).
-However, a project powered by Apache Karaf started at Apache OpenEJB: Apache KarafEE.
+Apache OpenEJB provides EJB support for Apache Karaf by providing a set of features.
+
+To install and enable EJB support, you can do:
+
+{code}
+karaf@root()> feature:repo-add openejb
+{code}
+
+By default, the {{feature:repo-add openejb}} command will install the latest OpenEJB version available.
+
+You can specify a target version using the {{version}} argument:
+
+{code}
+karaf@root()> feature:repo-add openejb 4.5.2
+{code}
+
+Now, you have a set of new OpenEJB features available in your Apache Karaf container:
+
+{code}
+karaf@root()> la
+...
+openejb-core | 4.5.2 | | openejb-features |
+openejb-server | 4.5.2 | | openejb-features |
+openejb-cxf | 4.5.2 | | openejb-features |
+openejb-rest | 4.5.2 | | openejb-features |
+openejb-soap | 4.5.2 | | openejb-features |
+{code}
+
+You can add EJB support installing the {{openejb-core}} feature:
+
+{code}
+karaf@root()> feature:install openejb-core
+{code}
+
+{warning}
+Full support of Apache OpenEJB may required some tuning on the {{etc/jre.properties}} file.
+{warning}
+
+h2. Apache KarafEE
+
+A custom distribution of Apache Karaf embedding OpenEJB is available in the Apache TomEE project.
+
+The name of this custom distribution is KarafEE:
-It's the support of Apache OpenEJB in a custom distribution of Apache Karaf.
+[https://svn.apache.org/repos/asf/tomee/karafee/]
-The Apache KarafEE project is now "deprecated". It will be replaced by a ejb feature directly in the next
-Apache Karaf release.
\ No newline at end of file
+However, this project is now "deprecated", and all resources from KarafEE will move directly in Apache Karaf soon.
\ No newline at end of file