5 Replies Latest reply on Oct 19, 2005 9:35 AM by dornus

    Where do helper classes go?

    dornus Novice

      From what I understand of EJB3:
      -.par is for classes that persist to the database
      -.ejb3 is for performing business logic on .pars or other .ejb3s
      -.war is for web related classes

      Where do helper classes go? For example, a Paging Bean which remembers which page is currently displayed, how many rows to display per page, etc...

      Obviously this is not stored in the database, so it does not belong in the par file.

      If I put a paging bean in the war file, then I cannot access it from the ejb3 file.

      Do I make it a stateful bean in ejb3? Is there somewhere else it goes?