Hello,
Say suppose i want to develop a multi tiered web application with presentation on 1 server, business logic on 1 server and database on 1 server, thus 3 servers altogether. But my all beans reside on single server ie 2nd server, so should i mark my beans as @Remote? or @Local? because my presentation is on 1st server and it will call bean on 2nd server. So, different JVM altogether.
Means i did not understand by *clients*. Clients in this case will be my JSF managed bean located on different server (so different JVM). So, you mean i should mark them as @Remote?
The caller of every bean is a "client" for that bean. If this client "lives" inside the SAME JVM you can use @Local. If it's not in the SAME JVM you have to use @Remote.