Please refer to  "WSO2 AS - TomEE Integration Architecture" mail thread on
[email protected], in case you are not aware of the context.


Here is the progress of the current work:

I have Created one single OpenEJB bundle That can be deployed as a plugin
on AS.
javax.annotation dependency problem fixed.
duplicate webapp error by CarbonTomcat.addWebApp method is fixed.
Now the WSO2 AS is starting with OpenEJB containers & child containers (per
each webapp) successfully.

It is a good point to say that, up to now, the only modification done on
existing WSO2 AS code is adding a lifecycle listener to catalina-server.xml
file. The Tomcat startup triggers OpenEJB initialization through this
lifecycle listener.

For now we hardcode the application names that should be avoided by
OpenEJB. Ultimately we will load OpenEJB only for the applications that has
J2EE as a runtime in their context file.

TODO:

The OpenEJB logging doesn't work. Hence no errors can be seen when
something goes wrong. it should be fixed. - First priority
Look at the JarScanner - as Sagara mentioned, CarbonTomcatJarScanner can be
used as a model to develop the JarScanner.
Remove the hardcoded application names and enhance the code to select J2EE
required app by reading context.xml - trivial
ClassLoading - Still not clear what should be the way to go.

The Code is there on git repo [1]. follow the README for configuration
instructions.

[1] https://github.com/kdchamil/ASTomEE










-- 
K.D. Chamil Jeewantha
Associate Technical Lead
WSO2, Inc.;  http://wso2.com
Mobile: +94716813892
_______________________________________________
Dev mailing list
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to