So basic support is now in for the IntraVM server (OPENEJB-92,
OPENEJB-93). For the individual containers, I ended up creating a
standard BusinessLocalHome interface and BusinessRemoteHome
interface. These serve to sort of adapt the business interface
concept into the existing code. That seemed to be the path of least
resistance.
So now there are two new JNDI Reference types. When getObject is
called on them they simply call BusinessLocalHome.create() and return
the business object proxy. I'd put the business interface proxies
themselves right into JNDI to start with -- which we could
potentially do for stateless -- but for stateful the act of looking
it up creates the proxy. The thing that would stop us from putting
the stateless proxies in JNDI to start with is that the current mode
of operation is that we will invalidate the proxy if a system
exception is thrown (either by the bean, the server, or the client
itself).
Not sure how all this is going to play out in the remote protocol
(OPENEJB-91). We'll see. Off to work on that next.
-David
- Business Interface support David Blevins
-