from sectino 16.4.1.2 of
ejb 3.1 specs consider given snippet of code
earlier the resources minEcemptinos and maxExceptions are declared as below :
@Resource
int minExceptions; // now in this case the jndi name will be defaulted i.e.
java:comp/env/<fully qualified classname>/minExceptions
now when we will do jndi lookup insted of myEnv.lookup("maxExcemptions") should give an exception right ? we should use myEnv.lookup("<fullyqualifiedclassname>/minExcemptions . am i right or i am missing something ? Please help
Thanks