This week's book giveaway is in the OO, Patterns, UML and Refactoring forum.
We're giving away four copies of Refactoring for Software Design Smells: Managing Technical Debt and have Girish Suryanarayana, Ganesh Samarthyam & Tushar Sharma on-line!
See this thread for details.
The moose likes EJB and other Java EE Technologies and the fly likes Local/Remote Session Beans Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login

JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Local/Remote Session Beans" Watch "Local/Remote Session Beans" New topic

Local/Remote Session Beans

Michael Angelo

Joined: Jun 19, 2009
Posts: 2
I understand that different code needs generated for @Local vs. @Remote EJBs, but what if you don't know where they will reside? I've always believed that a strength of EJB is the ability to offload business rules from the application server to possibly its own server.

I was thinking that a deployment descriptor could determine this, but then I realized that the code would have references to @CustomerLocal and @Customer each representing the bean on different servers.

Any thoughts?
I agree. Here's the link:
subject: Local/Remote Session Beans
It's not a secret anymore!