I am using weblogic 11g and struts 2 and EJB 3 application I made datasource with the name testingds and jndi name jdbc/testing my persistence.xml is having entry like this ..
in the action class I kept
@EJB anotation what might be the problem my interface name is AccountInterface.
I am getting some error like this
javax.naming.NameNotFoundException: While trying to lookup 'AccountInterface.local' didn't find subcontext 'AccountInterface'. Resolved ''; remaining name 'AccountInterface/local'