On Fri, 20 May 2011 13:27:23 -0300, Dan Weber <d...@marketsoup.com> wrote:
Hi Thiago,
Hi!
One of the big benefits of tapestry in how I use it is to be able to
dynamically generate bean forms from dynamically generated types. Due
to the fact that tapestry uses its own classloader hierarchy (esp.
limited at javassist) it can't use types generated by other classloaders
that were generated on the fly. To work around this, I had to literally
use ClassFactory/ClassFab and implement the methods as required to
support my bean generation, because I could not use CGLIB's
BeanGenerator no matter how many tries I made at making it go with
different classloaders, etc.
Now I got it. :) Which version of Tapestry are you using? 5.2 has less use
of Javassist and 5.3 will have none. Are you generating these classes
yourself? You should check Plastic, the package used in 5.3 to replace
Javassist in Tapestry.
--
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,
and instructor
Owner, Ars Machina Tecnologia da Informação Ltda.
http://www.arsmachina.com.br
---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org