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();

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

XXXInterface xxx = new BusinesDelegateXXX();
All of life is a contant education - Eleanor Roosevelt. Tiny ad:
Why should you try IntelliJ IDEA ?

This thread has been viewed 992 times.

All times above are in ranch (not your local) time.
The current ranch time is
Jul 17, 2018 21:13:41.