Win a copy of Learn Spring Security (video course) this week in the Spring forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

business methods & EJBHome interface

 
Edward Chen
Ranch Hand
Posts: 798
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi, I want to know which kind of business methods are better to put in the EJBHome interface ?
I read an EJB book. There one business method updateAll() is put in the EJBHome interface, not in the EJBObject interface . I don't know why, as you know, business method should be in the EJBObject.....
Thanks.
Edward
 
Lasse Koskela
author
Sheriff
Posts: 11962
5
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
That's not a business method. It's a home method, which is like a "static" method for EJB classes (shared between all instances)...
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic