Sunday, 17 April 2016

What patterns are used to improve performance and scalability of the application ?


Value Object (VO)
  • A serializable object which would contain lot of atomic values.
  • used as a course grained call which gets lots of data in one go (this reduces remote overhead).
  • is made serializable for it to be transferred between different tiers within a single remote method invocation.

Session Façade
  • hides the complexity of business components and centralizes the workflow.
  • provides course-grained interfaces to the clients which reduces the remote method overhead.
  • fits well with declarative transactions and security management.

Business Delegate
  • used to reduce the coupling between the presentation and business-logic tier.
  • provides a proxy to the façade from where one could call the business classes or DAO class.
  • can be used with Service Locator pattern for improving performance.

Service Locator
  • provides a solution for looking-up, creating and locating services and encapsulating their complexity.
  • provides a single point of control and it also improves performance.

No comments:

Post a Comment

Note: only a member of this blog may post a comment.