This week's book giveaway is in the Cloud/Virtualization forum. We're giving away four copies of Cloud Application Architecture Patterns: Designing, Building, and Modernizing for the Cloud and have Kyle Brown, Bobby Woolf and Joseph Yodor on-line! See this thread for details.
Please can someone help me out. In EJB 2.1, a session can expose both local and remote client view. Does the same hold for 3.0. And will a 3.0 container support EJB 2.1 session beans that exposes both client views ?
Thanks
SCJA(Beta) SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCBCD 5.0 beta <br />The more practice we get, the better we are at the exams and in life in general. Pls join me at My DEN.
Does the same hold for 3.0. And will a 3.0 container support EJB 2.1 session beans that exposes both client views ?
EJB 3.0 session beans only expose a "business interface", there are no distinction between remote and local interfaces. However, all EJB 3 containers must provide support for EJB 2.1 remote and local interfaces (see EJB core specification section 3.6)
@Valentin Thanks for the correction. I am preparing for the SCBCD 5.0 beta exam. Deployed a 2.1 seesion bean that exposes both local and remote clien view on Sun Application Server 9.1. But was only able to call the remote interface from my client without any error. Or was it wrong to call both interfaces from the same client. Thanks
SCJA(Beta) SCJP 1.4 SCWCD 1.4 SCBCD 1.3 SCBCD 5.0 beta <br />The more practice we get, the better we are at the exams and in life in general. Pls join me at My DEN.
Originally posted by mi Mohammed: @Valentin Thanks for the correction. I am preparing for the SCBCD 5.0 beta exam. Deployed a 2.1 seesion bean that exposes both local and remote clien view on Sun Application Server 9.1. But was only able to call the remote interface from my client without any error. Or was it wrong to call both interfaces from the same client. Thanks
Yes it was wrong to call.How can you call a (local client view) bean from a remote client ? You need to call from a local client.
With Regards,<br /> Rajan<br />"Java Rocks"
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.