On Thursday 01 January 2009 3:46:38 pm skiitd wrote: > Hi, > I'm planning on migration to CXF from xFire (1.2.4). But I'm not sure about > the following: > 1) With xFire I'm using JSR 181 annotations without using JAX-WS stuff. I > basically inject JSR181HandlerMapping and Jsr181WebAnnotations as well as > my service impls in the spring config. > I want to use the same with CXF but am not sure if CXF has support for > JSR181 alone without going into JAX-WS. Simple front-end doesn't seem to > use annotations but then JaxWSServerfactoryBean seems coupled to JAX-ws. Is > it possible to use JSR181 alone? Nothing against JAX-WS though!
Already covered.... However, one note: the JSR181 thing in XFire was not actually JSR181 compliant. Thus, moving it over to JAX-WS might result in slightly different wsdl's generated and such. > 2) Is there anything similar to DefaultServiceRegistry and > RegistrationListener? If you get the bus, there is a ServerRegistry extension that records the servers: bus.getExtension(ServerRegistry.class); There is also the ServerLifeCycleManager: bus.getExtension(ServerLifeCycleManager.class) where you can register your listeners. (via spring is easiest) -- Daniel Kulp [email protected] http://dankulp.com/blog
