Discussions

EJB design: Inheritance in EJB

  1. Inheritance in EJB (2 messages)

    Hi,

    May i know can we create a EJB that inherit from another EJB.

    Purpose...
    To achieve code reuse in OO way.

    Scenario....
    We've created a Session Bean that model a business process,
    lster on , we have a new business process that need extra step in addition to the existing process.

    Can we just create a sub Session Bean to inherit from the base Session Bean.... of cause we need to create all the home and remote interfaces....

    tia

    Penn

    Threaded Messages (2)

  2. Inheritance in EJB[ Go to top ]

    Follow this thread.

    http://theserverside.com/discussion/thread.jsp?thread_id=1230

    -Paddy
  3. Inheritance in EJB[ Go to top ]

    Sure you can...