dev@grizzly.java.net

Re: Grizzly and Axis2

From: sumitsureka <sumit_sureka_at_yahoo.co.uk>
Date: Mon, 19 May 2008 07:11:31 -0700 (PDT)

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
>
>
>

-- 
View this message in context: http://www.nabble.com/Grizzly-and-Axis2-tp17303209p17316727.html
Sent from the Grizzly - Development mailing list archive at Nabble.com.