[Logo]
Forums Register Login
Session Facade, Business Delegate
How is Session - facade different from each other.. as per my understanding they both are to provide simpler interface to the client
business delegate usually talk to Session Facade.
Any further explanations?
BusinessDelegate client interface to underlying business components.

For example if SessionFacade A is a business component then BusinessDelegate BDa is a helper object which implements the same interface as as A.

For client it is transparent to use A or BDa but all the JNDI lookups and remote calls are hidden in BDa.

Typical usage of BD is :

BusinessDelegateXXX xxx = new BusinesDelegateXXX();
xxx.someCall(x,y,z);

You see? No try-catch, no JNDI lookup!
There is small mistake in previous post.
Should be:

XXXInterface xxx = new BusinesDelegateXXX();
xxx.someCall(x,y,z);
Wink, wink, nudge, nudge, say no more ... https://richsoil.com/cards



All times above are in ranch (not your local) time.
The current ranch time is
Nov 18, 2017 05:19:26.