Introduction Copyright © 2008, Oracle All rights reserved Course Objectives After completing this course, you should be able to the following: • Design PL/SQL packages and program units that execute efficiently • Write code to interface with external applications and the operating system • Create PL/SQL applications that use collections • Write and tune PL/SQL code effectively to maximize performance • Implement a virtual private database with fine-grained access control • Write code to interface with large objects and use SecureFile LOBs • Perform code analysis to find program ambiguities, test, trace, and profile PL/SQL code 1-2 Copyright © 2008, Oracle All rights reserved Course Objectives In this course, you learn how to use the advanced features of PL/SQL in order to design and tune PL/SQL to interface with the database and other applications in the most efficient manner Using the advanced features of program design, packages, cursors, extended interface methods, and collections, you learn how to write powerful PL/SQL programs Programming efficiency, use of external C and Java routines, and fine-grained access are covered in this course Oracle Database 11g: Advanced PL/SQL - Oracle Complete Solution Clients Any Any mail client FTP client Internet applications Business logic Presentation and and data business logic Databases Application servers Development tools System management Any browser SQL PL/SQL Other Java Network services 1-3 Copyright © 2008, Oracle All rights reserved Oracle Complete Solution The Oracle Internet Platform is built on three core components: • Browser-based clients to process presentation • Application servers to execute business logic and serve presentation logic to browser-based clients • Databases to execute database-intensive business logic and serve data Oracle offers a wide variety of the most advanced graphical user interface (GUI)–driven development tools to build business applications, as well as a large suite of software applications for many areas of business and industry Stored procedures, functions, and packages can be written by using SQL, PL/SQL, Java, C, and Net languages This course concentrates on the advanced features of PL/SQL Oracle Database 11g: Advanced PL/SQL - Lesson Agenda • • • • • 1-4 Previewing the course agenda Describing the development environments Using SQL Developer Using SQL*Plus Identifying the tables, data, and tools used in this course Copyright © 2008, Oracle All rights reserved Oracle Database 11g: Advanced PL/SQL - Course Agenda • Day – – – – Lesson 1: Introduction Lesson 2: PL/SQL Review Lesson 3: Designing PL/SQL Code Lesson 4: Working with Collections • Day – – – – – – 1-5 Lesson 4: Working with Collections Lesson 5: Using Advanced Interface Methods Lesson 6: Implementing Fine-Grained Access Control for VPD Lesson 7: Manipulating Large Objects Lesson 8: Administering SecureFile LOBs Lesson 9: Performance and Tuning Copyright © 2008, Oracle All rights reserved Agenda In this three-day course, you start with a review of PL/SQL concepts before progressing into the new and advanced topics By the end of day one, you should have covered design considerations for your program units, and how to use collections effectively On day two, you learn how to use advanced interface methods to call C and Java code from your PL/SQL programs, how to implement and test fine-grained access control for virtual private databases, how to manipulate large objects programmatically through PL/SQL, how to administer the features of the new SecureFile LOB format of Database 11g, and how to tune PL/SQL code and deal with memory issues Oracle Database 11g: Advanced PL/SQL - Examining and Modifying Variables Classes window E - 23 Copyright © 2008, Oracle All rights reserved Examining and Modifying Variables (continued) The Classes window displays all classes that are currently being loaded to execute the program If used with Oracle Java Virtual Machine (OJVM), it also shows the number of instances of a class and the memory used by those instances Oracle Database 11g: Advanced PL/SQL E - 23 Summary In this appendix, you should have learned how to use JDeveloper as an environment to the following: • Create, compile, and run program units • Debug PL/SQL programs • Examine and modify variables E - 24 Copyright © 2008, Oracle All rights reserved Oracle Database 11g: Advanced PL/SQL E - 24 ... format of Database 11g, and how to tune PL/SQL code and deal with memory issues Oracle Database 11g: Advanced PL/SQL - Examining and Modifying Variables Classes window E - 23 Copyright © 2008, Oracle. .. course Oracle Database 11g: Advanced PL/SQL - Oracle Complete Solution Clients Any Any mail client FTP client Internet applications Business logic Presentation and and data business logic Databases... Identifying the tables, data, and tools used in this course Copyright © 2008, Oracle All rights reserved Oracle Database 11g: Advanced PL/SQL - Course Agenda • Day – – – – Lesson 1: Introduction Lesson