| Author |
Please help me.
|
Xyz Abx
Greenhorn
Joined: Jan 30, 2002
Posts: 12
|
|
Hi, I am new to OO and Design patterns. Please help me whether the following design is correct or not. In our application we are using entity beans for data base persistence, and session beans, plain java objects are wrappers or business components.We have one entity bean which represents one table in database and also have one method accept, which accepts visitor class do some thing on the collection of that entity bean.We are initiating and passing this visitor class to entity bean in the session bean(This is same as visitor pattern with plain java objects).Is this design is correct or anything wrong with it. Thank you, chada [ November 10, 2002: Message edited by: chada ]
|
 |
Ilja Preuss
author
Sheriff
Joined: Jul 11, 2001
Posts: 14112
|
|
I can't help you on the topic, but you might get more responses by a) posting in the "J2EE and EJBs" forum, and b) using a more descriptive subject (such as "EJBs and Visitor pattern") c) conforming with the JavaRanch Naming Policy [ November 11, 2002: Message edited by: Ilja Preuss ]
|
The soul is dyed the color of its thoughts. Think only on those things that are in line with your principles and can bear the light of day. The content of your character is your choice. Day by day, what you do is who you become. Your integrity is your destiny - it is the light that guides your way. - Heraclitus
|
 |
 |
|
|
subject: Please help me.
|
|
|