Hi,

can I use @alternative to change the jax-rs service?

I tested it in TomEE1.5.1 and GlassFish3.1.2.

in TomEE, there is no exception when I accessed the url.
but the @alternative does not work.

in GlassFish, when I accessed the url, I got the "Conflicting URI templates"
error.

Here is the question, Is it possible to use @alternative(CDI) to change the
jax-rs service?

such as
@Alternative
@Path("/HelloWorldService")
public class HelloWorldServiceImpl implements HelloWorldService {

@Alternative
@Path("/HelloWorldService")
public class HelloWorldBServiceImpl implements HelloWorldService {

thanks.





--
View this message in context: 
http://openejb.979440.n4.nabble.com/use-alternative-in-jax-rs-end-point-tp4665380.html
Sent from the OpenEJB User mailing list archive at Nabble.com.

Reply via email to