[
Date Prev][
Date Next][
Thread Prev][
Thread Next][
Date Index][
Thread Index]
[
List Home]
Re: [lyo-dev] Using OSLC SDK to build new OSLC compliant REST application
|
I don't know of any written guidelines around this. Some things you should be considering are:
- What OSLC domain specification or resources will your tools artifacts be exposed as
- What APIs/data access mechanisms does the tool provide today?
- What scenarios or use cases are you solving (programmatic access to the data, delegated UIs., etc)?
An approach used successfully by others is an "adapter" approach. The OSLC enabling code runs remotely from the existing tool (or perhaps as a plugin - depends on the tool architecture) and "translates" OSLC requests into the tool's native API. OSLC4J is well suited to this. If you can model the existing tool's data which you want to expose as Java objects (POJOs), you can annotate these objects with OSLC attributes and then write some JAX-RS REST services to GET, POST, PUT, DELETE these resources.
Regards,
Mike