Forums Register Login

EJB 2.1 in 3.0 Container

+Pie Number of slices to send: Send
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
+Pie Number of slices to send: Send
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)
+Pie Number of slices to send: Send
@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
+Pie Number of slices to send: Send
 

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.
You know it is dark times when the trees riot. I think this tiny ad is their leader:
a bit of art, as a gift, that will fit in a stocking
https://gardener-gift.com


reply
reply
This thread has been viewed 651 times.
Similar Threads
Doubts Regarding Questions of SCBCD5.0
EJB 3 Client View
Previous Versions of EJB and EJB 3.0
Appeared SCBCD5.0 Beta on Saturday
Which statement about EJB 2.x and EJB 3.0 API interoperability is correct?
More...

All times above are in ranch (not your local) time.
The current ranch time is
Apr 16, 2024 06:18:15.