dev@grizzly.java.net

Re: Grizzly and Axis2

From: Jeanfrancois Arcand <Jeanfrancois.Arcand_at_Sun.COM>
Date: Tue, 20 May 2008 10:36:02 -0400

Salut,

this is great. Are you a committer on the Axis project? I'm just curious
to learn if Grizzly HTTP will becomes the default web server (like in
Jersey). If you blog about it, let us know and we will highlight it. Or
just a pointer to your Adapter implementation will be fine :-)

Thanks

-- Jeanfrancois

sumitsureka wrote:
> Hi Alexey,
>
> Thanks for the reply. I was succesful in doing that. I just implemented the
> Adpter class of Grizzly and the TransportListener of Axis2. Something like
> this:
>
> public class HttpServer implements TransportListener, Adapter,
> TransportSender {
> ......
> }
>
> Grizzly callbacks the method service from where we can the complete request
> through the structure "Request" which is mapped to "MsgContext" structure of
> the Axis and it is the input the AxisEngine.
>
> This helped me to integrate both Axis2 and Grizzly. Now I am able to get the
> benefit of both.
>
> Though Axis2 provides the embedded HTTP server, but it is not too efficient
> and even though their is certain restriction in the number of connections.
>
> Regards,
> Sumit
>
>
> Oleksiy Stashok wrote:
>> Hello,
>>
>> frankly I'm not sure how easy Grizzly could be integrated with Axis2,
>> anyway, think, Axis2 has several transports supported (like SMTP,
>> JMS?), so you can take a look how that transports are integrated and
>> make similar things for Grizzly.
>>
>> Thanks.
>>
>> WBR,
>> Alexey.
>>
>> On May 18, 2008, at 15:51 , sumitsureka wrote:
>>
>>> I want to integrate grizzly with Axis2, Grizzly as the web Server
>>> and Axis2
>>> for SOAP parsing and validation.
>>>
>>> Can anyone please help as how to do that. In Axis2, we can
>>> implements the
>>> TransportReciever and insert our own transport layer. The only
>>> problem that
>>> I am facing is how to send data to the Axis.
>>>
>>> Axis2 accepts everything inside the MsgContext (Axis2 structure).
>>> So, I am
>>> not sure as how to transform everything from Grizzly Request
>>> structure to
>>> Axis2 MsgContext.
>>> --
>>> View this message in context:
>>> http://www.nabble.com/Grizzly-and-Axis2-tp17303209p17303209.html
>>> Sent from the Grizzly - Development mailing list archive at
>>> Nabble.com.
>>>
>>>
>>> ---------------------------------------------------------------------
>>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>>
>>
>> ---------------------------------------------------------------------
>> To unsubscribe, e-mail: dev-unsubscribe_at_grizzly.dev.java.net
>> For additional commands, e-mail: dev-help_at_grizzly.dev.java.net
>>
>>
>>
>