Real time Oracle DB connection

How to connect to Oracle Database (not Oracle Enterprise Manager DB) in real time?
I am trying to connect to oracle database to fetch real time some data and display on the panel.

you can select data source as OEM then → Customer (Repository) → then select your database and fire any query