# Creating a plugin for Oracle REST Data Services (ORDS) layer using the C SDK

**URL:** <https://openziti.discourse.group/t/creating-a-plugin-for-oracle-rest-data-services-ords-layer-using-the-c-sdk/278>\
**Category:** SDK Questions\
**Created:** [February 24, 2022, 10:29am UTC](https://openziti.discourse.group/t/creating-a-plugin-for-oracle-rest-data-services-ords-layer-using-the-c-sdk/278 "2022-02-24T10:29:46Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [February 24, 2022, 10:29am UTC](https://openziti.discourse.group/t/creating-a-plugin-for-oracle-rest-data-services-ords-layer-using-the-c-sdk/278/1 "2022-02-24T10:29:46Z")

</div>

I am working through all of the technical aspects of integrating NetFoundry into the application layer of an Oracle Apex application. This means inserting the NetFoundry code into ORDS using the C SDK. I need help with the structure and calling this package to marshall the packets from the NetFoundry edge router into the Oracle Listener.

> > Do you have any source code that I can make reference to to help me with this?

> > Can you provide some guidelines on how to tackle this, along with key concepts required to make it work. For instance, say I find a package that has 90% of the code, how do I compile it, install it, configure it and call it from an edge router so that the traffic is directed into the ORDS service?

> > The goal of this is to then create a connection from ORDS all the way to an Apex PWA using the server broker.

> > Thanks you in advance for any tips you can offer.

---

<div class="post-metadata">

**Author:** ![ekoby](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/ekoby/32/14_2.png) [@ekoby](https://openziti.discourse.group/u/ekoby)\
**Post date:** [February 24, 2022, 7:01pm UTC](https://openziti.discourse.group/t/creating-a-plugin-for-oracle-rest-data-services-ords-layer-using-the-c-sdk/278/2 "2022-02-24T19:01:58Z")

</div>

Is there a reason you want to use Ziti C SDK? With ORDS our Java SDK might be a better fit.

Check it out here: [GitHub - openziti/ziti-sdk-jvm: Ziti SDK for JVM](https://github.com/openziti/ziti-sdk-jvm)  
There are examples that show how to use to _host_ a REST application with springboot

---

<div class="post-metadata">

**Author:** ![markamind](https://yyz2.discourse-cdn.com/free1/user_avatar/openziti.discourse.group/markamind/32/157_2.png) [@markamind](https://openziti.discourse.group/u/markamind)\
**Post date:** [February 24, 2022, 8:06pm UTC](https://openziti.discourse.group/t/creating-a-plugin-for-oracle-rest-data-services-ords-layer-using-the-c-sdk/278/3 "2022-02-24T20:06:28Z")

</div>

Good question. As I understand, a C package can be called natively from within PL/SQL.

I don’t know about Java… though… that is a good link and will investigate further.

I mostly only have a vague idea of what I am doing… but with enough digging around I am sure I can find a way forward.

Thanks for the details… very useful.
