(703) 246-9100 Northern Virginia

(804) 285-5830 Central Virginia

(757) 420-3810 Tidewater Area

(800) 294-7497 Toll Free

(804) 285-3722 Fax

www.ACTisIT.com

Developing Applications with Java and Oracle

Duration: 5 days

This course concentrates on exploiting the power and functionality of Oracle Business Components for Java, as opposed to writing low level Java code with JDBC and SQLJ..

Print Outline in PDF format

Course Description:

This intensive course teaches Java application development from the perspective of developing enterprise and organization applications using Oracle and Oracle Business Components for Java. The aim is for attendees to be able to productively apply Java technology in an Oracle environment.

Who Needs to Attend:

Experienced Oracle developers who need to understand databases and SQL and who need to understand Java and how to apply it to Oracle.

Prerequisites:

Attendees are expected to have a good working knowledge of relational databases and SQL as well as programming experience (e.g. with PL/SQL or COBOL).

Participants will learn to…

The main parts of the course are:

  • Fundamentals of Java programming using JDeveloper

  • Overview of Oracle and Java application development using JDBC and SQLJ

  • Understanding enterprise level and web Java technologies - Applets, Java Servlets, Java Server Pages, Enterprise Java Beans

  • Overview of CORBA in relationship to Java

  • Overview of XML in relationship to Java

  • Understanding and using Oracle Business Components for Java

  • Combining Oracle Business Components for Java with XML

Course Content:

Object oriented concepts and Java:

  • classes and instances

  • properties and methods

  • controlling access to classes

  • inheritance and polymorphism

  • Java runtime environments

  • Java syntax and semantics

An overview of UML for database developers

Java programming with JDeveloper

  • Making workspaces, projects and applications

  • Compiling applications

  • Running and debugging applications

Web and enterprise Java technologies - an introduction and overview

  • applets

  • Java Server Pages

  • Java Servlets

  • Java GUI technology - SWING

  • CORBA and Java

  • XML and Java

Accessing Oracle from Java

  • JDBC

  • SQLJ

  • via Oracle Business Components for Java (BC4J)

Understanding the BC4J Framework

  • Entity objects

  • Associations

  • View Objects

  • View Links

  • Application modules

  • Implementing a basic BC4J based application

Enforcing Business Rules

  • using entity objects to capture business logic

  • entity attribute definitions including datatype and database column mapping information for each.

  • attribute-level and Entity-level validation logic implementing business logic

  • default value logic for attributes

  • custom business methods or overridden framework methods required to correctly enforce policies

  • xml metadata file associated with an entity object

  • using associations to capture relationships amongst entities

  • setter and getter methods

  • association vs. composition

  • consequences of flagging an association as a composition

  • validation rules

  • Java bean nature of validation rules

  • attaching a validation rule to a component via its XML component definition

  • attribute level vs. object level validation rules

  • uses of domains

  • formatting scalar data

  • validating scalar data

  • using domains as a type safe way of passing parameters

  • using view objects to shape data

  • calculated attributes

  • transient attributes

  • use of metadata in XML component definition of a view object

  • using the view object editor to create complex views

  • synchronization of multiple views of the same entities

  • using view links to set up relationships between view objects

  • co-ordinating master-detail queries

  • application modules

  • setting up and deploying

  • performance advantages for client applications

  • as a means of providing server side services to the client

  • data aware Swing controls (DACs)

  • usingthe binding editor to bind particular columns and rowsets to a Swing control

  • designing and creating DAC forms

  • Java Server Page applications

  • using Oracle Business Components supplies JavaBeans which can be used with the JSP <jsp:useBean> tag for full programmatic control over View Objects and Application Modules from within the JSP

  • using Oracle Business Components WebBeans to access values from the current row, scrolling, and setting View Object column values from HTTP request Form parameters automatically

  • creating custom DataWebBeans

  • using theAppModuleRegistry to automatically maintain pools of Application Module instances when supporting large numbers of browser-based users

Advanced topics

  • loading, creating and removing application components dynamically using a component's XML component definition to associated custom metadata properties with that component to drive dynamic decisions at runtime by generic code

  • adding dynamic attributes to view objects at runtime

  • extending the Java and XML for a component factory substitution - (globally substituting extended components for those in the original application)