Java vs Oracle
Oracle database (tsuas yog hu ua Oracle) yog Object Relational Database Management System (ORDBMS) uas txhawb nqa ntau lub platforms. Oracle DBMS yog muaj nyob rau hauv ntau yam versions xws li versions rau tus kheej siv thiab enterprise class versions. Nws yog qhov siv ntau tshaj plaws database system nyob rau hauv lub ntiaj teb no. Java yog ib qho ntawm cov khoom nrov tshaj plaws taw qhia cov lus hauv ntiaj teb. Oracle muab ntau yam ntawm cov cuab yeej programming thiab ib puag ncig. Oracle tuaj yeem nkag tau nrog ntau hom lus programming. Piv txwv li, Java tuaj yeem siv los sau cov kev pab cuam uas sib txuas lus nrog Oracle databases.
Java yog dab tsi?
Java yog ib qho ntawm cov khoom siv dav siv tshaj plaws (thiab chav kawm-raws li) cov lus programming niaj hnub no. Nws yog ib lub hom phiaj dav dav thiab ib hom lus programming. Nws yog Ameslikas tsim los ntawm Sun Microsystems hauv 1995. James Gosling yog leej txiv ntawm Java programming lus. Oracle Corporation tam sim no muaj Java (tom qab yuav Sun Microsystems tsis ntev los no). Java Standard Edition 6 yog nws qhov kev tso tawm ruaj khov tam sim no. Java yog ib hom lus zoo heev uas txhawb nqa ntau lub platform los ntawm Windows mus rau UNIX. Java muaj ntawv tso cai raws li GNU General Public License. Java's syntax zoo ib yam li C thiab C ++. Java cov ntaub ntawv muaj qhov.java extension. Tom qab sau Java cov ntaub ntawv siv lub javac compiler, nws yuav tsim.class cov ntaub ntawv (muaj cov Java bytecode). Cov ntaub ntawv bytecode no tuaj yeem txhais tau siv JVM (Java Virtual Machine). Txij li JVM tuaj yeem khiav ntawm txhua lub platform, Java tau hais tias yog ntau lub platform (hla-platform) thiab nqa tau yooj yim heev.
Oracle yog dab tsi?
Oracle yog ORDBMS tsim los ntawm Oracle Corporation. Oracle yog qhov nrov tshaj plaws database system nyob rau hauv lub ntiaj teb no. Nws tuaj yeem siv rau hauv kev lag luam loj ib puag ncig nrog rau kev siv tus kheej. Nws khiav ntawm txhua lub platform los ntawm PC mus rau mainframes. Oracle DBMS yog tsim los ntawm kev cia thiab tsawg kawg ib qho piv txwv ntawm daim ntawv thov. Ib qho piv txwv yog ua los ntawm cov txheej txheem ntawm kev khiav hauj lwm qhov system thiab lub cim xeeb qauv uas ua haujlwm nrog kev cia. Hauv Oracle DBMS, cov ntaub ntawv nkag mus siv SQL (Structured Query Language). Cov lus txib SQL no tuaj yeem kos ua lwm hom lus lossis tuaj yeem ua tiav ncaj qha raws li cov ntawv sau. Tsis tas li ntawd, nws tuaj yeem ua tiav cov txheej txheem khaws cia thiab ua haujlwm los ntawm kev hu lawv siv PL / SQL (txheej txheem txuas ntxiv mus rau SQL tsim los ntawm Oracle Corporation) lossis lwm yam khoom siv hom lus xws li Java. Oracle siv ob theem mechanism rau nws cia. Thawj theem yog qhov kev cia siab ntawm kev sib koom ua ke raws li cov rooj sib tham. Tablespaces yog ua los ntawm kev nco ntu, uas nyob rau hauv lem yog ua los ntawm ntau yam. Qib thib ob yog lub cev cia ua los ntawm cov ntaub ntawv.
Qhov txawv ntawm Java thiab Oracle yog dab tsi?
The Oracle Corporation, leej twg txhim kho Oracle RDBMS, tam sim no yog tswv Java ib yam. Oracle yog RDBMS, thaum Java yog hom lus programming. Yog li Java thiab Oracle tsis tuaj yeem sib piv ncaj qha. Txawm li cas los xij, JDBC API tuaj yeem siv los sau cov ntawv thov Java uas tuaj yeem nkag mus rau Oracle databases. Java tuaj yeem rub tawm tsis tau nqi, tab sis Oracle yog cov khoom lag luam kim heev.