try FOP

-----Original Message-----
From: Vladimir Olenin [mailto:[EMAIL PROTECTED]
Sent: 01 March 2006 17:04
To: user@struts.apache.org
Subject: Question re: XML pipelining, Cocoon Plugin, stxx and possible
alternatives


Hi,

I need to pipeline the output from the Struts based application (the
output will be a generically marked up XML) to various output formats
(PDF & HTML for now). This should approximate to the 'Two Step View'
pattern, which seems to make sense. The flow can be sketched as:

Browser --(request)--> WebApplication --(XML)--> Transformation
Pipeline: [XML to PDF] OR [XML to HTML]

I looked into Cocoon, but want to use only the 'pipeline' functionality
and keep all logic elsewhere if possible (XSP plainly sucks for complex
websites; the 'action' class is not very impressive as well). It seems
like Cocoon plugin should make the trick. The only problem is the last
release is dated back to 2004. Mailing list is not maintained anymore
and it seems there is no more development done there.

I wonder if anyone used this configuration (Struts & Cocoon) in
production environment and if it is reasonably stable?

Another thing that came across as a possibility is 'stxx' project. But
it seems to actually replace Struts, which I don't want (you need to
extend your Action classes from a different, stxx, base class and I
don't want this lockin. Plus I want to generate XML through templates,
while Stxx requires you to send a 'prebuild' DOM tree to the input).

The last possiblity I'm considering is moving from Struts to WebWork2
altogether and try to use the Interceptors to generate output in
different formats. Not really sure how well it might work out.

Please, let me know your thoughts on what approach might be the best.

Thanks.

Vlad

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


This e-mail (and any attachments) may contain privileged and/or confidential 
information. If you are not the intended recipient please do not disclose, 
copy, distribute, disseminate or take any action in reliance on it. If you have 
received this message in error please reply and tell us and then delete it. 
Should you wish to communicate with us by e-mail we cannot guarantee the 
security of any data outside our own computer systems. For the protection of 
Legal & General's systems and staff, incoming emails will be automatically 
scanned.

Any information contained in this message may be subject to applicable terms 
and conditions and must not be construed as giving investment advice within or 
outside the United Kingdom.

The following companies are subsidiary companies of the Legal & General Group 
Plc which are authorised and regulated by the Financial Services Authority for 
advising and arranging the products shown: Legal & General Partnership Services 
Limited (insurance and mortgages), Legal & General Insurance Limited 
(insurance), Legal & General Assurance Society Limited 
(life assurance, pensions and investments), Legal & General Unit Trust Managers 
Limited and Legal & General Portfolio Management Services Limited (investments).

They are registered in England under numbers shown.
The registered office is Temple Court, 11 Queen Victoria Street, London EC4N 
4TP.

Legal & General Partnership Services Limited: 5045000 Legal & General Assurance 
Society Limited: 166055 Legal & General (Unit Trust Managers) Limited: 1009418 
Legal & General (Portfolio Management Services) Limited: 2457525 Legal & 
General Insurance Limited: 423930

They are registered with the Financial Services Authority under numbers shown. 
You can check this at www.fsa.gov.uk/register

Legal & General Partnership Services Limited: 300792 Legal & General Assurance 
Society Limited: 117659 Legal & General (Unit Trust Managers) Limited: 119273 
Legal & General (Portfolio Management Services) Limited: 146786 Legal & General 
Insurance Limited: 202050


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

Reply via email to