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.
  • 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:
  • Campbell Ritchie
  • Tim Cooke
  • paul wheaton
  • Paul Clapham
  • Ron McLeod
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Roland Mueller
  • Piet Souris
Bartenders:

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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic