difference between patterns

Discussions

EJB design: difference between patterns

  1. difference between patterns (2 messages)

    Hi,
     what is the difference between business delegate pattern and Value object pattern.

    Regards
    sundar
  2. Hi, what is the difference between business delegate pattern and Value object pattern. Regardssundar
    The purpose of Value Object pattern is to avoid multiple fine grained calls. You bundle the data required to execute a use case or part of a use case and send it to EJB(Session Facade).

    The business dlegate pattern reduces the coupling between client and ejb. Client will always use business delegate API rather than EJB API.

    Hope this helps !
    Senthil.
  3. difference between patterns[ Go to top ]

    For example if u have emp-name , emp-id and salary to be send to server (or in return) you will wrap them in a searializable object and send it through network.This is the value object pattern.
    In turn you may want to hide the internal implementation of ejb look up etc from the client , you will put them in a business delegate.The client will be interacting through the delegate .