Hi Ali,

Barodawala, Ali wrote:

> My project comprises of a front-end GUI (ideally XSL T of an XML)
> which is generated from the XML output provided by a set of web
> services. I know that Orbeon can do this part for me. The part I'm
> not sure about is..
>
> 1. Can I achieve this without using any Bean Generator logic
> (Castor) and still use the Struts 2X framework? (Since it is a user
> facing site, performance is key)

The idea behind the current Struts support is to take JavaBeans and
convert them to XML. For now, serialization of beans is done with the
Bean generator. You could write your own custom generator to avoid
using Castor.

I should mention that if you use Presentation Server with Struts, you
will probably write your action in Java and call Web Services from
Java, rather than use XML pipelines and the Delegation processor to
call the Web Service. This is because in the Model 2X architecture
with Struts, XML pipelines and XSLT are used for the View only, while
the rest (controller and model) is handled by Struts and your own Java
code.

The alternative is to use the Presentation Server Page Flow
Controller, XForms and XML pipelines (XPL) end to end. This is where
you unleash the maximum potential of Presentation Server.

> 2. Can the same XML be configured to be displayed using 3 different
> XSLs depending on some URL signature or hidden field or some other
> mechanism (Since I need to serve 3 sites, all of which need the same
> data but require different presentations)

Absolutely. There is all the flexibility with XML pipelines to do
this.

> 3. Is there some way in which Orbeon supports XSL compilation
> (translets) and applying these to my XML output directly (for
> performance reasons)

The standard XSLT transformer in Presentation Server is Saxon. The
main reason is that it supports XSLT and XPath 2.0 (which are not
final yet but pretty close) and it is a very good piece of software.

You can use any XSLT transformer with Presentation Server, including
XSLTC which supports translets. I have to say that our experience with
XSLTC has not been the best in the past, but it will definitely
integrate with Presentation Server.

You may also have in mind another XSLT transformer that supports
translets / compilation (I know that there are some commercial
alternatives), and if that transformer supports the JAXP / TrAX API
(in general all of them do), you can use it with Presentation Server
as well. Some standard XSLT stylesheets in Presentation Server are
written with XSLT 2.0, but they can be modified if necessary.

I hope this helps a little bit.

-Erik


------------------------------------------------------- This SF.Net email is sponsored by: InterSystems CACHE FREE OODBMS DOWNLOAD - A multidimensional database that combines robust object and relational technologies, making it a perfect match for Java, C++,COM, XML, ODBC and JDBC. www.intersystems.com/match8 _______________________________________________ orbeon-user mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/orbeon-user

Reply via email to