Hi Harshan,

On Sun, Oct 19, 2014 at 11:37 AM, Harshan Liyanage <[email protected]> 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: [email protected]
> Blog : http://harshanliyanage.blogspot.com/
> *WSO2, Inc. :** wso2.com <http://wso2.com/>*
> lean.enterprise.middleware.
>
> _______________________________________________
> Dev mailing list
> [email protected]
> http://wso2.org/cgi-bin/mailman/listinfo/dev
>
>


-- 
*Bhathiya Jayasekara*
*Software Engineer,*
*WSO2 inc., http://wso2.com <http://wso2.com>*

*Phone: +94715478185*
*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
[email protected]
http://wso2.org/cgi-bin/mailman/listinfo/dev

Reply via email to