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 ]