1 Reply Latest reply on Aug 3, 2009 10:51 AM by peterj

    Using Eclipse for JBOSS AS Project? (with Facelets, JSF etc)

      Hi all - what version of Eclipse is recommended for app development under JBOSS AS 5. The app will use JSF, Facelets, EJB3 and maybe SEAM.

      I have downloaded the latest Eclipse Galileo (JEE version). However I'm not clear on what project type to create.. 'New Project' menu command lists project types like EJB, Java EE, Web. Or is there a separate version of Eclipse I should use for JBOSS development?

      Another question: (re edit, compile, deploy cycle) - Can I keep JBOSS AS running constantly and copy new .ear files to its deploy directory as I compile code edits. I think that will work and JBOSS will hot deploy the new build and start running it (hopefully..)

      But how do I then set breakpoints in the Eclipse Debugger to use the IDE debugger to debug code? Or should I be using the 'Debug' command from within Eclipse to somehow start the application in debug mode?

      thx
      David

        • 1. Re: Using Eclipse for JBOSS AS Project? (with Facelets, JSF
          peterj

          With version of JBoss AS 5? 5.1.0 or 5.0.x?

          Install the JBoss Tools 3.1.0 Eclipse plugin. The Tools team also provides a nice set of tutorials in their docs. http://docs.jboss.org/tools. The tutorials cover what types of projects to create, and how to add in extra functionality (called facets) to the project.

          Yes you can keep AS running constantly. Actually, you will create a server within Eclipse and run AS using that. However, there are times when you will need to restart AS.

          I am not sure if the Tools tutorials cover debugging, but there is an Eclipse tutorial on that topic (I think it uses Tomcat) but the steps are the same.