Nobert,
you might want to have a look at the CastorTransformer in the scatchpad block of
Cocoon 2.1.2 ff. Iow, there's no
need to write any code anymore ... it has been done already.
Regards
Werner
On Mon, 17 Nov 2003 21:24:19 +0100, [EMAIL PROTECTED] wrote:
>Quoting Justin Fagnani-Bell <[EM
Quoting Justin Fagnani-Bell <[EMAIL PROTECTED]>:
> As I'm rethinking the object-persistence persistence for my web app,
> I'm also looking for a better way to output XML from my java objects.
> Can't really find much on the wiki.
The way I use is marshalling my business objects with
Castor(http
Obviously, the petstore.item class does not know where its data is
coming
from or going.
So in short I think you are looking for flow :)
JD
Well, I can't use flow for other reasons, but the idea is applicable: a
bean->xml class where you specify the attributes to be printed. I think
I'll
No, but I will.
thanks.
On Nov 14, 2003, at 5:55 PM, Marco Rolappe wrote:
hi justin,
did you have a look at XML binding tools, like Castor, Betwixt, ..?
As I'm rethinking the object-persistence persistence for my web app,
I'm also looking for a better way to output XML from my java objects.
Can
JD Daniels dijo:
> Unfortuneately, I am a java newbie, so am still
> struggling with OJB and actually making my beans in general :S
Use Druid. Download it from the CVS, load your database and you will have
a jar of your beans in few secs.
Best Regards,
Antonio Gallardo
does not know where its data is coming
from or going.
So in short I think you are looking for flow :)
JD
-Original Message-
From: Justin Fagnani-Bell [mailto:[EMAIL PROTECTED]
Sent: Friday, November 14, 2003 5:35 PM
To: [EMAIL PROTECTED]
Subject: XMLizing your business obejcts
A
hi justin,
did you have a look at XML binding tools, like Castor, Betwixt, ..?
> -Ursprungliche Nachricht-
> Von: [EMAIL PROTECTED]
> [mailto:[EMAIL PROTECTED] Auftrag
> von Justin Fagnani-Bell
> Gesendet: Samstag, 15. November 2003 02:35
> An: [EMAIL PROTECTED]
> B
As I'm rethinking the object-persistence persistence for my web app,
I'm also looking for a better way to output XML from my java objects.
Can't really find much on the wiki.
Currently the XML is output in my presentation layer (something like
XSPs), but this is leading to too much copy-and-pas