suppose i have 2 beans implementing remote interface. from bean1 i invoke method on bean2 in which i pass some POJO object(persistant). In remote beans object are passed by value ,right ?? so if i want to retrieve changes made in bean2 method i have to pass my object back from bean2 ?? eg.
Account a = new Account();
a = bean2.changeAccount( a );
this retrieves changed object.
is there another way of retrieving changes made in bean2 ??