1 Reply Latest reply on May 15, 2008 8:21 AM by Dimitris Andreadis

    EJB 3.0 MIgration performance

    prakash Dumbre Newbie

      We are migrating our application from ejb2.0 to ejb3.0 using annotations. we migrated most of the stateless session bean in ejn3.0 simply removing the life-cycle mehod which was in EJB2.0 and added following 3 line in each stateless session bean.

      @Stateless
      @TransactionManagement(value=TransactionManagementType.CONTAINER)
      @TransactionAttribute(value=TransactionAttributeType.REQUIRED)

      But when we deployed in JBOSS we got slow performance. We also observed that while processing the application JVM taking too much RAM and running very slow. We removed all deployment descriptor from the application beceause it is optional in EJB3.0.We are suspecting that trnsaction taking too much time.
      When we processing our application it is taking time for each ejb method. We could not able to find the cause behind this error. The performance is not good

      --prakash--