1 Reply Latest reply on Sep 17, 2002 2:41 PM by Dain Sundstrom

    SessionBean or Plain Java Class

    Wallace Zou Newbie

      In a EJB solution, one business logic EJB(SessionBean) want to get a data-processing work done, there are two options:

      1) Create another session bean to perform this task, the main logic EJB will locate, create local interface then invoke a method.

      2) Create a Plain Java Class with a logic method, the lord EJB then directly create the object of the class then invoke the method.

      I am confusing this concern, I don't know which one can give us a achievement in performance.

      Thanks for your reploy,

      a13519