Hi;

I have done it :) Now, I deploy my collapsed ear without adding any OWB
configuration and libraries into the module. Simply dropping module with
WEB-INF/beans.xml, and all of the magic is done by integration.

Hey, how could I integrate this code into SVN, or maybe before asking to the
community would like to get this code ?

Open JIRA and attach patch into it?

Now, I have a Web Profile Server : Tomcat + OpenWebBeans + OpenEJB + MyFaces
+ OpenJPA :)

Thanks;

--Gurkan


2010/4/11 Gurkan Erdogdu <cgurkanerdo...@gmail.com>

> 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

Reply via email to