[jboss-user] [JBossWS] - Re: Overriding InvocationHandlerFactory

zach.mabe@cox.com do-not-reply at jboss.com
Tue Apr 1 01:14:32 EDT 2008

Hoping I can entice some feedback with some more information.

I have created my handlers/factory and have successfully deployed them by placing them in a jar along with the meta-inf/services file in the server's lib directory (server/default/lib).  As long as my jar is alphabetically less than the jbossws-jboss42.jar, it works.  However, that strikes me as an odd requirement (the naming issue)

Placing it in jboss_home lib or lib.endorsed results a lot of NoClassDefFound Exceptions.  So the server/default/lib seems to be the only the way to force the override.

What I am trying to accomplish with this new handler/factory is the ability to (optionally) use spring managed beans for service impls.  Everything is working fine,  better than fine because Spring lets my JSE endpoints use resource and persistencecontext annotations without my own interceptors.  I'm just having a hard time selling concept of putting a jar named 1_myhandlers.jar (or something like that) in the server lib dir.  Is there a better way?


View the original post : http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4140324#4140324

Reply to the post : http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4140324

More information about the jboss-user mailing list