"japase" wrote :
| But I still have problems with EJB injection in my web service
|
| An example of how our web service looks like:
|
|
| | @WebService
| | public class BTestHandler
| | {
| | @EJB
| | private ifs.application.btestservice.BTestHandlerLocal local;
| |
| |
| |
|
|
After reading a few related posts, i realize that injection in webservice is supported
only for EJB3 endpoints
http://www.jboss.org/index.html?module=bb&op=viewtopic&t=126665#4...
Which means that you should additionally annotate the WebService as a @Stateless
@Stateless
| @WebService
| public class BTestHandler
| {
| @EJB
| private ifs.application.btestservice.BTestHandlerLocal local;
|
|
View the original post :
http://www.jboss.org/index.html?module=bb&op=viewtopic&p=4225538#...
Reply to the post :
http://www.jboss.org/index.html?module=bb&op=posting&mode=reply&a...