Hi,

I have a working example of using the @EJB annotation in a servlet without any 
further attributes for remote and local interface.
Maybe there's some problem with your EJBs? Take a look at the JNDI view 
(http://localhost:8080/jmx-console), there you should find the JNDI names of 
your bean. If not, there's another problem.

One thing I noticed: you map your bean to a local interface, but the class name 
"VideoService" sound like a remote interface? Local interfaces should have the 
suffix "Local".

Best regards

Wolfgang

View the original post : 
http://www.jboss.com/index.html?module=bb&op=viewtopic&p=4181170#4181170

Reply to the post : 
http://www.jboss.com/index.html?module=bb&op=posting&mode=reply&p=4181170
_______________________________________________
jboss-user mailing list
jboss-user@lists.jboss.org
https://lists.jboss.org/mailman/listinfo/jboss-user

Reply via email to