Apache Geronimo > Discussion Forums  User List | Dev List | Wiki | Issue Tracker  

(no subject)

View: New views
5 Messages — Rating Filter:   Alert me  

(no subject)

by "Özhan Durgan" :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message


Hi,

I am from Germany and I am working with Webservices. I want to use the Geronimo server as container. I want use a stateless session bean as a webservice. For this purpose I create a stateless session bean and I planed to connect to it via servlet. I dont understant where I am wrong but it doesnt work.
Maybe I missunderstood Geronimo and its not work with EJB, Webservices and Soap. Therefore I need to know if I can use Geronimo to build EJB webservices with SOAP or not? Or maybe you can help me with an example that you can show me somewhere in the Web.
--
Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser

Re:

by Quintin Beukes-2 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

As far as I know it does support SOAP. The EJB implementation for
Geronimo is OpenEJB, and it has some examples for Web Services. Have a
look at the examples download on
http://openejb.apache.org/download.html and then the
"simple-webservice" example.

Quintin Beukes



On Thu, Oct 15, 2009 at 8:19 PM, "Özhan Durgan" <oedurgan@...> wrote:
>
> Hi,
>
> I am from Germany and I am working with Webservices. I want to use the Geronimo server as container. I want use a stateless session bean as a webservice. For this purpose I create a stateless session bean and I planed to connect to it via servlet. I dont understant where I am wrong but it doesnt work.
> Maybe I missunderstood Geronimo and its not work with EJB, Webservices and Soap. Therefore I need to know if I can use Geronimo to build EJB webservices with SOAP or not? Or maybe you can help me with an example that you can show me somewhere in the Web.
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
>

Re:

by Delos-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

You can refer to the simple sample here
http://cwiki.apache.org/GMOxDOC22/developing-a-simple-calculator-web-service.html

As the sample shows, your Web Service is placed in a web project. Then, your session bean can be referenced in the project to provide service.


2009/10/16 Quintin Beukes <quintin@...>
As far as I know it does support SOAP. The EJB implementation for
Geronimo is OpenEJB, and it has some examples for Web Services. Have a
look at the examples download on
http://openejb.apache.org/download.html and then the
"simple-webservice" example.

Quintin Beukes



On Thu, Oct 15, 2009 at 8:19 PM, "Özhan Durgan" <oedurgan@...> wrote:
>
> Hi,
>
> I am from Germany and I am working with Webservices. I want to use the Geronimo server as container. I want use a stateless session bean as a webservice. For this purpose I create a stateless session bean and I planed to connect to it via servlet. I dont understant where I am wrong but it doesnt work.
> Maybe I missunderstood Geronimo and its not work with EJB, Webservices and Soap. Therefore I need to know if I can use Geronimo to build EJB webservices with SOAP or not? Or maybe you can help me with an example that you can show me somewhere in the Web.
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
>



--
Best Regards,

Delos

Re: Re:

by djencks :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

It is also possible to deploy a plain ejb webservice, that does not involve a pojo web service deployed in a war.  I don't know if there is a simple sample app, but there are some examples of this in the geronimo testsuite somewhere.  If you check out all of the geronimo source code it will be somewhere under testsuite.

Hopefully someone who know more about this than I will be able to provide more details.

thanks
david jencks

On Oct 15, 2009, at 6:59 PM, Delos wrote:

You can refer to the simple sample here
http://cwiki.apache.org/GMOxDOC22/developing-a-simple-calculator-web-service.html

As the sample shows, your Web Service is placed in a web project. Then, your session bean can be referenced in the project to provide service.


2009/10/16 Quintin Beukes <quintin@...>
As far as I know it does support SOAP. The EJB implementation for
Geronimo is OpenEJB, and it has some examples for Web Services. Have a
look at the examples download on
http://openejb.apache.org/download.html and then the
"simple-webservice" example.

Quintin Beukes



On Thu, Oct 15, 2009 at 8:19 PM, "Özhan Durgan" <oedurgan@...> wrote:
>
> Hi,
>
> I am from Germany and I am working with Webservices. I want to use the Geronimo server as container. I want use a stateless session bean as a webservice. For this purpose I create a stateless session bean and I planed to connect to it via servlet. I dont understant where I am wrong but it doesnt work.
> Maybe I missunderstood Geronimo and its not work with EJB, Webservices and Soap. Therefore I need to know if I can use Geronimo to build EJB webservices with SOAP or not? Or maybe you can help me with an example that you can show me somewhere in the Web.
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
>



--
Best Regards,

Delos


Re: Re:

by Delos-3 :: Rate this Message:

Reply to Author | View Threaded | Show Only this Message

Right. Geronimo  also support a plain ejb webservice, refer to http://cwiki.apache.org/GMOxDOC22/developing-a-jax-ws-ejb-stateless-session-bean-web-service.html

Thanks!

2009/10/16 David Jencks <david_jencks@...>
It is also possible to deploy a plain ejb webservice, that does not involve a pojo web service deployed in a war.  I don't know if there is a simple sample app, but there are some examples of this in the geronimo testsuite somewhere.  If you check out all of the geronimo source code it will be somewhere under testsuite.

Hopefully someone who know more about this than I will be able to provide more details.

thanks
david jencks

On Oct 15, 2009, at 6:59 PM, Delos wrote:

You can refer to the simple sample here
http://cwiki.apache.org/GMOxDOC22/developing-a-simple-calculator-web-service.html

As the sample shows, your Web Service is placed in a web project. Then, your session bean can be referenced in the project to provide service.


2009/10/16 Quintin Beukes <quintin@...>
As far as I know it does support SOAP. The EJB implementation for
Geronimo is OpenEJB, and it has some examples for Web Services. Have a
look at the examples download on
http://openejb.apache.org/download.html and then the
"simple-webservice" example.

Quintin Beukes



On Thu, Oct 15, 2009 at 8:19 PM, "Özhan Durgan" <oedurgan@...> wrote:
>
> Hi,
>
> I am from Germany and I am working with Webservices. I want to use the Geronimo server as container. I want use a stateless session bean as a webservice. For this purpose I create a stateless session bean and I planed to connect to it via servlet. I dont understant where I am wrong but it doesnt work.
> Maybe I missunderstood Geronimo and its not work with EJB, Webservices and Soap. Therefore I need to know if I can use Geronimo to build EJB webservices with SOAP or not? Or maybe you can help me with an example that you can show me somewhere in the Web.
> --
> Jetzt kostenlos herunterladen: Internet Explorer 8 und Mozilla Firefox 3.5 -
> sicherer, schneller und einfacher! http://portal.gmx.net/de/go/atbrowser
>



--
Best Regards,

Delos




--
Best Regards,

Delos