Take the 2-minute tour ×
Database Administrators Stack Exchange is a question and answer site for database professionals who wish to improve their database skills and learn from others in the community. It's 100% free, no registration required.

My question is fairly simple. Is Java used internally by Oracle in their DBMSs?

share|improve this question

1 Answer 1

up vote 13 down vote accepted

No.

All (standard) packages are written in PL/SQL. The DBMS engine itself is written in C

Edit:
Oracle does include a JVM which runs on the same machine as the database itself, but that is not used to run any "DBMS related" code.

It's only there to run stored procedures/functions written in Java.

share|improve this answer
    
Wow, did not no know about the C part. +1. –  StanleyJohns Sep 13 '11 at 10:17
4  
Check out their "History Timeline": oracle.com/us/corporate/timeline/index.html: 1983: "Oracle releases Version 3 of its database, with server code written in the C programming language" –  a_horse_with_no_name Sep 13 '11 at 10:24
    
My guess is Java is not exists then. I think first Java came at Oracle 8i. –  1888 Sep 13 '11 at 16:59
2  
The internal JVM is not used to run any "DBMS related" code. It's only there to run stored procedures/functions written in Java. –  a_horse_with_no_name Sep 13 '11 at 18:27
5  
@a_horse_with_no_name - I guess it depends on what you mean by "standard" packages. Oracle ships a number of packages that are built in Java (anything that uses XDB, for example, including many of the XMLQuery packages, depend on the internal JVM). These aren't "standard" in the sense of packages that most developers use frequently. But they are "standard" in the sense that they are installed when you do a default installation of the Oracle database. –  Justin Cave Sep 13 '11 at 20:30

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.