cocoon-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Michael Homeijer <M.Homei...@devote.nl>
Subject RE: Cocoon and EJB
Date Fri, 25 Oct 2002 12:01:08 GMT
I think you have some options in Cocoon:

- Use the castortransformer to transform the resulting data from a bean to
XML. (and then process it additionally with XSL).
- Use the velocity generator to get data from a value-object result from an
EJB.
- Write a jxpath transformer (is probably allready available as part of the
xmlforms solution) to get data from a value-object in xml.

In all solutions you probably have to get the result from an EJB in an
action class and put it in the request object. Other possibilities would be
to output your bean data in XSP, that would probably mean writing a lot of
code, or to adapt the xmlforms solution to use EJB's. 

HTH
Michael
-----Original Message-----
From: Bruno Collet
To: cocoon-users@xml.apache.org
Sent: 25-10-2002 12:06 
Subject: Cocoon and EJB

Hi
I'm investigating the possibility to use Cocoon 2 for
a big corporate app.
I have a doubt whether it is possible (and easy :) to
fetch data from EJB (connected to a DB) and produce
HTML pages from both XML/XSL documents and these data.

Does it fit into the Cocoon pipeline architecture
concept?
Would it imply writing my own transformers/generators?
Thx!
Bruno

__________________________________________________
Do you Yahoo!?
Y! Web Hosting - Let the expert host your web site
http://webhosting.yahoo.com/

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>

---------------------------------------------------------------------
Please check that your question  has not already been answered in the
FAQ before posting.     <http://xml.apache.org/cocoon/faq/index.html>

To unsubscribe, e-mail:     <cocoon-users-unsubscribe@xml.apache.org>
For additional commands, e-mail:   <cocoon-users-help@xml.apache.org>


Mime
View raw message