That's the goal. There are tests for this already!  For certain
packages (the ones containing Tapestry pages and components), Tapestry
will remember the file and timestamp from which classes were loaded.
When those files change, the class loader is discarded (along with
many other caches and pools) and Tapestry starts over again.

In the first pass, it's kind of like disable caching in Tapestry 4,
but includes page and component classes, and is minimal cost when
files don't change.

At some point, I hope to make it very smart in terms of selectively
clearing caches based on true dependencies. That may be YAGNI.

There could still be interactions w.r.t. the debugger or what goes on
inside a deployed application's classloader. More experiments yet to
come.

On 7/27/06, Jesse Kuhnert <[EMAIL PROTECTED]> wrote:
I had a question. From what I've read so far I've gotten the impression that
dynamic re-compilation of java classes "on the fly" might potentially be
possible? Ie I can make a change to a page/component in eclipse and it will
be compiled and usable in the app without having to restart?

On 7/27/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
>
> On 7/27/06, Henri Dupre <[EMAIL PROTECTED]> wrote:
> > Hi Howard,
> >
> > I really like the new IoC design, I bet it is going to shrink quite a
> bit
> > code and xml configuration. I seem to remember something about enhancing
> > classes at classloading, is that still in the plans?
>
> Yes, but only for page and component classes.
>
> >
> > I read most of your blogs and posts about Tapestry 5, I believe I
> somehow
> > have a feel about your objectives.
> >
> > What I'm the most concerned with Tapestry 5 are the templates. Will the
> > current templates be somehow compatible with Tapestry 5? Or what are the
> > plans for templates? Going through our html code is the biggest time
> > killer...
>
> I'll tell you as soon as I know :-)
>
> I really want Tapestry 5 templates to be namespaced XML documents.
>
> A lot of the confusion and inconsistencies in Tapestry 4 will fall away.
>
> Machine translation via XSLT may be possible.
> >
> >
> >
> > On 7/27/06, Howard Lewis Ship <[EMAIL PROTECTED]> wrote:
> > >
> > > There's been a lot of buzz on my Blog about the (very, very) early
> > > Tapestry 5 code base:
> > >
> > >
> http://howardlewisship.com/blog/2006/07/tapestry-5-updates.html#comments
> > >
> > > I've asked that people do more of the discussions here, where its most
> > > visible to the Tapestry community.
> > >
> > > --
> > > Howard M. Lewis Ship
> > > TWD Consulting, Inc.
> > > Independent J2EE / Open-Source Java Consultant
> > > Creator and PMC Chair, Apache Tapestry
> > > Creator, Apache HiveMind
> > >
> > > Professional Tapestry training, mentoring, support
> > > and project work.  http://howardlewisship.com
> > >
> > > ---------------------------------------------------------------------
> > > To unsubscribe, e-mail: [EMAIL PROTECTED]
> > > For additional commands, e-mail: [EMAIL PROTECTED]
> > >
> > >
> >
> >
> > --
> > Thanks,
> >
> > Henri.
> >
> >
>
>
> --
> Howard M. Lewis Ship
> TWD Consulting, Inc.
> Independent J2EE / Open-Source Java Consultant
> Creator and PMC Chair, Apache Tapestry
> Creator, Apache HiveMind
>
> Professional Tapestry training, mentoring, support
> and project work.  http://howardlewisship.com
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: [EMAIL PROTECTED]
> For additional commands, e-mail: [EMAIL PROTECTED]
>
>


--
Jesse Kuhnert
Tacos/Tapestry, team member/developer

Open source based consulting work centered around
dojo/tapestry/tacos/hivemind.




--
Howard M. Lewis Ship
TWD Consulting, Inc.
Independent J2EE / Open-Source Java Consultant
Creator and PMC Chair, Apache Tapestry
Creator, Apache HiveMind

Professional Tapestry training, mentoring, support
and project work.  http://howardlewisship.com

---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]

Reply via email to