Adrian Petru Dimulescu wrote:
Hi,
I guess what Manuel is trying to say is if there are ways of _including_ Cocoon inside an existing webapp. Like say, dropping some Cocoon jars alongside the existing webapp's jars in WEB-INF/lib, configuring one or two things and having a sub-URL managed by Cocoon.
I am also wondering if somebody did that and what are some good practices in respect to this way of deploying Cocoon.
Yes, I've done it but as Cocoon versions come out it became too painful to maintain(any script I made to do it needed to be changed constantly and I would have to look for sub stuff and dependent versions). For unknown reasons, Cocoon developers were not interested in supporting such an approach. Then I discovered Java Server Faces (which some Cocoon developers denigrate) came out and I found that everything I needed to do could be done without Cocoon(xsp are no longer in vogue but flow; a javascript 'puke' based concept). Just jsp+jsf+xslt+etc. and automatic generation of servlets from xml using xslt. There are many components of Cocoon which rely on non-Cocoon developments that can be employed directly without Cocoon. Cocoon developers refused to maintain dtd's and xsd's for their document types such as sitemap and so on. Therefore development tools for Cocoon will remain scarce. I'm not saying Cocoon is not helpful for some applicators but many webapp developers would be surprised by what they can achieve with/by learning jsp+jsf+xslt+etc. and custom servlets whether they are developed as code or dynamically generated.
--Roger
P.S. What is truly needed is much better clients and client competition. Mozilla is starting to provide some of that:-)
Regards, Adrian.
Ben Pope wrote:
Cocoon IS your webapp.
So yeah, copy Cocoon to the docbase specified, then place your cocoon applications in the correct place in that directory.
If you want Cocoon in your Tomcat directory (or not) and each of your Cocoon applications outside of the Cocoon document base, I'm not sure.
Ben
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
--------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]
