Win a copy of Java Mock Exams (software) this week in the Programmer Certification (OCPJP) forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic

HFB SFSB

 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Reference: Head First EJB
page 125
Last point under Rules for the home interface
--> For SFSB arguments must be RMI-IIop compatible.
Is it not true with State Less SB also?
Thanks,
Santosh
 
Roger Chung-Wee
Ranch Hand
Posts: 1683
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
A stateless session bean's create() method has no arguments, so the issue of RMI-IIOP compatibility is not relevant.
 
Santosh Ramachandrula
Ranch Hand
Posts: 252
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Thanks Roger!
I got it!

May be I was not paying attention to the word "Rules for Home Interface "
 
Vishwa Kumba
Ranch Hand
Posts: 1066
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Apart from the one and only create() method, there are no other methods declared in the home interface of an SLSB!
 
It is sorta covered in the JavaRanch Style Guide.
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!