3 Replies Latest reply on Feb 20, 2009 4:40 PM by nightnic

    What is best seam project type?

      There are lots of mentions about choosing war or ear seam projects under different circumstances. Could someone clarify, which option is best for what  environments?

        • 1. Re: What is best seam project type?

          It is simple, use EAR if you want to use EJBs, use WAR if you don't. Read about the difference between EJBs and POJOs here.

          • 2. Re: What is best seam project type?
            blabno

            I use WAR during development for it allows hotswap of most of components. When everything is ready i'm going to move to EAR to convert action beans into EJB session beans (i hope this will increase performence).


            If you write small app and you do not care about extra services from EJB container then use WAR for it is easier (you may run in class loading issues and other delicate issues with EAR).

            • 3. Re: What is best seam project type?

              Thanks, that was what I need to know. I'm not sure whether converting pojos to ejbs goes easily, but seems like I'm sticking to war option for a while.