RE: jboss and cocoon

2003-02-18 Thread Hunsberger, Peter
arnaud asked:

> 
> does anybody used cocoon with jboss ?

Yes, we deploy Cocoon as an EAR under Jboss.  The EJB classes are packaged
as a JAR within the EAR and Cocoon is packaged as WAR inside the EAR. The
EJB remote interfaces are included in the Cocoon lib.  You can of course
deploy separately if you'd like...

> 
> i would like to use mey ejb method : toXML()
> who transform ejb data in xml
> 

Just call your remote interfaces from any Cocoon classes as normal. As long
as you've got the remote interfaces available to Cocoon there is no issue.

> what kind of generator may i use ?
> 

Any kind you'd like :-)




-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>




RE: jboss and cocoon

2003-02-18 Thread Schaper, Christoph
Or write a custom generator. We have a custom writer transforming certain
JAVA classes to SAX events and use it in a generator
like

myJAVA = getSomehowTheJAVA();
contentHandler.startDocument();
XMLSaxWriter writer;
// generate the actual xml
writer = new XMLSaxWriter(contentHandler);
writer.toXML(resultList);
contentHandler.endDocument();



Christoph


-Original Message-
From: [EMAIL PROTECTED]
[mailto:[EMAIL PROTECTED]]
Sent: 18 February 2003 15:18
To: [EMAIL PROTECTED]
Subject: AW: jboss and cocoon


Whats about castor? Serienlize your DataVO to XML and deserialize the XML
file to a DataVO.

Juraj



-Ursprüngliche Nachricht-
Von: arnaud [mailto:[EMAIL PROTECTED]]
Gesendet: Dienstag, 18. Februar 2003 14:58
An: cocoon
Betreff: jboss and cocoon


hi

does anybody used cocoon with jboss ?

i would like to use mey ejb method : toXML()
who transform ejb data in xml

what kind of generator may i use ?

thanks

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>

Any e-mail message from the European Central Bank (ECB) is sent in good faith but 
shall neither be binding nor construed as constituting a commitment by the ECB except 
where provided for in a written agreement.
This e-mail is intended only for the use of the recipient(s) named above. Any 
unauthorised disclosure, use or dissemination, either in whole or in part, is 
prohibited.
If you have received this e-mail in error, please notify the sender immediately via 
e-mail and delete this e-mail from your system.


-
Please check that your question  has not already been answered in the
FAQ before posting. 

To unsubscribe, e-mail: <[EMAIL PROTECTED]>
For additional commands, e-mail:   <[EMAIL PROTECTED]>