just at the good moment, i stop working on it to sleep ;)

well to goal is to deploy a simple ejb module.

i had some issues with:
1) cdi: the loader was not an OSGi one but a simple ServiceLoader and as
usually it wasnt working
2) import/export was (is in fact) a mess because of the reflection
(openejb.xml + auto creation in particular)

i was not able to manage all the issues.

the todo list i have in mind:
1) i was able to deploy a very simple module but i needed to had some
imports to my "business module" (org.apache.openejb.cdi +
org.apache.core.<container kind>) -> it shouldn't be necessary
2) i think we can make it work but OpenEJB is far to be OSGi friendly
    a) start/stop of bundles (business in particular) are badly managed and
we can have already bound name even if it is not true
3) we need to export EJBs in the OSGi registry
4) and probably more i forgot now....


it could be great to have something working at least basically.

Here what i installed:

karaf@root> list
START LEVEL 100 , List Threshold: 50
   ID   State         Blueprint      Level  Name
[  49] [Active     ] [            ] [   60] Apache ServiceMix :: Specs ::
Activation API 1.4 (1.7.0)
[  50] [Active     ] [            ] [   60] Apache ServiceMix :: Specs ::
JAXB API 2.2 (1.7.0)
[  51] [Active     ] [            ] [   60] Apache ServiceMix :: Specs ::
Stax API 1.0 (1.8.0)
[  52] [Active     ] [            ] [   60] Apache ServiceMix :: Specs ::
JAXWS API 2.2 (1.7.0)
[  61] [Active     ] [            ] [   60] Commons CLI (1.2)
[  62] [Active     ] [            ] [   60] Commons Pool (1.5.4)
[  63] [Active     ] [            ] [   60] Commons Collections (3.2.1)
[  64] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
commons-beanutils (1.8.2.2)
[  65] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
xpp3 (1.1.0.4c_5)
[  66] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
quartz (1.8.3.2)
[  67] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
javassist (3.9.0.GA_2)
[  68] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
wsdl4j (1.6.2.5)
[  69] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
jaxb-impl (2.2.1.1_1)
[  70] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
cglib (2.1.0.3_6)
[  72] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
commons-codec (1.3.0.3)
[  73] [Active     ] [            ] [   60] Apache ServiceMix Bundles:
oro-2.0.8 (2.0.8.3)
[  74] [Active     ] [            ] [   60] Apache ServiceMix Bundles:
velocity-1.6.2 (1.6.2.3)
[  75] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
jasypt (1.6.0.1)
[  77] [Active     ] [            ] [   60] Geronimo TxManager :: Connector
(3.1)
[  78] [Active     ] [            ] [   60] Geronimo TxManager ::
Transaction (3.1)
[  79] [Active     ] [            ] [   60] Apache Geronimo JSR-303 Bean
Validation Spec API (1.1)
[  80] [Active     ] [            ] [   60] Interceptor 1.1 (1.0)
[  81] [Active     ] [            ] [   60] JavaMail 1.4 (1.7.1)
[  82] [Active     ] [            ] [   60] geronimo-jms_1.1_spec (1.1.1)
[  83] [Active     ] [            ] [   60] Servlet 3.0 (1.0)
[  84] [Active     ] [            ] [   60] J2EE JACC 1.1 (1.0.2)
[  85] [Active     ] [            ] [   60] geronimo-jaxr_1.0_spec (2.0.0)
[  86] [Active     ] [            ] [   60] Apache Geronimo JAX-RS 1.1 API
(1.0)
[  87] [Active     ] [            ] [   60] JAXRPC 1.1 (2.1)
[  90] [Active     ] [            ] [   60] Apache Geronimo Java EE
Connector Spec 1.6 (1.1.0.SNAPSHOT)
[  91] [Active     ] [            ] [   60]
geronimo-j2ee-connector_1.5_spec (2.0.0)
[  92] [Active     ] [            ] [   60]
geronimo-j2ee-management_1.1_spec (1.0.1)
[  93] [Active     ] [            ] [   60] geronimo-ejb_3.0_spec (1.0.1)
[  94] [Active     ] [            ] [   60] Apache Geronimo EJB Spec 3.1
(1.0.2)
[  95] [Active     ] [            ] [   60] Apache Geronimo Expression
Language Spec 2.2 (1.1.0.SNAPSHOT)
[  96] [Active     ] [            ] [   60] JSP 2.2 (1.0)
[  97] [Active     ] [            ] [   60] geronimo-ws-metadata_2.0_spec
(1.1.2)
[  98] [Active     ] [            ] [   60] Annotation 1.1 (1.0.1)
[  99] [Active     ] [            ] [   60] Apache Geronimo JSCI Spec 1.0
(1.1.0.SNAPSHOT)
[ 100] [Active     ] [            ] [   60] Apache Geronimo JPA Spec 2.0
(1.2.0.SNAPSHOT)
[ 101] [Active     ] [            ] [   60] Apache Geronimo JSR-330 Spec
1.0 (1.1.0.SNAPSHOT)
[ 102] [Active     ] [            ] [   60] SAAJ 1.3 (1.1)
[ 103] [Active     ] [            ] [   60]
wrap_mvn_net.sf.scannotation_scannotation_1.0.2 (0)
[ 108] [Active     ] [            ] [   60] SPI definition (1.1.1)
[ 109] [Active     ] [            ] [   60] OpenWebBeans Core (1.1.1)
[ 110] [Active     ] [            ] [   60] Java EE plugin (1.1.1)
[ 112] [Active     ] [            ] [   60] EE Common plugin (1.1.1)
[ 114] [Active     ] [            ] [   60] EJB plugin (1.1.1)
[ 115] [Active     ] [            ] [   60] Web plugin (1.1.1)
[ 116] [Active     ] [            ] [   60] Apache XBean :: ASM shaded
(repackaged) (3.8)
[ 117] [Active     ] [            ] [   60] Apache XBean :: Finder shaded
(repackaged) (3.8)
[ 118] [Active     ] [            ] [   60] Apache XBean :: Naming (3.8)
[ 119] [Active     ] [            ] [   60] Apache XBean :: Reflect (3.8)
[ 120] [Active     ] [            ] [   60] Apache XBean :: Spring (3.8)
[ 121] [Active     ] [            ] [   60] activemq-core (5.5.0)
[ 122] [Active     ] [            ] [   60] kahadb (5.5.0)
[ 123] [Active     ] [            ] [   60] activemq-console (5.5.0)
[ 124] [Active     ] [            ] [   60] activemq-ra (5.5.0)
[ 125] [Active     ] [            ] [   60] activemq-pool (5.5.0)
[ 126] [Active     ] [Created     ] [   60] activemq-karaf (5.5.0)
[ 127] [Active     ] [            ] [   60] activemq-spring (5.5.0)
[ 128] [Active     ] [            ] [   60] Apache Bean Validation ::
org.apache.bval.bundle (0.3.0.incubating)
[ 129] [Active     ] [            ] [   60] Apache OpenEJB :: Container ::
API (4.0.0.beta-2-SNAPSHOT)
[ 131] [Active     ] [            ] [   60] Java Authentication SPI for
Containers (1.1)
[ 132] [Active     ] [            ] [   60] Commons Lang (2.6)
[ 133] [Active     ] [            ] [   60] Apache OpenEJB :: Container ::
Java Agent (4.0.0.beta-2-SNAPSHOT)
[ 137] [Active     ] [            ] [   60] Geronimo OSGi-enable spec
bundle locator (1.0)
[ 138] [Active     ] [            ] [   60] OSGI factory registry (1.0)
[ 139] [Active     ] [            ] [   60] Activation 1.1 (1.1)
[ 140] [Active     ] [            ] [   60] Apache OpenEJB :: Container ::
Java EE (4.0.0.beta-2-SNAPSHOT)
[ 142] [Active     ] [            ] [   60] Apache OpenEJB :: Container ::
Loader (4.0.0.beta-2-SNAPSHOT)
[ 155] [Active     ] [            ] [   60]
wrap_mvn_org.apache.openejb_mbean-annotation-api_4.0.0-beta-2-SNAPSHOT (0)
[ 159] [Active     ] [            ] [   60] Commons DBCP (1.4)
[ 160] [Active     ] [            ] [   60] HSQLDB (2.2.4)
[ 164] [Active     ] [            ] [   60] geronimo-servlet_2.5_spec
(1.1.2)
[ 165] [Active     ] [            ] [   60] JavaMail API (compat) (1.4.4)
[ 166] [Active     ] [            ] [   60] geronimo-jta_1.1_spec (1.1.1)
[ 200] [Active     ] [            ] [   60]
wrap_mvn_org.apache.geronimo.specs_geronimo-j2ee-deployment_1.1_spec_1.1 (0)
[ 202] [Active     ] [            ] [   60] Apache ServiceMix :: Bundles ::
openjpa (2.0.0.2)
[ 205] [Active     ] [            ] [   60] Apache OpenEJB :: Container ::
Core (4.0.0.beta-2-SNAPSHOT)
[ 208] [Active     ] [            ] [   60] Apache OpenEJB :: Container ::
OSGi (4.0.0.beta-2-SNAPSHOT)

- Romain


2011/11/27 Jacek Laskowski <[email protected]>

> On Sun, Nov 27, 2011 at 9:17 PM, Romain Manni-Bucau
> <[email protected]> wrote:
>
> > it doesn't work today. import/export are really a mess.
>
> Let me know what doesn't work. I may be of some help.
>
> Jacek
>
> --
> Jacek Laskowski
> Java EE, functional languages and IBM WebSphere - http://blog.japila.pl
> Warszawa JUG conference = Confitura (formerly Javarsovia) ::
> http://confitura.pl
> "Hoping to save time by spending it" by David Blevins (Apache OpenEJB)
>

Reply via email to