• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

EJB Core specification 4.6.6 Session Beans Business Interface

 
Deepak Jain
Ranch Hand
Posts: 637
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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: 856
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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
    Number of slices to send:
    Optional 'thank-you' note:
  • 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 VI Editor Ubuntu
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • 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).
 
reply
    Bookmark Topic Watch Topic
  • New Topic