Thiago,

With regard to accessing the Tapestry API to dynamically add fields / methods / 
annotations to classes at runtime - would you be able to give some advice on 
where to start / where to look to perform these ops on classes Tapestry 
controls?  I see from some of Howard's recent blogs that he is trying to phase 
out javaassist in favour of an 'advice' approach ...

Thanks,
Jim.

-----Original Message-----
From: Thiago H. de Paula Figueiredo [mailto:thiag...@gmail.com] 
Sent: 04 March 2010 20:34
To: Tapestry users
Subject: Re: offtopic: javaassist for injecting annotations?

On Thu, 04 Mar 2010 17:27:25 -0300, Alfonso Quiroga  
<alfonsose...@gmail.com> wrote:

>> Why not just adding the annotations to the sources?
> Are you refering to hibernate-annotations?

Yes.

> I add annotations to the source, but not hibernate ones. I use other  
> "simpler" which finally generate
> hibernate annotations (at runtime).

IMHO, this solution is more complex than just using JPA annotations.  
They're very simple already.
Are theses simples annotations part of some public package?

> One example, If a Person has a list of Address, it's not necesary any
> annotation, it will automatically add "one2many". It's not a big tool,  
> it's
> just simplifing. And thanks for clarifying that T5 uses it's own
> classloader.

Just for the classes it controls, not your services or entity classes, so  
I guess Tapestry is not interfering with your solution.

-- 
Thiago H. de Paula Figueiredo
Independent Java, Apache Tapestry 5 and Hibernate consultant, developer,  
and instructor
Owner, software architect and developer, 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


---------------------------------------------------------------------
To unsubscribe, e-mail: users-unsubscr...@tapestry.apache.org
For additional commands, e-mail: users-h...@tapestry.apache.org

Reply via email to