1 2 Previous Next 25 Replies Latest reply on Apr 5, 2006 10:02 AM by joel.rosi-schwartz Go to original post
      • 15. Re: Web Services with EJB3
        didi

        @manica and @babo:
        can you please distribute some information or even better code examples to the web services with EJB3?
        Or just send me an email or pm ;-)

        tnx!

        • 16. Re: Web Services with EJB3

          Sorry for the delay. I'll get something packaged up this weekend.

          Darin

          • 17. Re: Web Services with EJB3

            Alrighty, I have a small demo that shows an EJB 2.x webservice passing through to EJB3. It uses the crimeportal example from the wiki and is really quite trivial, but it should show what's going on. I'll write up a wiki page this weekend and attach the file. In the meantime, you can grab it at:
            http://www.manica.org/ejb3webservices.zip

            Just adjust the build.properties, run 'ant deploy' and then run the client binary. The README file has the details.

            If it doesn't show you any love, just let me know.

            Darin

            • 18. Re: Web Services with EJB3
              • 19. Re: Web Services with EJB3
                eldzi

                hi there,

                I tried the example from manica but jboss returned an Axis fault (NullPointerException) when client tries to invoke the method. I use jboss 4.0.3rc2 under Ubuntu with 2.6.10 kernel. Can anybody tell me why it isn't working?

                thanx

                • 20. Re: Web Services with EJB3

                  Could you please post the AxisFault stacktrace.

                  • 21. Re: Web Services with EJB3

                    +1 to support webservices jboss4+ejb3

                    • 22. Re: Web Services with EJB3
                      ishafizan

                      hi,

                      been to http://wiki.jboss.org/wiki/Wiki.jsp?page=WebservicesAndEJB3 ... wish the xtra code was unnecessary-need some careful packaging. it works though :)

                      question:
                      - can someone xplain this statement?

                      It is also possible to use a Java Service Endpoint instead of an EJB endpoint. This is especially useful if no other EJB 2.x code is required and a web tier already exists.


                      what does this means? need some light here-is it something like: servlet->web service->java endpoint interface->java impl class->do lookup to ejb3?

                      plus:
                      - how's WS-EJB3 coming? still jboss 5? second quarter 2006? will this possibly include arjunaTS? this will be excellent.

                      I wish the WS-ejb3 can be released sooner.

                      • 23. Re: Web Services with EJB3
                        ishafizan

                         

                        what does this means? need some light here-is it something like: servlet->web service->java endpoint interface->java impl class->do lookup to ejb3?


                        update:
                        answer: yes, it works....web->servlet->web service->java endpoints->ejb3. performance is good...web to ldap login, load personalisation data, all ejb3s in less than a sec.

                        • 24. Re: Web Services with EJB3
                          bgrooters

                          Our development team would like to see the @WebService and @WebMethod annotations supported in JBoss 4.0/EJB 3 rather than waiting for JBoss 5 GA.

                          • 25. Re: Web Services with EJB3
                            joel.rosi-schwartz

                            Hi,

                            This thread has been on the back burner for some time now. Has any decision/progress been made about making WebServices available in EJB3 on Jboss 4.0.4? I see that javax.ws.WebService has shown up in the jboss-4.0.4.CR2 ejb3 configuration but not javax.ws.WebMethod. This gives me some hope that it will be here soon :-)

                            Thanks,
                            Joel

                            1 2 Previous Next