Embedded JVM aka OJVM has the capability to run Java code in the stored procedures. The OJVM runs Java code in user session (within the dedicated or shared server), in the same memory space as SQL and PL/SQL. Through the Integrated Oracle JDBC driver, make performant and secure data access without moving data outside the database. OJVM also allows networking and web-services callout.

A new utility Oracle Web Services Callout Utility (OJVMWCU) which accepts WSDL (SOAP Web Services) as well as WADL (Restful Web Services) and additional parameters then retrieves the Web Services client proxy, loads it in the database and generates the wrapper for calling out the Web Service from SQL and PL/SQL
For more details, see the related chapter and our DB 12.2 white paper What's in Oracle Database 12c Release 2 for Java & JavaScript Developers