tomee-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From ZhongGuan <>
Subject use @alternative in jax-rs end-point
Date Tue, 01 Oct 2013 12:20:21 GMT

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"

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

such as
public class HelloWorldServiceImpl implements HelloWorldService {

public class HelloWorldBServiceImpl implements HelloWorldService {


View this message in context:
Sent from the OpenEJB User mailing list archive at

View raw message