views:

33

answers:

1

We want to achieve following things:

  1. Create Abstract Stateless session bean
  2. Create stateless bean by extending the above bean.
  3. In Service class, based on type container will inject appropriate ejb bean
A: 

Here is what I suggest:

  1. Create an Abstract Stateless session bean.
  2. Create Stateless Session Beans by extending the above bean.
  3. In Service class, inject appropriate EJB bean based on type.

If you face a specific problem, ask a more specific question.

Pascal Thivent