Win a copy of Functional Reactive Programming this week in the Other Languages forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

EJB Core specification 4.6.6 Session Beans Business Interface

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator


EJB Core specification 4.6.6 Session Beans Business Interface.
1) The interface must not extend the javax.ejb.EJBObject or javax.ejb.EJBLocalObject interface.
2) The throws clause should not include the java.rmi.RemoteException.

The code given violates the above two points from specification.

Can someone explain what is wrong ?
****************************************
---------------
Environment
---------------
EJB Version : 3.0
Application Server: JBOSS 4.2.3.GA
J2SE: 1.5 or 5.0
OS: Windows XP
 
Amandeep Singh
Ranch Hand
Posts: 850
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I too see, it is a clear violation as per your code presented. Can you give me page no. on book, so that i can also confirm.
 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hello,
Its not from the book. My suspicion towards jboss-4.2.3.GA grew so much that i decided to test each and every point mentioned in ejb 3.0 spec.
I think the message of not using jboss-4.2.3.GA must be communicated to all guys preparing for SCBCD.

 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
JBoss is by no means a reference implementation of the spec. You should use Glassfish instead (although it appears that it's not 100% spec friendly either).
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic