Installing Oracle REST Data Services (ORDS) on Tomcat

醉酒当歌 提交于 2019-12-06 05:15:29
Bhuwan Gautam

Appex is the old name for ORDS. After the ORDS version 3.x you don't need to install apex.

ORDS 3.0 is able to deploy WITHOUT Application Express. It has its own database schema now.

Answers for your questions:

  1. It doesn't matter. But make sure it is java 7+. You can instead install java globally and just run: java -jar ords.war command. You can follow this tutorial to install java on your machine: https://docs.oracle.com/javase/8/docs/technotes/guides/install/install_overview.html

  2. When you run java -jar ords.war command then at this stage it starts installation of ORDS on your system. Before installation it asks for the oracle server hostname, oracle port, SID, and sysdba username and password to connect. Once you provide all the details and the type of installation you want, then it starts installation to the specific database server. Your tomcat/WLS/glassfish server will act as a rest endpoint between the database server and the clients.

  3. Once installed ORDS on your database, if you right click on your connection in SQL Developer then you can see the Rest Service options. And yes the other way is like you mentioned: http:<host-name>:<port-name>/<schema-alias>/<object-alias>/ and see the result.

If you want to know the detail architecture, I would suggest to follow this oracle document: http://www.oracle.com/technetwork/developer-tools/rest-data-services/overview/index.html

I have recently installed the ORDS in production environment successfully. Actually there are two ways you can install ORDS:

When to use which:
Use Advanced Mode for production Use Standalone Mode for Development and Testing. You can use Advanced Mode for development and testing but since the standalone mode is quite easy for installation, it is recommended one.

For querying:

http://www.toadworld.com/platforms/oracle/w/wiki/11471.more-oracle-rest-data-services-features https://svgonugu.com/2015/11/21/adf-bc-rest-services-i/

Note: If your database is PDB you could have some problem installing it and there are some tricks to solve it depending on the problem. Please let me know I would love to answer.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!