dcsimg
About applying Value Object pattern
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   ashish_arya
Posted On:   Sunday, April 29, 2001 04:56 AM

Sir please give me ur comments on applying the Value Object pattern((J2ee)You can find the details of the pattern at http://www.theserverside.com/resources/download.jsp) I see using value object pattern (J2EE pattern) very useful for my application but i have one query regarding giving responsibility of creating value objects. The pattern says in the end that value object creation should not be in entity beans. Does this mean that i should call fine grained methods of entity bean from factory session bean and then create value object from factory session bean and pass value object to client?? I'll appreciate if you reply my query at your earliest coz' i am very near to my deadline. Regards, Ashish Ary   More>>

Sir please give me ur comments on applying the Value Object pattern((J2ee)You can find the details of the pattern at http://www.theserverside.com/resources/download.jsp)

I see using value object pattern (J2EE pattern) very useful for my application but i have one query regarding giving responsibility of creating value objects.

The pattern says in the end that value object creation should not be in entity beans. Does this mean that i should call fine grained methods of entity bean from factory session bean and then create value object from factory session bean and pass value object to client??

I'll appreciate if you reply my query at your earliest coz' i am very near to my deadline.

Regards,

Ashish Arya

   <<Less

Re: About applying Value Object pattern

Posted By:   Anonymous  
Posted On:   Friday, June 1, 2001 05:54 AM

In a word, yes.


The entity should have accessor methods which can be used by the factory to gather all the information required in the value object.

About | Sitemap | Contact