1 Reply Latest reply on Oct 31, 2001 12:26 AM by schaefera

    SLSB to helper classes.

    tsawan

      Hi,

      I have a project which only have Stateless session beans (SLSB) with xml using DAO.
      Couple of these beans have turned out to be very simple utility/helper classes. So, question is if there's any disadvantage of converting them to simple java classes with static helper methods. We do expect thousands of users calling these beans/classes but having only static methods means I dont need to worry about object-creation, pooling or lifecycle management.

      I appreciate your feedback.
      /tahir

        • 1. Re: SLSB to helper classes.
          schaefera

          This should work fine. I used this in JBoss as well as BEA Weblogic 5/6. The only thing you can maybe run into is that there is no guarantee that all EJBs instance are in the same JVM.

          Have fun - Andy