5 Replies Latest reply on Aug 17, 2007 2:24 AM by Max Rydahl Andersen

    Seam Facet and tomcat runtime

    roland olivier Newbie

      Hi,

      Project facet Seam Facet 1.2 is not supported by target runtime Apache Tomcat in RHDS.
      Are there any reasons for this ? Is this just for the seam-gen feature ?

      Seam + tomcat + JPA + RHDS (facelets visual editor, WTP hot deploy, debug, auto completion on seam components*) work very well here.
      (strangely even when seam facet is removed ??)
      So RHDS is already near perfect for Seam+facelets+tomcat+JPA project developement, access to the other seam features would be great.

      Is there a way to force Apache Tomcat runtime with Seam Facet ?
      If it can be done it should work for everything except the seam-gen feature . Correct me if i am wrong.

      Thanks.
      Olivier.





        • 1. Re: Seam Facet and tomcat runtime
          roland olivier Newbie

          It seems that if seam facet is enabled then removed, seam features still available. (This is probably a bug but very usefull here)
          I just make few modifications to the files generated by seam facet and everything work like a charm.

          RHDS is perfect for TOMCAT + SEAM 2 + FACELETS + JPA with WTP hot deploy and code completion in facelets.
          I'm sure that some people may be interested by that :-)

          Olivier.


          • 2. Re: Seam Facet and tomcat runtime
            Max Rydahl Andersen Master

            hi olivier,

            Thanks for the kind words ;)

            With respect seam facet not being enabled, then that is just because until JBoss 4.2 is the only runtime that provides the right set of libraries - in a future release will we enable it for others than just jboss.

            Do also note that currently the seam facet is purely used to generate a simple WTP project (that will deploy to jboss 4.2 and have wtp hotdeploy etc.) but that is it.

            If you have an existing project you can curerntly right click it and enable seam features on it and it doesn't even have to be a WTP project.

            In the future that enablement button will probably move to a preference page.

            That seam facelets doesn't disable the seam features is a bug - would be great if you could report it in jira. thanks.

            • 3. Re: Seam Facet and tomcat runtime
              roland olivier Newbie

              Thanks a lot for the detailed explanation. Very interesting.
              I will open a bug in JIRA as soon as I verify that the "problem" still occur in the last nightly build. Even if this bug has for me a nice side effect ;-)

              Thanks again. Keep up the good work.

              Olivier.



              • 4. Re: Seam Facet and tomcat runtime
                Fabricio Lemos Newbie

                 

                "max.andersen@jboss.com" wrote:

                Do also note that currently the seam facet is purely used to generate a simple WTP project (that will deploy to jboss 4.2 and have wtp hotdeploy etc.) but that is it.


                Does hot deploy work for EAR projects?

                • 5. Re: Seam Facet and tomcat runtime
                  Max Rydahl Andersen Master

                  define hotdeploy ?

                  wtp has a feature of automatic deployment if something changes.

                  if the deployment is done into an exploded dir that will work automatically on e.g. jboss for jsf, html etc.

                  If you want a complete restart to reload classes then that is not present in this release - but is on the roadmap.