11 Replies Latest reply on Jul 19, 2006 7:47 AM by maxandersen

    Eclipse - Dynamic Web Project

    mrwhite

      Hello everybody,
      i really would like to start playing with seam, but the whole configuration stuff is very frustrating. is there a complete HOWTO for setting up a dynamic webproject with seam support?

      i saw the flash tutorial, but i need a simple standalone dynamic web project without ant skripts. I added JBoss AS to my servers, so i dont need an ant script for server deployment.

      I mean there is a nice support in the webtoolsproject why dont just use it?

      thanks for any links or suggestions.

      PS: the myeclipse team has nice support for other frameworks where you just have to "add {framework_name} support" and you have a clean new dynamic web project.

        • 1. Re: Eclipse - Dynamic Web Project
          maxandersen

          "I mean there is a nice support in the webtoolsproject why dont just use it?"

          Was this a question for us or just a statement of the obvious ? :)

          We want to extend on top of WTP, but currently our biggest issue have been to "bend"/use WTP in an efficient way (e.g. exploded deployment etc) - if anyone has good/concrete experience with thys then please speak up.

          • 2. Re: Eclipse - Dynamic Web Project
            maxandersen

            ...oh and the most annoying thing; WTP has this hard requirement that each j2ee artifact has to be in different non-nested projects .....annoying.

            • 3. Re: Eclipse - Dynamic Web Project
              jbpmndc

              Seam and jBPM are truly innovative products and I want them to gain in popularity so that I can use them on future products. Therefore I think it's important for people with more experience to be understanding of early adopters and help them or at least not say things that may offend them.

              my 2 cents

              • 4. Re: Eclipse - Dynamic Web Project
                mrwhite

                forget the statement, i know that you are working on this.

                i am just a little bit frustrated about the complicated deployment for a simple webapplication. i am not a "certified java ee deployer" ;-)


                I just thought there are any links or articles that cover this topic to get things done.

                • 5. Re: Eclipse - Dynamic Web Project

                  Maybe this wiki will help you out.

                  http://wiki.jboss.org/wiki/Wiki.jsp?page=JBossSEAMGen

                  The quick start part is a little scant on details, but I do think you'll find the code-gen CLI useful until decent IDE plugins arrive.

                  James

                  • 6. Re: Eclipse - Dynamic Web Project
                    mrwhite

                    I tried it and it works really well. It should be added to the "Getting started" Page.

                    • 7. Re: Eclipse - Dynamic Web Project
                      maxandersen

                      eh sorry - i don't get how my question were offensive ? I were really just trying to understand if you were asking why we did not do it or you were stating that it would be the obvious choice.

                      Regarding jbosseamgen that is something we want to continue extend on; but I hope to find a way so the generated projects can work together with WTP - that was why I were asking if someone wanted to speak up and talk about their experiences.

                      • 8. Re: Eclipse - Dynamic Web Project
                        denis-karpov

                        I just want to add some ideas about running and debugging seam application (any jBoss application) in Eclipse environment without tedious constant redeployment.
                        http://wiki.jboss.org/wiki/Wiki.jsp?page=EclipseSeamAutoDeploy

                        • 9. Re: Eclipse - Dynamic Web Project
                          maxandersen

                          hi denis,

                          Thanks for writing the wiki about it.

                          I just don't get your last comment:

                          "Note, now you can even change you code "hot". If it is not break interface your changes will start working immediately after saving."

                          That should only be possibly if you are remote debugging the jboss server, correct?

                          The exploded directories will "just" help in context of web page changes etc. being instantly available and if you change the descriptors jboss will auto deploy....

                          ..or am i not seeing something that you do ? :)

                          • 10. Re: Eclipse - Dynamic Web Project
                            denis-karpov

                            When you change your java code and save it. Eclipse will copy *.class to the directory that is observed by jBoss server. And server tries to catch your new *.class. Of course, if you change method signature or class definition server fails to deploy new one. And continue to work with the old copy until restart. And even in this case you do not need to redeploy. Just restart server.

                            But if you change only the body of a method your code starts to work immediately.

                            • 11. Re: Eclipse - Dynamic Web Project
                              maxandersen

                              Are you sure ? :)

                              I've been told many times that jboss does not reload individual classes.....but according to you it does ?

                              Guess i'll have to try it to belive it ;)