Only 48 hours left in the trailboss' kickstarter!

New rewards and stretch goals. CLICK HERE!



  • Post Reply Bookmark Topic Watch Topic
  • New Topic

EJB  RSS feed

 
Sujatha Rangarajan
Greenhorn
Posts: 23
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hi,
i came thro the following statemnt abt ejb,
can anyone explain it..

"The enterprise bean implementation is not supposed to implement the bean's RemoteInterface directly, so that clients cannot by mistake bypass the container-generated EjbObject that wraps the BeanImplementation and does implement the RemoteInterface. Yet we would like to have some compile time confirmation that our implementation implements all of the business methods advertised in the RemoteInterface."


Thanks,
 
Mike Keith
author
Ranch Hand
Posts: 304
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Yeah, that was one of the things that just didn't sit right about previous versions of EJB and that was fixed in EJB 3.0. In EJB 2.x you have to wait until the EJB compiler does the verification either at deployment or at EJB-compile time (if your server supports doing it in advance of deployment).

-Mike
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!