Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Oracle database - use external Java

I'm looking to find a way how to use higher versions of Java (1.6,1.7,...) instead of Java 1.4 which is available for Java stored procedures in a Oracle 10g. I'm thinking about deploying a GlassFish server on the database server, and deploy web applications which functionalities would I use by calling them from PL/SQL.

Reasons for using Java instead of PL/SQL would be communications with various devices, calling and deploying web services, text processing...

Does anybody have a better, simpler idea on how to use higher version Java from PL/SQL in Oracle 10g database?

like image 996
Vanja Keglevic Avatar asked Feb 16 '26 06:02

Vanja Keglevic


1 Answers

Forget about that. There used to be something called Jserver several years ago, but it was abandoned by Oracle. Theoretically you could use Oracle ver 12c which uses JVM ver 1.6. But even this JVM is slightly different. For example it's GC can kill threads when they are not bound to a "live" DB connection. So you may encounter various interesting problems.

There is no way how to "upgrade" JVM inside current Oracle DB installation.

like image 106
ibre5041 Avatar answered Feb 19 '26 11:02

ibre5041



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!