You are viewing a plain text version of this content. The canonical link for it is here.
Posted to users@cocoon.apache.org by Jochen Wiedmann <jo...@ispsoft.de> on 2002/07/04 22:30:17 UTC

Re: cocoon jaxme transformer! (Othman Haddad)

Hi, Othman,


> i'm trying to use the CastorTransformer to generate javabeans with cocoon=
> 2
> but i rather prefer the jaxme approach for javabeans generation from 
> an xml file because i find that they can be more useful than the 
> castor ones..

> so my question is: is there any cocoon-jaxme user 
> there, and is it possible to write and use a kind of 
> jaxmeTransformer in cocoon2?

I have worked with Cocoon in the past and really like it.
A marriage of Cocoon and JaxMe seems very promising, as
both are dedicated to SAX, for performance reasons.

Unfortunately you do not add any hints what the CastorTransformer
precisely is and a quick search through Altavista didn't give
me a clue. May be you should explain a little bit more?


Regards,

Jochen



---------------------------------------------------------------------
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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Réf. : Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Posted by Othman Haddad <oh...@neomalogic.com>.
castorTransformer doesn't create any xml file, it just takes sax events and
generates beans...

-------Message original-------

De : cocoon-users@xml.apache.org
Date : vendredi 05 juillet 2002 13:38:36
A : cocoon-users@xml.apache.org
Cc : jaxme mailing list; ldbledge
Sujet : Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Hi, 
I'd be very interested to start using this new transformer in our projects,
as we are using Castor XML already in various places. 
Knowing how Castor XML works in terms of (un)marshalling, can somebody
please confirm that the CastorTransformer would convert the XML created by
Castor to SAX events using an XML parser ? 
It's not that I am particularly concerned about speed as most of our
documents would be sufficiently small, but I'd love to understand how this
has been implemented. 
Thanks 
Werner 
Othman Haddad wrote: 
hi,the documentation of CastorTransformer you can find it in the sources of
Cocoon2.02 in the repository:cocoon-2.0.2\srcINCREDI_LINK_PLACEHOLDER_1310le
because i find that they can be more useful than the  
> castor ones.. 
> so my question is: is there any cocoon-jaxme user  
> there, and is it possible to write and use a kind of  
> jaxmeTransformer in cocoon2? 
I have worked with Cocoon in the past and really like it. 
A marriage of Cocoon and JaxMe seems very promising, as 
both are dedicated to SAX, for performance reasons. 
Unfortunately you do not add any hints what the CastorTransformer 
precisely is and a quick search through Altavista didn't give 
me a clue. May be you should explain a little bit more? 
  
Regards, 
Jochen 
  
  
.

Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Posted by Werner Guttmann <We...@morganstanley.com>.
Hi,

I'd be very interested to start using this new transformer in our
projects, as we are using Castor XML already in various places.

Knowing how Castor XML works in terms of (un)marshalling, can somebody
please confirm that the CastorTransformer would convert the XML created
by Castor to SAX events using an XML parser ?

It's not that I am particularly concerned about speed as most of our
documents would be sufficiently small, but I'd love to understand how
this has been implemented.

Thanks
Werner

Othman Haddad wrote:

> hi,the documentation of CastorTransformer you can find it in the
  sources of Cocoon2.02 in the
  repository:cocoon-2.0.2\src\scratchpad\webapp\samples\castor\doc but
  anyway here it is a short description:"With this transformer, a
  Bean that is stored in the session,Sitemap, Session, Request or
  the Conext is marehalled to XML and inserted in the SAX stream at
  a given position" . thanks for your help
  -------Message original-------

  De : Jochen Wiedmann
  Date : jeudi 04 juillet 2002 22:30:30
  A : jaxme-users@lists.sourceforge.net
  Cc : Othman Haddad; cocoon user list
  Sujet : Re: cocoon jaxme transformer! (Othman Haddad)
   Hi, Othman,


  > i'm trying to use the CastorTransformer to generate javabeans
  with cocoon=
  > 2
  > but i rather prefer the jaxme approach for javabeans generation
  from
  > an xml file because i find that they can be more useful than
  the
  > castor ones..

  > so my question is: is there any cocoon-jaxme user
  > there, and is it possible to write and use a kind of
  > jaxmeTransformer in cocoon2?

  I have worked with Cocoon in the past and really like it.
  A marriage of Cocoon and JaxMe seems very promising, as
  both are dedicated to SAX, for performance reasons.

  Unfortunately you do not add any hints what the CastorTransformer
  precisely is and a quick search through Altavista didn't give
  me a clue. May be you should explain a little bit more?


  Regards,

  Jochen



  .
> ________________________________________________________________
>     IncrediMail - La messagerie électronique a enfin évolué - Cliquer
> ici

Réf. : Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Posted by Othman Haddad <oh...@neomalogic.com>.
hi man,
this is amazing, you've spent your spent for writting a transformer for me!!
i'm really amazed, and i promise you to put the sources on the cvs for
everybody after trying,and correcting them..
really thank you

-------Message original-------

De : Jochen Wiedmann
Date : vendredi 05 juillet 2002 11:22:52
A : Othman Haddad; jaxme mailing list; cocoon user list; joe@ispsoft.de
Sujet : Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

> hi,
> the documentation of CastorTransformer you can find it in the 
> sources of Cocoon2.02 in the repository:
cocoon-
> 2.0.2\src\scratchpad\webapp\samples\castor\doc

That simple?

Ah, whenever I lay my hands on Cocoon, I fall in love again!
How said I never get the possibility to make a project with
it. (Sunshine, want a teleworker? :-)

Attached you find a suggestion for a JaxMeTransformer. Notice
its much simpler than the CastorTransformer because it doesn't
need to support SAX1 or those nasty mapping files. Please let
me know the results.

If it works, you could do me a favour and make a complete
example from it (much like the Castor sample) and supply this
to the Cocoon-dev mailing list.


Regards,

Jochen

Réf. : Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Posted by Othman Haddad <oh...@neomalogic.com>.
hi,
>>Can you compare JaxMe to Castor, Betwixt, Jonas, JAXB ?
- Betwixt i don't know what it is.
- Jonas is free french container server side for EJB
- Castor is more paowerful than JAXB for doing databinding
-JaxMe in my opinion is better than Castor for doing databinding from xml to
java classes because jaxme classes are more useful than castor ones,but if
you Castor definitely handles Schema W3C support  better than Jaxme..

hope i've answered to your question..
best regards..othman

-------Message original-------

De : cocoon-users@xml.apache.org
Date : dimanche 07 juillet 2002 18:43:02
A : cocoon-users@xml.apache.org
Sujet : Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Can you compare JaxMe to Castor, Betwixt, Jonas, JAXB ?



----- Original Message -----
From: "Jochen Wiedmann" <jo...@ispsoft.de>
To: "Othman Haddad" <oh...@neomalogic.com>; "jaxme mailing list"
<ja...@lists.sourceforge.net>; "cocoon user list"
<co...@xml.apache.org>; <jo...@ispsoft.de>
Sent: Friday, July 05, 2002 4:22 AM
Subject: Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)


> > hi,
> > the documentation of CastorTransformer you can find it in the
> > sources of Cocoon2.02 in the repository:
> cocoon-
> > 2.0.2\src\scratchpad\webapp\samples\castor\doc
>
> That simple?
>
> Ah, whenever I lay my hands on Cocoon, I fall in love again!
> How said I never get the possibility to make a project with
> it. (Sunshine, want a teleworker? :-)
>
> Attached you find a suggestion for a JaxMeTransformer. Notice
> its much simpler than the CastorTransformer because it doesn't
> need to support SAX1 or those nasty mapping files. Please let
> me know the results.
>
> If it works, you could do me a favour and make a complete
> example from it (much like the Castor sample) and supply this
> to the Cocoon-dev mailing list.
>
>
> Regards,
>
> Jochen
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> 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: <co...@xml.apache.org>
> For additional commands, e-mail: <co...@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: <co...@xml.apache.org>
For additional commands, e-mail: <co...@xml.apache.org>


.

Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Posted by Ivelin Ivanov <iv...@apache.org>.
Can you compare JaxMe to Castor, Betwixt, Jonas, JAXB ?



----- Original Message -----
From: "Jochen Wiedmann" <jo...@ispsoft.de>
To: "Othman Haddad" <oh...@neomalogic.com>; "jaxme mailing list"
<ja...@lists.sourceforge.net>; "cocoon user list"
<co...@xml.apache.org>; <jo...@ispsoft.de>
Sent: Friday, July 05, 2002 4:22 AM
Subject: Re: Réf. : Re: cocoon jaxme transformer! (Othman Haddad)


> > hi,
> > the documentation of CastorTransformer you can find it in the
> > sources of Cocoon2.02 in the repository:
>  cocoon-
> > 2.0.2\src\scratchpad\webapp\samples\castor\doc
>
> That simple?
>
> Ah, whenever I lay my hands on Cocoon, I fall in love again!
> How said I never get the possibility to make a project with
> it. (Sunshine, want a teleworker? :-)
>
> Attached you find a suggestion for a JaxMeTransformer. Notice
> its much simpler than the CastorTransformer because it doesn't
> need to support SAX1 or those nasty mapping files. Please let
> me know the results.
>
> If it works, you could do me a favour and make a complete
> example from it (much like the Castor sample) and supply this
> to the Cocoon-dev mailing list.
>
>
> Regards,
>
> Jochen
>
>


----------------------------------------------------------------------------
----


> ---------------------------------------------------------------------
> 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:     <co...@xml.apache.org>
> For additional commands, e-mail:   <co...@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:     <co...@xml.apache.org>
For additional commands, e-mail:   <co...@xml.apache.org>


Re: R�f. : Re: cocoon jaxme transformer! (Othman Haddad)

Posted by Jochen Wiedmann <jo...@ispsoft.de>.
> hi,
> the documentation of CastorTransformer you can find it in the 
> sources of Cocoon2.02 in the repository:
 cocoon-
> 2.0.2\src\scratchpad\webapp\samples\castor\doc

That simple?

Ah, whenever I lay my hands on Cocoon, I fall in love again!
How said I never get the possibility to make a project with
it. (Sunshine, want a teleworker? :-)

Attached you find a suggestion for a JaxMeTransformer. Notice
its much simpler than the CastorTransformer because it doesn't
need to support SAX1 or those nasty mapping files. Please let
me know the results.

If it works, you could do me a favour and make a complete
example from it (much like the Castor sample) and supply this
to the Cocoon-dev mailing list.


Regards,

Jochen


Réf. : Re: cocoon jaxme transformer! (Othman Haddad)

Posted by Othman Haddad <oh...@neomalogic.com>.
hi,
the documentation of CastorTransformer you can find it in the sources of
Cocoon2.02 in the repository:
cocoon-2.0.2\src\scratchpad\webapp\samples\castor\doc

but anyway here it is a short description:
"With this transformer, a Bean that is stored in the session,Sitemap,
Session, Request or the Conext is marehalled to XML and inserted in the SAX
stream at a given position" .

thanks for your help
-------Message original-------

De : Jochen Wiedmann
Date : jeudi 04 juillet 2002 22:30:30
A : jaxme-users@lists.sourceforge.net
Cc : Othman Haddad; cocoon user list
Sujet : Re: cocoon jaxme transformer! (Othman Haddad)

Hi, Othman,


> i'm trying to use the CastorTransformer to generate javabeans with cocoon=
> 2
> but i rather prefer the jaxme approach for javabeans generation from 
> an xml file because i find that they can be more useful than the 
> castor ones..

> so my question is: is there any cocoon-jaxme user 
> there, and is it possible to write and use a kind of 
> jaxmeTransformer in cocoon2?

I have worked with Cocoon in the past and really like it.
A marriage of Cocoon and JaxMe seems very promising, as
both are dedicated to SAX, for performance reasons.

Unfortunately you do not add any hints what the CastorTransformer
precisely is and a quick search through Altavista didn't give
me a clue. May be you should explain a little bit more?


Regards,

Jochen



.