This content has been marked as final.
Show 2 replies
-
1. Re: Using Interfaces for Entity Beans
kabirkhan Dec 14, 2004 3:53 AM (in response to mduffy_lists)Look again :-)
In the examples it is the session beans that implement business interfaces, some of which are annotated @Remote.
A session bean with a business interface marked as @Remote instead of @Local can be accessed from outside the JVM. -
2. Re: Using Interfaces for Entity Beans
bill.burke Dec 14, 2004 8:45 AM (in response to mduffy_lists)The container will not do anything special for an entity bean implementing an interface tagged as @Remote. The entity beans in the tutorial are Serializable so that they can be detached and sent across the network in the examples.
Entity beans cannot be accessed remotely.
Bill