3 Replies Latest reply on Apr 11, 2007 2:25 PM by javasmith

    Seam and Jetty

    sammy8306

      Is there any way to create web applications using Seam that can be deployed using Jetty? My aim is to use EJB3 (but not container managed) and Seam as the backend for an application generator. Howeverm, I would like the resulting .war's to be self-sufficient, meaning that all dependencies are bundled. The .war's should be as portable as possible between different servlet containers. Is this possible?

      Thanks,

      Sander

        • 1. Re: Seam and Jetty

          It is possible. There are some guys at software.softeu.cz who host a maven 2 repository of seam and related dependencies. If you build a maven 2 project using one of their archetypes, http://software.softeu.cz/archetypes/, then they provide a jetty target which will build your project, start jetty, and deploy your project to it. You just type "mvn jetty:run".

          So, you could either start a new project using one of their archetypes, or you could do up a sample project, run the mvn jetty:run command, and examine the generated output, and then apply that back to your own project.

          • 2. Re: Seam and Jetty
            sammy8306

            Thanks, I'll check it out. Maybe for learning Seam (it's all pretty new to me) it is better to stick to JBoss AS at first though.

            • 3. Re: Seam and Jetty
              javasmith

              Using the archtypes mentioned above, there are still problems incorporating EJB3 with jetty, it seems it's still on the TODO list.