What is Business Delegate? Use? and what is Session Facade? use?

Showing Answers 1 - 3 of 3 Answers

Business delegate is a small java bean object which is used for make loose coupling b/w controller to model.Session facade design pattern in which palce session bean b/w model to contriller.why beacuse sesssion bean process the business logic . if you place business logic in model(entity beans) you loss the reusabiity of entity beans. if you place business logic within the controller?,this makes tightly coupling b/w model to?controller.

  Was this answer useful?  Yes

anju mishra

  • Nov 16th, 2005
 

i dont know abt bussiness delegate. but session facade is when one EJB calls other, other calls other. This process continues and is called session facade. it is used to handle multilpe EJBS.

  Was this answer useful?  Yes

shekhar singh

  • Jan 18th, 2006
 

we can think session facade as little extended form of DTO Data transfer object .both is used to transfer Data(Rows) from Entity -> Session ->jsp/servlet and vice versa. this class implements Serializable interface and has gettrs/setters for all the fields of undelying table.

  Was this answer useful?  Yes

Give your answer:

If you think the above answer is not correct, Please select a reason and add your answer below.

 

Related Answered Questions

 

Related Open Questions