Migration from IBM WebSphere to Tomcat 9, the application uses EJB component and oracle database

I need help in migrating from IBS WebSphere 8.5 to tomcat 9 version. We use oracle 11g DB. My application uses EJB component as well. Can you guide me: 1: What is the best technology to replace the EJB components, options like JPA, Hibernate etc? 2: What is the code changes for EJB and database connect, if we want to change the DB from Oracle to PostgreSQL?

Any link or blog or steps will be a great help.

Note: We can not choose tomEE or anything else, the option we have is only tomcat 9.

How many English words
do you know?
Test your English vocabulary size, and measure
how many words do you know
Online Test
Powered by Examplum