Download of eob-with-phoenix-0.10-src.zip (eob-with-phoenix-0.10-src.zip ( external link: SF.net): 3,641,712 bytes) will begin shortly. If not so, click link on the left.
Enterprise Object Broker is an alternative to EJB. It is the same idea but making the difference between remote and local objects nearly invisible.
Make your object model from normal Java interfaces and code an impl that fits it