• Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Page 86 HFEJB question

 
Nick Bauman
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Kathy and Bert,
If I take the Business Interface approach (discussed on page 86 HFE), I can reap the benefits of using refactoring tools like those found in IntelliJ and Eclipse, even with CMP 2.0 Entity Beans, which must be declared abstract.
The only fly in the ointment that I'm finding is that this Business Interface is an all-or-nothing thing in terms of Local vs. Remote. The Business Interface must declare a throws RemoteException or not, depending on whether it has a Local or Remote API. Am I missing something or is there a nice way to get the type safety and flexibility on in-container vs out-of-container clientele?
Thanks
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic