Back in "the day", before all these wonderful (and I mean this
non-sarcastically) open source libraries like OGNL appeared and I had to do
my own runtime data binding and java reflection was *really* slow (like
glacial slow), I toyed with a system that actually generated synthetic proxy
classes and compiled them at runtime.
It was a nightmare from a standpoint of flushing the classloader, so
god help you if you ever wanted to *change* one of these proxy classes
without cycling the JVM, but you did end up with a real, live,
non-reflection based way to access your properties. Since java ships with a
runtime compiler, I'm actually surprised more people don't use it.
There's also CGLIB which I've never worked with myself, although
Hibernate uses it so I have to assume it A) works and B) runs fast since
those folks are serious performance Nazis.
http://cglib.sourceforge.net/
I for one would love to see OGNL go bye-bye because A) Tapestry's
the only place I know of where it's used so it's an orphan syntax B) it
doesn't look to be actively developed anymore and C) There's other stuff out
there that's probably either faster or more syntactically consistent (CGLIB,
Rhino, Groovy, etc).
Which raises an alternate question: how hard would it be to plug in
another databinder to the framework? E.g. if somebody wanted to take the
time to build either a bytecode enhancement layer and/or integrate Rhino,
would it be pluggable as a HiveMind service, or would some serious surgery
have to happen to extricate OGNL dependencies?
--- Pat
> -----Original Message-----
> From: Jesse Kuhnert [mailto:[EMAIL PROTECTED]
> Sent: Saturday, November 12, 2005 9:38 AM
> To: Tapestry users
> Subject: Re: Status of OGNL 3.0?
>
> http://howardlewisship.com/blog/2005/11/improving-tapestry-
> performance.html
> On 11/12/05, Geoff Longman <[EMAIL PROTECTED]> wrote:
> > I dunno. Lets go to the source...
> >
> > Well Drew?
> >
> > Geoff
> >
> > On 11/12/05, Ted Steen <[EMAIL PROTECTED]> wrote:
> > > Is OGNL 3.0 ever going to be finished, or has development stoped?
> > > There where some serious speed improvements promised for 3.0, as far
> > > as I remember.
> > >
> > > --
> > > /ted
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > The Spindle guy. http://spindle.sf.net
> > Get help with Spindle:
> > http://lists.sourceforge.net/mailman/listinfo/spindle-user
> > Announcement Feed:
> > http://www.jroller.com/rss/glongman?catname=/Announcements
> > Feature Updates: http://spindle.sf.net/updates
> >
> > ---------------------------------------------------------------------
> > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > For additional commands, e-mail: [EMAIL PROTECTED]
> >
> >
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]