2 Replies Latest reply on Mar 12, 2009 7:30 AM by Thiagu Mariappan

    stateful vs stateless vs pojo conversation component

    Thiagu Mariappan Novice

      hi every one


      i am using the seam suggested conversation scope in my project.
      but i have the doubt for where we use stateful session bean ,stateless session bean and pojo.


      i am cleared about pojo. if we use the pojo we can't access ejp services and also we can run the project outside of ejb container.


      i am not cleared stateful and stateles session bean.


      when i need to use the stateful and stateless session bean . which one gives better perfomance , with correct memory management (without any memory leak).is there any profiler perfomance proof available.


      most of the java experts suggest to use the stateless session bean with long running conversaction is enough for maintain the state. is it correct .


      by
      thiagu.m