6 Replies Latest reply on Jan 14, 2005 10:51 AM by susan crystal

    Difference between JBoss.NET and JBossWS

    Lisa Retief Newbie

      What is the difference between these two projects? In the past I have used JBoss.NET and via a few XDoclet tags exposed my EJB methods as web services. But now I see a JBossWS forum which tells me there are no WS tags, and I am confused.

        • 1. Re: Difference between JBoss.NET and JBossWS
          Thomas Diesler Master

          Have a look at the JBossWS/JBossNet wiki.

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

          Here is the README from CVS

          JBossWS
          =======

          Is the J2EE-1.4 compatible web service implemenation in JBoss. It is installed in the all and default configuration.
          This implementaion will be developed further and eventually replace JBoss.NET

          Why use JBossWS
          ---------------

          * develop/deploy portable web services
          * access the SOAP message from handlers and endpoints via SAAJ
          * transactional handlers

          JBoss.NET
          ---------

          Is an early jboss web service project developed by Dr. Christoph Jung. By default it is not installed
          in a jboss configuration. JBoss.NET has entered maintenance and will not be developed further.

          Why use JBoss.NET
          -----------------

          * use your existing non j2ee webservices in jboss
          * web service access to SFSB and JMX
          * mail transport
          * axis style wsr deployments
          * easy deployment using xdoclet

          HOWTO switch between JBossWS/JBoss.NET
          --------------------------------------

          Before you can use JBoss.NET you need to remove JBossWS and install JBoss.NET manually.
          Here is what you need to do

           <!-- delete jboss-ws4ee implementation -->
           <delete dir="${jboss.home}/server/${server}/deploy/jboss-ws4ee.sar/" />
           <delete file="${jboss.home}/client/jboss-ws4ee-client.jar" />
          
           <!-- install jboss-net implementation -->
           <copy todir="${jboss.home}/client" file="${build.lib}/jboss-net-client.jar" overwrite="true" />
           <copy todir="${jboss.home}/server/${server}/deploy/jboss-net.sar" overwrite="true">
           <fileset dir="${build.lib}/jboss-net.sar" />
           </copy>
          


          If you work from the source, there are 'deploy' targets in the jboss.net/webservice module respectively

          What Axis version is used
          -------------------------

          Both implementations use a modified version of the axis-1.1 release that temporarily lives in module webservice
          for transparency and debugging reasons.

          Q: Why do you use an out of date axis release?
          A: At the time J2EE certification was due, using Axis-1.2beta was technically no option

          Q: What will become of the axis fork?
          A: Nothing, we do not plan to develop it further. Instead we prefer to focus on an idependent SOAP implementation
          that integrates better with the overall JBoss architecture (SOAP as invocation path) and is more geared towards
          the specific J2EE requirements, which Axis is not.


          • 2. Re: Difference between JBoss.NET and JBossWS
            Michael Daleiden Newbie

            Where can I get copies of the 4.0 versions of jboss-net.sar and jboss-net-client.jar? I do not have the ability to set up a complete 4.0 build environment to build these on my machine, and I really need these in order to begin the migration of our application from 3.2.x to 4.0, as I also do not have the time at present to rework our current web services (that use JBoss.NET) to use JBossWS.

            • 3. Re: Difference between JBoss.NET and JBossWS
              Thomas Diesler Master

              Do you have time to read the wiki ;-)

              http://www.jboss.org/wiki/Wiki.jsp?page=JBoss.NET

              The binaries for JBoss.Net are distributed under ${jboss.home}/docs/examples/jboss.net

              • 4. Re: Difference between JBoss.NET and JBossWS
                Michael Daleiden Newbie

                 

                "tdiesler" wrote:
                Do you have time to read the wiki ;-)

                http://www.jboss.org/wiki/Wiki.jsp?page=JBoss.NET

                The binaries for JBoss.Net are distributed under ${jboss.home}/docs/examples/jboss.net



                Thomas - first, thank you for your assistance. Second, you added the note about the location of the binaries TODAY, so there is no way I would have known this YESTERDAY. Yesterday, the Wiki did not say where to get the 4.0 binary versions (except the reference to using the Ant build scripts). As I mentioned, I did not have the ability at present to download and build the 4.0 source tree, so I did not have any way of building these versions.

                I appreciate your update to the Wiki with this new information about the location of the binaries. Thanks again.

                • 5. Re: Difference between JBoss.NET and JBossWS
                  natebowler Newbie

                  Followed the instructions, removed the ws4ee libs and packages and replaced them with the jboss-net libs from docs/examples.

                  But it doesn't work.

                  I get the following message on startup in the logs around each of my EJBs:

                  17:07:14,302 WARN [EjbModule] Could not load the org.jboss.webservice.server.ServiceEndpointInterceptor interceptor
                  17:07:14,302 INFO [EjbModule] Deploying SystemAPI

                  And the jboss-net web application is never loaded. This application generates the WSDL file needed for stub generation.

                  As a note, the jboss-net.sar is actually named "jboss-net.sar.tmp". I simply renamed it when copying it to the deploy directory.

                  I also used the xdoclet libs packaged in the 4.0 dist to create my deployment descriptors.

                  Is there some step I'm missing?

                  Nate

                  • 6. Re: Difference between JBoss.NET and JBossWS
                    susan crystal Newbie

                    I have had the same problem..and written about it, but still no reply. So i see that its not just me. THe intructions are not clear enough and need to be made clearer. This is my post from abit ago about this same problem:

                    ok i looked at that page and the instruction http://www.jboss.org/wiki/Wiki.jsp?page=JBoss.NET

                    and they are not clear

                    HOWTO switch between JBossWS/JBoss.NET

                    Before you can use JBoss.NET you need to remove JBossWS and install JBoss.NET manually. Here is what you need to do from the jboss.net module d

                    1. first were is this directory i am suppose "to do from".. I assume its the jboss-net directory in the jboss_home/docs/examples/jboss.net ?

                    2. is that a build file i am to make and use ant to execute?

                    3. when looking for the jboss-net.sar there is no jboss-net.sar however there is a jboss-net.sar.tmp file inside the jboss-net directory?

                    4. when making it into a build file. It does not work.

                    5. when just doing it myself and (copying the jboss-net.sar.tmp to the deploy directory and changing extension to .sar it still not work.

                    I am using Jboss4.0.0RC2

                    I assusmed it is a builld file suppose to make. Because i would assume if it was clear instructions it would start out .

                    number 1. do this
                    number 2. do this
                    number 3. do this .....ect...