Cocoon is available outside of a container environment. It has been specifically coded to be so. Whilst it is clearly mainly focussed upon an HTTP servlet environment, other environments are present, and can be coded.

The one you are probably looking for is the CocoonBean. This was exctracted from the original Command Line Interface (CLI) for generating off-line sites, but it can be embedded within Java applications.

Check out the code for the CLI, which uses the bean, within the Cocoon source, in src/java/org/apache/cocoon/Main.java. Hopefully you'll get an idea of how it works from there.

Regards, Upayavira

Marchiori Carlo wrote:

I would like to use Cocoon outside a web
environment. I think most of the Cocoon
heart is indipendent from such an enviroment.

Only, I see the method debug of the org.apache.cocoon.Cocoon
class explicitly uses web session and request objects.
Maybe that should be removed.


In my opinion protocol should be known only
by the component which sets up the invocation context,
which is outside of Cocoon, and eventually
by generators and serializers which may look up
protocol objects in the object model.

Is there anybody out there interested in using Cocoon out of a web environment?

My target would be to use Cocoon in a general
integration environment.

Thanks,
Carlo.

---------------------------------------------------------------------
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]



Reply via email to