Sacha Labourey wrote: > Just an idea... > > Why not providing a helper class that would build smart proxies. > > The client code is implemented like if it was acting against the source > class but it would need to use the helper factory to create the bean instead > of using the new operator. The helper factory would access JNDI, get the > home, get the remote a forward the requests, masking the RemoteException. > i.e. > > > MyDumyClass myObj = (MyDumyClass)EasyEJBHelper.createInstance > (MyDumyClass.class); > > myObj.doThis (); > myObj.doThat (); > > So we would wrap the server proxy in a client proxy built by the > EasyEJBHelper. MyDumyClass is the bean implementation that is dropped in > /deploy for example.
If the RMI team heard you they would kill you ;-) /Rickard ps. Refer to the "notes on distributed computing" by Waldo et. al for details -- Rickard Öberg _______________________________________________ Jboss-development mailing list [EMAIL PROTECTED] https://lists.sourceforge.net/lists/listinfo/jboss-development