I'm using jpa+hibernate on glassfish 3.1.1 . I found that cglib is buggy and don't work with jersey so I'm obliged to change to javassist . how can i do that ? I tried ...