2 Replies Latest reply on Aug 14, 2009 4:27 PM by Israel Fonseca

    Seam for very small application

    Henki Lubis Newbie

      Hi, anyone have tried to develop seam for very small application (let say less than 10 pages) with tomcat ?
      Is this not overkill to use seam for such small application ? how about the EJB3, is it necessary to use it in small application ? Im thinking just to use standard jdbc/Connection pooling.


      How about configuration in Tomcat, any doc about this ? Anyone have small seam app sample that deployed under tomcat?

        • 1. Re: Seam for very small application
          Frank Upgang Newbie

          Hi,



          how about the EJB3, is it necessary to use it in small application ?

          EJB3 is optional, Seam works fine with JavaBeans.



          Anyone have small seam app sample that deployed under tomcat?

          Take a look at the seam jpa booking example (seam/examples/jpa/):



          This is the Hotel Booking example implemented in Seam POJO and Hibernate JPA.
          It can be deployed in JBoss AS 4.x, WebLogic, GlassFish, Tomcat (both with and
          without the EJB3 container).

          For a more complex example, see the demo application of 'Seam in Action': Open18. I think, it does not require EJB3, too.

          • 2. Re: Seam for very small application
            Israel Fonseca Apprentice

            Yes i did develop one (much more than one actually), and I think that Seam is EVEN better if you plan to use tomcat. Go without fear. If you plan to use JSF, i would say that Seam is ALWAYS the best choice. :)