Title: Meddelande
Hi!

I'm messing around a bit with the features for CMP EB, but I feel that I'm may
be somewhat lost in all the nice and neat tricks available..
 
Since I plan to use a session facade the value object generation suits me perfectly..
But how is the communication between the entitybean, the cmp layer and the valueobject
supposed to function?
 
Are the following workflows correct, or is there some better way to do this:
--- Retrieve data ----
1) Do lookup for home interface
2) Find appropriate bean using some finder method
3) Run getProjectValue() on bean to get VO matching the bean
4) Done w. this part. Start messing w. the VO
 
--- Store data ---
1) Do lookup for home interface
2) Find appropriate bean using some finder method
3) Run setProjectValue(ProjectValue p) on bean to get VO matching the bean
 
In the examples I looked at the getter and setter functions of ProjectValue were almost completely
empty. Am I supposed to "fill in the blanks" (transfer the info in the value object) manually or
is this function generated in some other file?
 
Exactly what is the purpose of the ProjectCMP file (CMP layer)?
When I look at it I get the feel that is may be some sort of "bridge" between
the CMP EB and the Value Object, but I'm way too unsure not to ask you people on the list!
 
I'm sure there are 100's of questions left for me to ask, but they'll have to wait!
 
Thanks /Fredrik

Reply via email to