aspose file tools*
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


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Java » EJB and other Java EE Technologies
Bookmark "Local/Remote Session Beans" Watch "Local/Remote Session Beans" New topic
Author

Local/Remote Session Beans

Michael Angelo
Greenhorn

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?
 
Consider Paul's rocket mass heater.
 
subject: Local/Remote Session Beans