how to desgin data-model layer


EJB design: how to desgin data-model layer

  1. how to desgin data-model layer (1 messages)

    I am mixed-up. how to design ejb in real large-scale system.
    How to design data-model layer. Entity Bean or just javabean? I want to use data-model layer to shield the data object and supply only data logic.
  2. how to desgin data-model layer[ Go to top ]

    your entity bean should only have fileds that you want to persist.Work flow should be captured in a session bean.
    You will have to use multiple design patterns.Value Object,Session facade to name a few.
    BusinessModel implements BusinessInterface{
    .. all busniess methods
    method signnatures
    EJBBEan extends BusinessModel{
    all bean methods
    Have i got you question right...?