You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@tomee.apache.org by Jacek Laskowski <ja...@laskowski.net.pl> on 2007/09/30 10:22:40 UTC

Re: Installer-free Tomcat plugin

On 9/30/07, Dain Sundstrom <da...@iq80.com> wrote:
> Ever since Dario pointed out that OpenJPA doesn't need a javaagent
> when on Java6, I've been wanting to try to get the Tomcat plugin
> working without the installer.  The two main tasks are getting
> OpenEJB to run on Java6 and finding a work around for the bad
> annotation-api.jar in Tomcat.  This morning it occurred to me that we
> can avoid the bad Tomcat PersistenceContext annotation using if we
> read the annotation data from the byte code directly using ASM. This
> completely bypasses the bad class.  I coded up this work around this
> afternoon, and it works like a charm.
>
> So this leaves Java6, which I'm gonna work on next week.  With any
> luck, we can make the installer step a completely optional
> performance optimization.

...and it makes me wonder how to work with Dain hand in hand when he
wakes up and comes up with ideas *I* could not even understand :P

Jacek

-- 
Jacek Laskowski
http://www.JacekLaskowski.pl