Composite Pattern in j2ee???

Discussions

EJB design: Composite Pattern in j2ee???

  1. Composite Pattern in j2ee??? (3 messages)

    Has anybody made any experinece or even come up with a solution to implementing the Composite Pattern using EJB's?! We have to model a Catalog, that consists of Categories an Products - Categories can contain Products and other Categories - so using Composite is obvious, although I don't have the slightest Idea how to map this Pattern to EJB's. Anybody else having an idea?!

    Threaded Messages (3)

  2. Composite Pattern in j2ee???[ Go to top ]

    COMPOSITE AS IN MULTI TABLES
    USE VIEWS.
    PLEASE CORRECT IF I GOT IT WRONG.
    SAHIL
  3. Composite Pattern in j2ee???[ Go to top ]

    Check the design pattern java companion by james w cooper
    for an example.
  4. Composite Pattern in j2ee???[ Go to top ]

    Yes, nice link: cooper has all the things I would want to see in the next edition of Design Patterns: However, the book lacks an example using ejb's - I don't think, that implementing the pattern using Ejb's will be all trivial (Just look at the Implementation of the Observer-pattern) - but i Think i will know more next week (just have to try if it maps simple or complicated...)