Win a copy of Head First Android this week in the Android forum!
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Tim Cooke
  • Campbell Ritchie
  • Paul Clapham
  • Ron McLeod
  • Liutauras Vilda
Sheriffs:
  • Jeanne Boyarsky
  • Rob Spoor
  • Bear Bibeault
Saloon Keepers:
  • Jesse Silverman
  • Tim Moores
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
Bartenders:
  • Piet Souris
  • Al Hobbs
  • salvin francis

EJB 2.1 in 3.0 Container

 
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Author & Gold Digger
Posts: 7617
6
IntelliJ IDE Java
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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)
 
MI Mohammed
Ranch Hand
Posts: 146
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
@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
 
Ranch Hand
Posts: 182
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator

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.
reply
    Bookmark Topic Watch Topic
  • New Topic