When you think handle, think Remote

Local clients don’t need handles!

Local clients have no use for a handle, because handles are strictly for getting a savable (Serializable) object that knows how to reestablish communication with the Remote object.

LOCAL client view

image with no caption

A local client has a plain old Java reference to the home or component interface, so there’s no need for handles.

Get Head First EJB now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.