• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

Please help me.

 
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
author
Posts: 14112
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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 ]
 
Don't destroy the earth! That's where I keep all my stuff! Including this tiny ad:
a bit of art, as a gift, the permaculture playing cards
https://gardener-gift.com
reply
    Bookmark Topic Watch Topic
  • New Topic