Win a copy of Think Java: How to Think Like a Computer Scientist this week in the Java in General forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

Local/Remote Session Beans

 
Michael Angelo
Greenhorn
Posts: 2
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
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?
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic