aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes A session bean class must not have a superclass that is itself a session bean class. Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Java 8 in Action this week in the Java 8 forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "A session bean class must not have a superclass that is itself a session bean class." Watch "A session bean class must not have a superclass that is itself a session bean class." New topic
Author

A session bean class must not have a superclass that is itself a session bean class.

Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
EJB Core Specification 4.6.2:
A session bean class must not have a superclass that is itself a session bean class.

I tested

Result:
Works fine:
23:37:32,312 INFO [STDOUT] Adding bid. bidder ID=20091297,item id=22 , bid amount=200.0
What is the specification trying to convey?


SCJP, SCWCD, SCBCD
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
Can someone please take time and respond this question.
Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
    
    5
Deepak,

Sorry for the delayed response...I have been on vacation.

The implemention you are using appears to be non-compliant.

Best regards,
Reza


Independent Consultant — Author, EJB 3 in Action — Expert Group Member, Java EE 6 and EJB 3.1
Deepak Jain
Ranch Hand

Joined: Aug 05, 2006
Posts: 637
This is third time in a row now.
Looks like one must not use jboss-4.2.3.GA.
The code was deployed with jboss-4.2.3.GA application server.
Please suggest a better application server which is completely compliant with ejb 3.0 specification.

Reza Rahman
author
Ranch Hand

Joined: Feb 01, 2005
Posts: 580
    
    5
Deepak,

Please see my response to one of the similar posts from you.

Best regards,
Reza
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: A session bean class must not have a superclass that is itself a session bean class.
 
Similar Threads
Need Help while running stateless session bean with Servelet bean client
Business method names must not start with "ejb".
hoq to make EJB interface using Netbeans
Session beans must not be final doubt.
Multiple postconstruct and predestroy methods.