Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 

 

 

Oracle Java PL/SQL scripts

Oracle Database Tips by Donald Burleson

Just as in PL/SQL you can have stand alone programs called scripts (anonymous PL/SQL blocks in PL/SQL) and class and method declarations called applets (stored procedures, functions in PL/SQL). In addition, classes can be rolled up into packages just like individual procedures and functions can be rolled up into packages in PL/SQL. A class definition, as was shown above, is virtually identical in both languages.

JAVA code is stored in files just like the code from other languages, however, the name of the file must match, both in content and format, the name of the class contained within the file. A JAVA file usually ends in the ".java" extension. All JAVA code must be passed through the JAVA compiler and be made into a CLASS before it can be used. the JAVA compiler is called "javac".

There are two environmental variables that will effect the operation of your JAVA programs such as java, javac and appletviewer, these are PATH and CLASSPATH. On UNIX they can be set in the ".profile" file for each user or through a global setup ".profile" (file name may differ depending on the shell you use under UNIX). On a WIN95 platform a simple addition to the autoexec.bat file in the boot directory is all that is required and on Windows NT you can use the autoexec.bat method added to a trip through the registry editor. I have it difficult to get the various browsers to recognize new CLASSPATH variables, so getting some expert help to add this data to your browser path is suggested.

* CLASSPATH - Used to provide the system a path to user-defined classes. Directories are separated by semi-colons, for example,

.;C:\users\classes;C:\tools\java\classes

* PATH - Used to tell the operating system what path to traverse to search for executables


 


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.