3 Replies Latest reply on Sep 14, 2007 3:04 AM by Richard Opalka

    Help with development environment

    Marcelo Leite Newbie

      Hi, i need help with a development environment.

      I need to use JAX-WS to develop some Web Services, but i need to prepare a productive environment to do this.

      I have some doubts on what tools to use to do this. Can i mix JBossIDE + ANT and use JBossAS 4.2.1 + JBossWS as JAX-WS implementation?

      Can someone help me with this?

      Thanks in advance!

        • 1. Re: Help with development environment
          Vishal Sharma Expert

          I wills say use ant, jboss 4.2.1 and jboss-ws 2.0.1.GA.

          If you use this in Eclipse or netbeans you should be fine

          Jboss-IDE - i'm not sure if they have anything for Jax-ws in it yet.

          I hope this helps.

          • 2. Re: Help with development environment
            Marcelo Leite Newbie

            Hi, thanks for your help, but i really need some more help.

            Could you give some tips on how to create this environment? For instance, what JARs from JBossWS should i use in my project, should i use EJB or POJO as Web Services...

            Is you have any link with this information...

            Best Regards

            • 3. Re: Help with development environment
              Richard Opalka Newbie


              here's my .classpath (Eclipse project file) I'm using (note, this classpath includes almost all jars even those you will not need at all)

              <?xml version="1.0" encoding="UTF-8"?>
               <classpathentry kind="src" path="src/main/java"/>
               <classpathentry kind="src" path="output/tests/wsconsume/java"/>
               <classpathentry kind="src" path="src/test/java"/>
               <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
               <classpathentry kind="lib" path="thirdparty/activation.jar"/>
               <classpathentry kind="lib" path="thirdparty/getopt.jar"/>
               <classpathentry kind="lib" path="thirdparty/javassist.jar"/>
               <classpathentry kind="lib" path="thirdparty/jaxb-api.jar"/>
               <classpathentry kind="lib" path="thirdparty/jaxb-impl.jar"/>
               <classpathentry kind="lib" path="thirdparty/jaxb-xjc.jar"/>
               <classpathentry kind="lib" path="thirdparty/jboss-common-core.jar"/>
               <classpathentry kind="lib" path="thirdparty/jboss-dependency.jar"/>
               <classpathentry kind="lib" path="thirdparty/jboss-j2ee.jar"/>
               <classpathentry kind="lib" path="thirdparty/jboss-logging-spi.jar"/>
               <classpathentry kind="lib" path="thirdparty/jboss-microcontainer.jar"/>
               <classpathentry kind="lib" path="thirdparty/jboss-remoting.jar" sourcepath="/home/ropalka/NotBackedUp/svn/jbossas/tags/JBoss_4_0_5_GA/thirdparty/jboss/remoting/lib/jboss-remoting-src.jar"/>
               <classpathentry kind="lib" path="thirdparty/jbosssx-client.jar"/>
               <classpathentry kind="lib" path="thirdparty/jboss-xml-binding.jar" sourcepath="thirdparty/jboss-xml-binding-sources.jar"/>
               <classpathentry kind="lib" path="thirdparty/mail.jar"/>
               <classpathentry kind="lib" path="thirdparty/servlet-api.jar"/>
               <classpathentry kind="lib" path="thirdparty/stax-api.jar"/>
               <classpathentry exported="true" kind="lib" path="thirdparty/wsdl4j.jar" sourcepath="thirdparty/wsdl4j-src.jar"/>
               <classpathentry kind="lib" path="thirdparty/wstx.jar"/>
               <classpathentry kind="lib" path="thirdparty/xalan.jar"/>
               <classpathentry kind="lib" path="thirdparty/xercesImpl.jar"/>
               <classpathentry kind="lib" path="thirdparty/xmlsec.jar"/>
               <classpathentry kind="lib" path="thirdparty/ant.jar"/>
               <classpathentry kind="lib" path="thirdparty/qdox.jar"/>
               <classpathentry kind="lib" path="thirdparty/policy.jar"/>
               <classpathentry kind="con" path="org.eclipse.jdt.USER_LIBRARY/jboss-5.0.x"/>
               <classpathentry kind="lib" path="thirdparty/dom4j.jar"/>
               <classpathentry kind="lib" path="thirdparty/xmlunit.jar"/>
               <classpathentry kind="lib" path="thirdparty/jaxws-tools.jar"/>
               <classpathentry kind="lib" path="thirdparty/jaxws-rt.jar"/>
               <classpathentry kind="lib" path="thirdparty/concurrent.jar"/>
               <classpathentry combineaccessrules="false" kind="src" path="/spi"/>
               <classpathentry combineaccessrules="false" kind="src" path="/common"/>
               <classpathentry kind="lib" path="thirdparty/junit.jar"/>
               <classpathentry kind="output" path="output/eclipse"/>

              I suggest you to use POJOs as WebServices ;-)