Yes, it works now because you have one gbean and pretty much one function to check for the right provider. But as soon as we start adding ejb support and service-ref support you will have multiple gbeans and multiple functions to add that check in. The check itself is not a lot of code or anything but as our code evolves somebody will forget to add it in or will put it in a wrong place. I just think that disabling a module is much safer, more efficient, and requires no code changes (unless of course I'm misunderstanding something).
Jarek On 2/11/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote:
Jarek, I've been testing the whole day long, it's working for me. -- dims On 2/11/07, Jarek Gawor <[EMAIL PROTECTED]> wrote: > Dims, > > I don't think that alone will work. I think we need to stop the entire > cxf-deployer/car or axis2-deployer/car modules to deregister several > gbeans. Basically what Lin Sun was saying which can either be done by > changing the config.xml file or through the console today. So I > believe the changes you made are unnecessary and won't quite work. > > Jarek > > On 2/11/07, Davanum Srinivas <[EMAIL PROTECTED]> wrote: > > Found a spot in WebServicesBuilder.configurePojo where i can skip > > stuff. will try to use that. > > > > thanks, > > dims > > > > On 2/11/07, David Jencks <[EMAIL PROTECTED]> wrote: > > > > > > On Feb 11, 2007, at 6:28 AM, Davanum Srinivas wrote: > > > > > > > Dain, > > > > > > > > Just reviewed the code in OpenJPA. Am going to try to add some similar > > > > switch Keying off of javax.xml.ws.spi.Provider (defined by the JSR) > > > > and specific implementations are org.apache.cxf.jaxws.spi.ProviderImpl > > > > and org.apache.axis2.jaxws.spi.Provider. It's getting to be very > > > > annoying to keep changing the plan.xml/pom.xml/config.xml before > > > > debugging. One question am not sure is if i make these changes in > > > > corresponding deployers, will that be enough? > > > > > > I think so. If not we'll deal with it when problems show up. > > > > > > thanks > > > david jencks > > > > > > > > > > > thanks, > > > > dims > > > > > > > > On 1/11/07, Dain Sundstrom <[EMAIL PROTECTED]> wrote: > > > >> It would be very nice if this could work like JPA where I set a > > > >> single property in my application to switch implementations. > > > >> > > > >> -dain > > > >> > > > >> On Jan 11, 2007, at 1:16 PM, Matt Hogstrom wrote: > > > >> > > > >> > I am not overly knowledgeable about WebServices so I'll bear my > > > >> > ignorance directly. Given that we'll have two options that users > > > >> > will be able to choose from is there some way to abstract CXF and > > > >> > Axis2 to a common point so users could install their preference > > > >> > through a plugin? It would certainly simplify the user experience > > > >> > as well as reduce the number of assemblies. Any CXF / Axis guys > > > >> > have thoughts on this? > > > >> > > > > >> > > > > >> > Matt Hogstrom > > > >> > [EMAIL PROTECTED] > > > >> > > > > >> > > > >> > > > > > > > > > > > > -- > > > > Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services > > > > Developers > > > > > > > > > > > > -- > > Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers > > > -- Davanum Srinivas :: http://wso2.org/ :: Oxygen for Web Services Developers
