This week's book giveaway is in the OCAJP forum. We're giving away four copies of Programmer's Guide to Java SE 8 Oracle Certified Associate (OCA) and have Khalid A Mughal & Rolf W Rasmussen on-line! See this thread for details.
Could Any1 help me with EJB3 spec 4.6.2:
The session bean class may have superclasses and/or superinterfaces. If the session bean has
superclasses, the business methods, lifecycle callback interceptor methods, the timeout callback
method, the methods of the optional SessionSynchronization interface, the
Init or ejbCreate<METHOD> methods, the Remove methods, and the methods of the
SessionBean interface, may be defined in the session bean class, or in any of its superclasses.
A session bean class must not have a superclass that is itself a session bean class.
The problem is that we are migrating from ejb2 to ejb3 and in our project we have session bean class extending session bean class which violates above spec. Now I am using weblogic 10.3 which shows this error but this works fine with JBoss 4.
Can anyone provide me with a solution? Is it possible in anyway to get methods of sesssion bean class inherited?