FYI ---------- Forwarded message ---------- From: Gurkan Erdogdu <cgurkanerdo...@gmail.com> Date: 2010/4/11 Subject: OWB integration with OpenEJB Tomcat Integration Code To: d...@openejb.apache.org
Hello folks; I have started to integrate OpenWebBeans into OpenEJB+Tomcat integration code. I mainly use and update following modules - openejb-tomcat-catalina - openejb-tomcat-loader - openejb-tomcat-webapp FYI, I have already integrated OWB with Apache Tomcat 6, therefore no need to define any configuration files to use OWB in Tomcat. Currently, OWB also supports OpenEJB in Tomcat but developer has to manage configuration files (adding OpenWebBeansEJBInterceptor to every beans) and library dependencies. Main point for this integration is to relief developers from burden of configuration issues. What I am currently doing 1- Adding more comments for those modules. Currently, those modules do not contain so much comment and it is hard to understand code without comments. I understood the code finally with time consuming and not want any other developer have troubles with the same experience. 2- Update openejb-tomcat-webapp to add OpenWebBeans specific libraries in the resulting war. there are two sections here, one for adding libraries to Catalina ClassLoader (adding owb-api, spi etc.) and one for adding libraries into users web application's class loaders (owb-impl, owb-web etc.) 3- Update TomcatWebBuilder for adding Context Listener to web applications and adding OpenWebBeansEJB interceptor to ejb beans (If web module has WEB-INF/beans.xml) If I successful on getting working code, there is need to configure anything to run OWB with OpenEJB and Tomcat. just packages web applications with WEB-INF/beans.xml. Thanks; --Gurkan -- Gurkan Erdogdu http://gurkanerdogdu.blogspot.com