I hear about using the facade design pattern with remoting but I can’t see the relation between these 2 concepts or how facade would help in remoting scenarios.
Can anyone shed some light on this?
Thanks
Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.
Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.
Lost your password? Please enter your email address. You will receive a link and will create a new password via email.
Please briefly explain why you feel this question should be reported.
Please briefly explain why you feel this answer should be reported.
Please briefly explain why you feel this user should be reported.
The Facade contains code to implement the remoting, then forwards requests to whatever code handles your “business logic.” This means that your business logic code is free of remoting stuff. This keeps it simpler and also lets you use the code in non-remote contexts, e.g. in unit tests or with a GUI front-end.