ejbCreate(attrib1, attrib2, attrib3..) or ejbCreate( ValueObject ) ?

let me post just one more question..what style of passing attributes to ejbCreate is recommended? coarse or fine-grained?regards
[149 byte] By [100698a] at [2007-9-29 9:44:04]
# 1
I use coarse all the time.
dhinojosaa at 2007-7-14 23:15:21 > top of Java-index,Other Topics,Patterns & OO Design...
# 2

hi

That's what I found in Floyd Marinescu "EJB Design Patterns":

"Don't get and set Value/Data Tranfer Object on Entity Beans"

It is about that DTO should be used for communication only between tiers.

I guess that DTO is the same as VO, right?

If so, setting VO on Entity Beans should be deprecated pattern, right?

regards

maciek zywno

100698a at 2007-7-14 23:15:21 > top of Java-index,Other Topics,Patterns & OO Design...