Lars Aaslin [
https://community.jboss.org/people/aslin] created the discussion
"Re: Implementing RESTful views of an EJB with local interfaces"
To view the discussion, visit:
https://community.jboss.org/message/758660#758660
--------------------------------------------------------------
Solved the problem. Removed @Local({FileServiceLocalBusiness.class, FileServiceWs.class})
from the implementing class and put it in each business interface instead.
public interface FileService {
...
}
@Local
public interface FileServiceLocalBusiness extends FileService {
...
}
@Local
@Path("file")
@Consumes({ "application/json" })
@Produces({ "application/json" })
public interface FileServiceWs extends FileService {
...
}
@Stateless
public class FileServiceImpl implements FileServiceLocalBusiness, FileServiceWs {
...
}
--------------------------------------------------------------
Reply to this message by going to Community
[
https://community.jboss.org/message/758660#758660]
Start a new discussion in EJB3 at Community
[
https://community.jboss.org/choose-container!input.jspa?contentType=1&...]