File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes BEA/Weblogic and the fly likes EJB3 Session bean Superclass Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Products » BEA/Weblogic
Bookmark "EJB3 Session bean Superclass" Watch "EJB3 Session bean Superclass" New topic
Author

EJB3 Session bean Superclass

Vidhya Prabhu
Greenhorn

Joined: Jul 16, 2009
Posts: 1
Hello All!

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?

Thanks

Vidhya.
 
Don't get me started about those stupid light bulbs.
 
subject: EJB3 Session bean Superclass
 
Similar Threads
Java Beat Question - Q on transaction attributes
EJBCore_Spec errata?
Subclassing rules for Session beans
MDB and its strange inheritance
Lifecycle callback interceptor