cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Piroumian, Konstantin" <KPiroum...@flagship.ru>
Subject Re: [RT] Alternative Solution to XSP
Date Sun, 24 Jun 2001 10:29:59 GMT
Hi!

<skip>
> > sounds like an interesting technique. how do you insert the business
> > objects into the cocoon sax pipeline? e.g. from an xsp page, a
generator,
> > a transformer, what?
>
> From an XSP page:
>
>   <page>
>     <xsp:logic>
>       Unmarshaller.unmarshal(this.contentHandler, businessObj);
>     </xsp:logic>
>   </page>

So, you might have some mapping between businessObj and resulting XML? Do
you use something like Exolab's Castor for that or you have implemented your
own technic? Marshalling and unmarshalling requires heavy usage of
reflection API and it's not very effective for the performance.

XMLizable interface can be better in some cases - when the object itself
knows how to represent itself in XML format, but it requires more work with
every object and is more difficult to maintain it - changing a name of an
attribute will require recompilation of the object.

It seems that problems are alsmost the same everywhere, as well as the
solutions... :)

>
> Giacomo

Regards,
    Konstantin Piroumian.

---------------------------------------------------------------------
To unsubscribe, e-mail: cocoon-dev-unsubscribe@xml.apache.org
For additional commands, email: cocoon-dev-help@xml.apache.org


Mime
View raw message