You are viewing a plain text version of this content. The canonical link for it is here.
Posted to cactus-user@jakarta.apache.org by "J. Joseph Benavidez" <jj...@redhat.com> on 2004/01/24 00:47:08 UTC
jonas integration?
Hello,
I was wondering if anyone's using cactus with jonas (with tomcat as the
web container). If not, is there developer documentation on how to
integrate a new web container? I guess that second question would be
aimed more to the dev list, but I thought I'd check here first for the
first question.
Thanks,
j.joseph
RE: jonas integration?
Posted by Vincent Massol <vm...@pivolis.com>.
Hi J.Joseph,
I am not aware of any existing Cactus Ant integration code for Jonas.
That would be great! :-)
Here are some tips for performing the integration (I'll commit the patch
in Cactus CVS if you donate it to the Apache foundation):
* You need to create a Java class that extends
org.apache.cactus.integration.ant.container.AbstractJavaContainer. You
can check existing implementation for doc: Resin2xContainer,
Tomcat4xContainer, etc.
* Put default configuration files in
jakarta-cactus/integration/ant/src/confs (put it in share/ if jonas
supports both j2ee 1.2 and j2ee 1.3)
* Then register the new <jonasXX> element as an Ant task, by editing
org.apache.cactus.integration.ant.container.default.properties
* Edit jakarta-cactus/integration/ant/build.xml and add an include for
the new <jonasXX> element (search for resin2x for example to find the
location where to add this include)
* Integrate with the existing samples. I guess the best is to integrate
it to the jakarta-cactus/samples/ejb project.
That's it!
Many thanks
-Vincent
> -----Original Message-----
> From: J. Joseph Benavidez [mailto:jjb@redhat.com]
> Sent: 24 January 2004 00:47
> To: cactus-user@jakarta.apache.org
> Subject: jonas integration?
>
> Hello,
>
> I was wondering if anyone's using cactus with jonas (with tomcat as
the
> web container). If not, is there developer documentation on how to
> integrate a new web container? I guess that second question would be
> aimed more to the dev list, but I thought I'd check here first for the
> first question.
>
> Thanks,
>
> j.joseph