J2EE Applications for Oracle

Course:  J2EEORL
Duration:  5 Days
Level:  II
Course Summary

Java Platform, Enterprise Edition (Java EE) is used to create powerful, portable, robust, secure and scalable server-side Java applications. Utilizing the foundation of the Java Platform, Standard Edition (Java SE), Java EE provides a wide range of API's that facilitate the development and deployment of component-based, reusable software for creating web applications and web services.

The Oracle 10g Release 2 database, Enterprise Edition (Oracle 10g RDBMS) is a powerful and scaleable persistent storage layer that can be used to store and retrieve standard relational data as well as a wide variety of complex data types (XML, text, audio, video and location data).

Oracle's 10g Application Server (Oracle 10g AS) provides a comprehensive hosting environment for Java EE software. As part of the Oracle Fusion Middleware product family, Oracle 10g AS is used to deploy and execute Java EE components for web applications.

Oracle's JDeveloper is an integrated development environment offering the ability to model, develop, debug, optimise and deploy Java EE and Java SE software and web services. Oracle's Application Developer Framework (ADF) is a productivity layer for J2EE developers that encompasses design patterns and metadata-driven components.

This course covers the key technologies of the Java EE platform: servlets and Java Server Pages (JSP) for presenting information via a web-based interface; Enterprise Java Beans (EJB) for accessing legacy data in a secure and transactional manner and TopLink for managing the persistence layer.

For interface development, Oracle ADF is used to create Model-View-Controller (MVC) applications that provide powerful and functional web software.

« Hide The Details
Topics Covered In This Course

Java EE Overview

  • Java EE Concepts and Services
  • Architecture
  • Client tier
  • Web Tier
  • Middle Tier
  • Application Server
  • Business Tier - EJB / TopLink
  • Tools - Oracle JDeveloper / Oracle 10g AS

JDeveloper

  • Starting the IDE
  • Applications and Project
  • Creating a JSP
  • Tag Insight
  • Component Palette
  • Creating applications - Model View Controller (MVC) pattern
  • Struts v. ADF
  • Application Deployment

JSP and Servlet Overview

  • Benefits of JSP's & Servlets;
  • JSP Architecture
  • JSP Example
  • Generated Servlet Code
  • Create
  • Deploy and test a JSP
  • What is a servlet?
  • How a servlet works
  • Servlet Example

Enterprise Java Beans

  • EJB Overview & Benefits
  • Enterprise Bean Usage
  • EJB Restrictions
  • EJB Types Client View
  • Processing Flow
  • Session Beans
  • Entity Beans
  • Message Driven Beans
  • EJB Model
  • Classes and Interfaces
  • Remote / Local Interfaces
  • Example Session Bean
  • Deployment Descriptors

Session EJBs

  • Stateless / Session beans
  • Client Developer Tasks
  • Thick Client Application Example
  • Test Servlet
  • Test JSP
  • Stateful EJB Example
  • Stateful session EJB Business Class
  • Stateful Remote Interface
  • Stateful Home Interface
  • Stateful Deployment Descriptor
  • Stateful EJB Client

Bean Managed Entity EJBs

  • Entity EJB Overview Entity bean lifecycle
  • Bean v. Container Management
  • Entity Bean Classes
  • BMP Implementation Class
  • Properties and Accessor Methods
  • Context Management Methods
  • Container Management Methods
  • Lifecycle Methods
  • Finder Methods
  • Private Database Access Methods
  • Business Methods
  • Adding JNDI Information

Container Managed Entity EJBs

  • Container Managed EJB Overview
  • BMP and CMP Similarities / Differences
  • Creating a CMP Bean - Overview
  • Database Schema
  • Creating Skeleton CMP Bean
  • CMP Bean Create Method
  • CMP Bean Business Methods
  • CMP Bean Finder Methods
  • EJBQL Overview
  • Finder Method Example
  • findAll()
  • Finder Method Example
  • findByType()
  • CMP Implementation Class
  • Business Methods
  • Testing CMP Bean
  • Create CMP Customer Entity Bean

TopLink

  • TopLink explained
  • TopLink Objects
  • Mapping Layer
  • Persistence Layer
  • Toplink Objects
  • Test clients
  • Query Objects
  • TopLink Expressions
  • Query Expressions
  • Creating persistence layer
  • Named queries
  • Using queries
  • Query editor
  • TopLink sessions
  • Transactions (Unit of Work)
  • Relationships

Developing and Deploying JSPs

  • What is a JSP?
  • JSP Example with Expression
  • JSP Example - Generated Servlet
  • Create a Simple JSP
  • JSP Elements
  • JSP Expression
  • Generated HTML
  • JSP Expression results
  • Predefined variables
  • JSP Scriptlet
  • JSP Declaration
  • JSP Directives
  • Page Directive
  • Include directive / action
  • Include results
  • Forwarding JSP Requests
  • Error handling
  • Error page example
  • Error responses

JSP Tag Libraries

  • Java Standard Tag Libraries (JSTL)
  • Using Expression Language
  • JSTL Core Library
  • JSTL Internationalization / Formatting
  • JSTL XML Transformation
  • JSTL SQL Tags
  • Custom Tags
  • Custom Tag Library Descriptor
  • Using Custom Tags
  • Tag Library Structure
  • Creating a Tag Library

Servlets

  • Java Servlet
  • HTTP Servlet
  • Servlet Features
  • Lifecycle
  • Internals
  • HttpServletRequest
  • HttpServletResponse
  • doGet() & doPost()
  • HTTP Parameters
  • Retrieving all parameters
  • Other servlet methods
  • Initialising a servlet
  • Single threaded servlets
  • Checking and filtering user input
  • HTTP request headers
  • Cookies
  • Standard servlet variables

Java Beans

  • What is a JavaBean?
  • JavaBean Example
  • Bean internals
  • Integrating Beans and JSP's
  • Executing a bean
  • Other Bean Lifecycles
  • Application bean example
  • Application bean JSP
  • Application bean display
  • Practice - Create and Test a Java Bean

Java Server Faces

  • UI Components
  • Architecture
  • Managed Beans
  • Expression language
  • JSF lifecycle phases
  • JSF Tag Libraries
  • JSF Navigation
  • Navigation Elements and rules
  • Global and pattern rules
  • Configuration editor
  • Backing beans

ADF Faces

  • JSF and Faces Client validation
  • Customising with CSS (Cascading Stylesheets)
  • Component groups
  • Data components
  • Input components
  • Output components
  • Layout components
  • Navigation components
  • Facets
  • Qualified rendering
  • Internationalization
  • Resource bundles
  • Error messages
  • Control hints
  • Declarative validation

ADF Applications

  • Query pages
  • Searching
  • Parameterised Queries
  • Building query expressions
  • Integration into sessions
  • Integration with navigational components
  • Displaying results
  • Setting refresh condition
  • DML pages
  • Page methods
  • Update entity, Insert entity, Delete entity
  • Using managed beans
  • ADF Binding

Event handling

  • JSF events
  • Action events
  • Value change events
  • Event listeners
  • Execution sequence
  • Events with JSF
  • Events with ADF
  • Validation events

Deploying Applications

  • Packaging an application
  • File types - JAR, WAR, EJB JAR
  • Deployment descriptors
  • JSR-88 standard
  • Oracle Container for Java (OC4J)
  • OC4J Architecture
  • OC4J configuration files
  • Data sources
  • Deploying Web tier
  • Deploying business tier
  • Oracle 10g AS overview
  • 10g AS Enterprise Manager
  • Deploying with Enterprise Manager

Web Services

  • Service Oriented Architecture (SOA)
  • Simple Object Access Protocol (SOAP)
  • Web Services Description Language (WSDL)
  • Universal Discovery and Description (UDDI)
  • Creating a web service
  • Deploying a web service
  • Testing a web service
  • Using public web services

Debugging and troubleshooting

  • Java logging
  • ADF logging
  • HTTP Analyser
  • JUnit Testing
  • JDeveloper integrated debugger

HTML Review (optional)

  • XHTML Overview
  • XHTML Tags and Formatting
  • Creating & testing a web page
  • XHTML Tags
  • Head tag attributes
  • Body tag attributes
  • Standalone tags
  • Heading tags
  • Cascading style sheets (CSS)
  • Linked style sheet
  • Embedded style sheet
  • Link and Image Tags
  • Tables and Formatting
  • HTML Forms
  • HTML Form Output
  • Useful HTML References
  • Practice - Write HTML Pages

SQL Review (optional)

  • What is a relational database?
  • Example relational table
  • Retrieval Examples
  • The SELECT statement
  • Choosing columns
  • Choosing rows
  • Joining tables
  • Updating a database
  • Course Database
What You Can Expect

At the end of this course, delegates will be able to:

  • Understand the benefits and technologies of the J2EE Platform
  • Explain the features and benefits of Oracle JDeveloper and Oracle 10g AS
  • Use JDeveloper to build and deploy Java EE applications
  • Create web applications using ervlets and JavaServer Pages
  • Create web application interfaces using Java Server Faces (JSF) and Oracle ADF
  • Access Oracle 10g databases with Enterprise JavaBeans and TopLink
  • Appreciate Java EE deployment options using Oracle 10g AS
Who Should Take This Course

Developers and web application developers planning to utilise the Oracle Java Enterprise architecture for creating comprehensive multi-tiered database backed software in Java.

Recommended Prerequisites

Students should be comfortable with Java programming and object-oriented concepts. A minimum of six months coding experience is suggested.

Our one day Java Management Overview class is an excellent introduction to the principles of Java and Object Orientation, if you have no prior Java experience. Alternatively, our Java Programming class (5 days) provides a comprehensive grounding in software development using Java.

For each student, the following hardware configuration is suggested:

Windows-XP PC (note: Windows Vista is NOT supported)

JDeveloper 10g Release 3 (10.1.3)

Oracle 10g Application Server Release 3 (10.1.3)

Oracle 10g RDBMS Release 2 (10.2.0.1.0) Enterprise Edition, with sample data

Alternatively, a shared server can be configured to host the Oracle 10g RDBMS (on either Windows or UNIX/Linux). Each student will need the Oracle 10g Client tools to be installed and configured for network connections to the shared database server.

Sample database load scripts and model solutions will be provided electronically to each student.

Training Style

This is an instructor led class with comprehensive exercises following most lessons. The exercises build towards the creation of a comprehensive database backed web application for managing a lending library system.

« Hide The Details
Related Courses
Code Course Title Duration Level
WLEJB
Oracle WebLogic Developing Enterprise Java Beans
5 Days
I
Details
WLPORT
Developing WebLogic 11 Portlet Applications
4 Days
II
Details

Every student attending a Verhoef Training class will receive a certificate good for $100 toward their next public class taken within a year.

You can also buy "Verhoef Vouchers" to get a discounted rate for a single student in any of our public or web-based classes. Contact your account manager or our sales office for details.

Schedule For This Course
There are currently no public sessions scheduled for this course. We can schedule a private class for your organization just a couple of weeks from now. Or we can let you know the next time we do schedule a public session.
Notify me the next time this course is confirmed!
Can't find the course you want?
Call us at 800.533.3893, or
email us at info@verhoef.com