You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@geronimo.apache.org by Vincent Massol <vm...@pivolis.com> on 2005/03/15 10:13:59 UTC
Geronimo and Cargo: sharing code for J2EE module parsing/writing?
Hi Geronimo developers,
I'm working on the Cargo project (http://cargo.codehaus.org) which is
offering a Java API to manipulate J2EE containers (configure, start, stop,
etc).
As part of Cargo, we have an API for parsing and creating J2EE Archive files
(WAR and EAR only ATM), including container-specific extensions
(jboss-web.xml, Tomcat's context.xml file, etc). Source files can be seen
here: http://tinyurl.com/6tupy
This API is currently separated from Cargo core which uses it for reading
container-specific deployment files. It is also used by Jakarta Cactus for
cactifying WARs and EARs (i.e. automatically modifying an existing WAR or
EAR file to add items to its web.xml file, gather data from
container-specific deployment files, add news file to the WAR, etc).
It dawned on us yesterday (yeah, we're slow-thinkers ;-)) that a big part of
such a library would be needed by anyone implementing a container. Hence my
email to you and the following question:
Is there in Geronimo land an existing library for parsing/writing J2EE
Archive files that we could reuse instead of our home-grown one? Would that
library allow extensions like container-specific descriptor files?
Thanks a lot
-Vincent