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.
-
how to desgin data-model layer (1 messages)
- Posted by: Edward Zhang
- Posted on: February 25 2002 11:11 EST
Threaded Messages (1)
- how to desgin data-model layer by Neeraj Nargund on March 04 2002 14:19 EST
-
how to desgin data-model layer[ Go to top ]
- Posted by: Neeraj Nargund
- Posted on: March 04 2002 14:19 EST
- in response to Edward Zhang
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.
ex
BusinessModel implements BusinessInterface{
.. all busniess methods
}
BusinessInterface{
method signnatures
}
EJBBEan extends BusinessModel{
all bean methods
}
Have i got you question right...?