Anyone knows if it is recommended to implement Business Interface in EJB 2.0 ?
I was reading Monson-Haefel's 3rd edition of EJB book , and at page 463 it mentioned about the strategy of using Business Interface. However , the title indicates that this is an EJB 1.1 practice. It stops short of saying if using it in EJB 2.0 is recommended.
Any experiences out there to share ?
Thanks !
Kean
-
Implementing Business Interface in EJB 2.0 (3 messages)
- Posted by: Oon Kean Lin
- Posted on: May 08 2003 02:32 EDT
Threaded Messages (3)
- EJB 2.0- business interface by Kumar B on May 08 2003 12:13 EDT
- Implementing Business Interface in EJB 2.0 by Kiran Kumar on May 08 2003 13:51 EDT
- Implementing Business Interface in EJB 2.0 by Oon Kean Lin on May 12 2003 02:01 EDT
-
EJB 2.0- business interface[ Go to top ]
- Posted by: Kumar B
- Posted on: May 08 2003 12:13 EDT
- in response to Oon Kean Lin
Yes, implementing Business Interface is still applicable in EJB 2.0. This is done more from the design perspective.Meaning if your Beans and Remote Interfaces both implment the business interface then anytime there's change in the method signature it'll be consistent in the Bean implementation(EJBSEssion) and it's remote interface(EJBOBject).
Kumar -
Implementing Business Interface in EJB 2.0[ Go to top ]
- Posted by: Kiran Kumar
- Posted on: May 08 2003 13:51 EDT
- in response to Oon Kean Lin
Yes you can very much use the Business Interface in EJB2.0
If you are looking for a possible implementation of it and how it can be put to use in combintation with other J2EE patterns , you might want to look at Beyond Service Locator Pattern in the Patterns section of this site. -
Implementing Business Interface in EJB 2.0[ Go to top ]
- Posted by: Oon Kean Lin
- Posted on: May 12 2003 02:01 EDT
- in response to Oon Kean Lin
Thanks all. It's nice to get confirmations!