6 Replies Latest reply: Mar 4, 2014 4:54 PM by Vijay Kannan RSS

EJB access restriction problem

Kevin Irmscher
Currently Being Moderated



NWCE 7.2:


I have a EJB in one SCA and a servlet in another SCA. I want to use the EJB in the servlet.

In the NWDS Development Infrastructure perspective I set the access restriction of the EJB to unrestricted. Then I added a dependency in the servlet in order to be able to access the bean. The servlet recognizes the bean classes but in the source code NWDS shows the error:


Access restriction: The type MyBean is not accessible due to restriction on required project MyBeanProject


Any idea how to set access control correctly or is the approach in general not correct?


Best regards,