cocoon-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject RE: XObject
Date Fri, 01 Dec 2000 07:10:20 GMT


Since data in our dynamic pages come from different sources (EJB objects),
we used XObject to integrate all data into our pages. Our project depends
on the XObject interface. However, we have one class that implements
XObject that transforms data from collections returned from EJB objects and
a tag library that uses this class to integrate content into our pages. (I
hope this is a proper way of using cocoon). For me the question is not
where (location of XObject or an alternative class) but when (aivalability
of such a class in C2).

I'd be willing to test migration if such a class is available.

Michael Homeijer

"Torsten Curdt" <> on 30-11-2000 23:13:58

Please respond to

To:   <>

Subject:  RE: XObject

> > > On Thu, Nov 30, 2000 at 11:12:55AM +0000, Jeremy Quinn wrote:
> > > > At 13:45 -0500 29/11/00, Donald Ball wrote:
> > > > So either we officially add the org.apache.cocoon.framework
> heirarchy to
> > > > Cocoon 2, or we define a new common location for both C1 and C2 and
> > > > depreciate org.apache.cocoon.framework.XObject.
> > >
> > > I'd rather not add a new directory just for XObject. Would it
> > > not make sense for it to be in either the 'xml' or 'util'
> > > packages? Since C1 doesn't have the 'xml' package, I guess
> > > there is sane, given the functionality the XObject provides.
> > > Thoughts?
> >
> > I'm for deprecating C1 XObject, then creating a new XObject
> > org.apache.cocoon.xml.XObject with the new SAX2 methods and putting it
> > in C1 and C2.  Might upset some C1 users however...
> the whole _point_ of the XObject class was to provide a bridge between C1
> and C2, right? doesn't it make sense to keep it in the same location
> between projects, even if it doesn't make sense in the C2 directory
> structure.
> not that i care, i never wrote an XObject class, but still.

That's exactly the point...
I didn't use the XObject interface with cocoon1 myself and I don't
think a lot of people do so - but what about asking in the cocoon-user
list who is concerned about this changes?

What about the different Handlers? How can this be solved?

View raw message