Hi Harshan!

Apart from Apache CXF, Jersey is also a very good alternative that you can
consider in writing your JAX-RS web applications.

I am personally impressed with the simplicity of getting up-and-running
Restful web services using Jersey.

Resources that you may find useful on this:
[1]
http://stackoverflow.com/questions/2704700/java-rest-implementation-jersey-vs-cxf
[2] https://jersey.java.net/documentation/latest/getting-started.html
[2] http://www.vogella.com/tutorials/REST/article.html

Cheers!


*Dilan U. Ariyaratne*
Software Engineer
WSO2 Inc. <http://wso2.com/>
Mobile: +94775149066
lean . enterprise . middleware

On Sun, Oct 19, 2014 at 12:09 PM, Bhathiya Jayasekara <bhath...@wso2.com>
wrote:

> Hi Harshan,
>
> On Sun, Oct 19, 2014 at 11:37 AM, Harshan Liyanage <hars...@wso2.com>
> wrote:
>
>> Hi,
>>
>> I'm trying to do the following.
>>
>>    1. Create a JAX-RS web app & deploy it in AS
>>    2. Create an OSGi bundle which has all the business logic
>>    implementation (exposed as OSGi services) for above JAX-RS web services
>>    3. Consume above OSGi services inside JAX-RS web app
>>
>> What is the best way to achieve the above? Do I need to use Apache CXF
>> for this?
>>
>
> Yes, you can use CXF to write the REST service. We have used it in several
> places[1][2][3] in platform. You can have look and learn how it is used.
>
> [1]
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.oauth.endpoint/4.2.3
> [2]
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/data-bridge/org.wso2.carbon.databridge.receiver.restapi/4.2.0
> [3]
> https://svn.wso2.org/repos/wso2/carbon/platform/branches/turing/components/identity/org.wso2.carbon.identity.scim.provider/4.2.1
>
> Thanks,
> Bhathiya
>
>
>>
>> Thanks,
>>
>> Best Regards,
>>
>> Lakshitha Harshan
>> Software Engineer
>> Mobile: *+94724423048*
>> Email: hars...@wso2.com
>> Blog : http://harshanliyanage.blogspot.com/
>> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
>> lean.enterprise.middleware.
>>
>> _______________________________________________
>> Dev mailing list
>> Dev@wso2.org
>> http://wso2.org/cgi-bin/mailman/listinfo/dev
>>
>>
>
>
> --
> *Bhathiya Jayasekara*
> *Software Engineer,*
> *WSO2 inc., http://wso2.com <http://wso2.com>*
>
> *Phone: +94715478185 <%2B94715478185>*
> *LinkedIn: http://www.linkedin.com/in/bhathiyaj
> <http://www.linkedin.com/in/bhathiyaj>*
> *Twitter: https://twitter.com/bhathiyax <https://twitter.com/bhathiyax>*
> *Blog: http://movingaheadblog.blogspot.com
> <http://movingaheadblog.blogspot.com/>*
>
> _______________________________________________
> Dev mailing list
> Dev@wso2.org
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>
_______________________________________________
Dev mailing list
Dev@wso2.org
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to