Course Outline
The training course provides an intensive practical introduction to developing Java and Enterprise Java applications using IBM's Rational Application Developer development environment for web applications.
Available as a public or closed course at our London training centre, or can be tailored to your team's requirements and delivered onsite as a bespoke, customised training course.
Users are shown best practices throughout and given performance and design tips and guidelines.
Course Content
Our hands-on JavaEE Rational Application Developer training course has been developed for real-world, commercial scenarios by our expert instructors.
See below for our detailed training course syllabus. The course contains many hands-on tutorials based on real-world scenarios. If you have a technical question, please email sales@jbinternational.co.uk.
What you will learn
At the end of this course you will be able to:
1. Understand the benefits and technologies of the Java EE (J2EE)
2. Understand the architecture behind the JavaEE
3. Create Enterprise applications using the JavaEE reference edition
4. Develop servlets, implementing session management and error handling
5. Use JSPs to develop template based client interfaces
6. Leverage RMI to provide pure Java distributed applications
7. Build reusable components with Enterprise Java Beans (EJB)
8. Access naming services using Java Naming and Directory Interface (JNDI) to talk to Lightweight Directory Access Protocol (LDAP) servers
9. Connect to databases with JDBC
10. Query databases with SQL
11. Encapsulate databases using a datasource
12. Co-ordinate the completion of transactions
13. Implement security measures
JavaEE with Rational Application Developer Training Course Outline
Enterprise Java Overview
JavaEE (Java 2 Enterprise Edition) reference implementation
JavaEE overview
Reference implementation overview and licensing
Services
Supported databases
Limitations of reference implementation
Configuration
Rational Application Developer
Developing code in Rational Application Developer
Running web applications in Rational Application Developer
Using Enterprise JavaBeans in Rational Application Developer
Servlets
What is a Servlet?
Lifecycle methods
The service() method
Creating servlets
HTTP servlets
Responding to requests
Logging
Servlets and threads
Storing session data
URL rewriting
Cookies
Redirection
Errors and unavailability
Testing and deploying in RAD
Java Server Pages (JSP)
What is a JSP?
How JSPs work
Directives
Actions
Scriptlets
Standard actions
Standard directives
Conditional and looping execution
JSPs and JavaBeans
Standard variables in JSPs
Defining variables and methods
Including other documents
Redirection
RMI Overview
Remote Procedure Calls (RPC)
Remote Method Invocation (RMI)
Remote interfaces
Building a remote object
EJB Overview
What are EJBs?
Session beans
Entity beans
Message beans
EJB architecture
Example EJB
Naming
Containers and servers
Using the WSAD JNDI Test client
Using the WSAD EJB Test client
Container Managed Persistence (CMP)
EJBs with Container-Managed Persistence
Entity beans
Principles of CMP
Creating a CMP bean (remote interface, home interface, bean class)
Mapping fields
Simple mappings
Type mapping
Complex mappings
Generating extension mappings for RAD
EJB Deployment
Deployment descriptors
Why deploy?
Deployable beans vs deployed beans
EJB JAR files
J2EE Deployment Tool
Configuring an EJB
Adding a web component
Adding a client application
Verification and deployment
Exporting to WebSphere Application Server
Java Naming and Directory Interface (JNDI)
What is JNDI?
Why use a naming service?
DNS (Domain Name Service)
LDAP (Lightweight Directory Access Protocol)
Contexts
Looking up values
Naming in the Enterprise
EJB Clients
What is an EJB Client?
Finding an EJB
Using an EJB
Session beans
What is a session bean?
Stateful vs stateless session beans
Implementing a session bean
Standard EJB Methods
Standard methods in EJBs
Creation and removal
Load and store
Instance pooling
Passivation and activation
Contexts
Handles
SQL Overview
The purpose of SQL
Components of SQL
Selects
Joins
Inserts
JDBC (Java Database Connectivity)
What is JDBC?
JDBC classes and interfaces
JDBC drivers
Database naming
Connecting to a database
Processing ResultSets
JDBC and Java types
Connection pooling
EJBs with Bean Managed Persistence
Principles of BMP
Building a BMP bean
Using databases within BMP beans
Configuring BMP beans
Using naming
Transactions Overview
What are transactions?
Transaction properties
Java transactions
One-phase and two-phase commit
EJB Transactions
EJB transactions
Different models for transaction management
Transaction attributes
Transaction isolation
User transactions
Sessions and transactions
Clients and transactions
Mixing transactions
EJB Security
Authentication and authorisation
Realms
Users, groups and roles
Delegation
Java Messaging Service (JMS)
Messaging architecture
Publish/Subscribe and Point to Point (P2P)
Queues and Topics in JMS
Message types
Creating and using topics
Creating and using queues
Comparison of topics and queues
Temporary topics
Message transactions
Formatting data with XML
Integration with legacy systems
JavaMail
Mail overview
SMTP, POP and IMAP
Stores and Folders
Creating and sending mail
Creating mixed messages
Activation framework overview