Connectivity of Java and Oracle for a web application

Hello everyone , can anyone explain me the complete connectivity process of java with oracle , i am getting some error while fetching data from database. :frowning:

I canโ€™t help you (no experience at all with java nor oracle) but Iโ€™m sure that knowing exactly what error you are getting would help whoever wants to answer your question?