Consulting Training Blog Careers About Us Contact Us

Complete Java EE 5 Programming Using NetBeans Training

Upcoming Classes

Sorry, nothing scheduled right now. Click the Get Notified button below to be alerted when a class is scheduled.

Get Notified

On Site/Private

Can't find a class that fits right for you? Contact us to inquire about scheduling your own private class

Contact Us

Description

This is a five-day course with in-depth chapters being organized to solidify the students' learning experience.  The labs are long for great "hands-on" learning. 

Bring This Course To You

For groups of 5 or more, let Intertech bring this course to your location. Customized versions tailored towards your objectives are also available.

Learn More

Prerequisites

Intermediate level Java programming knowledge.

Course Outline

Introduction to NetBeans IDE
  • NetBeans 5.5 IDE
  • Projects Window
  • Source Editor
  • Files Window
  • Runtime Window
  • Navigator Window
  • Output Window
  • Standard Projects
  • Free-Form Projects
  • Templates
  • Building, Running, and Debugging Projects Using Ant
  • Setting Main Project
  • Opening and Closing Projects
  • Code Completion
  • Searching
  • Setting Project’s Class Path
  • Setting Project’s Target JDK
Introduction to Java EE 5
  • Java Web Applications
  • Java Web Application Architecture
  • Java EE Architecture
  • Java EE Software Packaging
  • Deployment Descriptors
  • Java EE Module Structure
  • Enterprise Archive (EAR)
  • Web Modules and WAR
  • EJB Modules
  • Web Application Programming Model – MVC
  • An MVC Example
  • The Infrastructure for Enterprise Web Applications
Java EE Programming Tools in NetBeans IDE
  • Create an Enterprise Application Project
  • Setup Utility JAR
  • Create an EJB Module Project
  • Create a Web Application Project
  • Setup Dependent JAR Files
  • Register a Server
  • Select Server An Application Runs On
  • Start and Stop the Server
  • Test a Servlet
  • Debug a Servlet
  • Test a JSP
  • Debug a JSP
Servlet Basics
  • History – CGI
  • Server Extension APIs
  • Java Servlet
  • Servlet Container
  • Servlet Responsibilities
  • Java EE and Servlet
  • The Servlet Class
  • The HttpServlet Class
  • The Servlet API
  • Life Cycle – Initialization
  • Life Cycle – Processing
  • Life Cycle – Destroy
  • User Input
  • Output to Client
  • Servlet Error Handling
  • Threading Issues
  • Registering a Servlet in the Web Deployment Descriptor
  • Create a Servlet in NetBeans
  • Code Servlet Methods
  • The Web Deployment Descriptor
  • Test the Servlet
  • Debug Servlets
JavaServer Page (JSP) Basics
  • JavaServer Pages
  • JSP Benefits
  • Evolution of Dynamic Content Technologies
  • How JSP Works
  • JSP Invocation
  • JSP Scripting Elements
  • JSP Directive
  • page Directive Attributes
  • page Attribute – errorPage
  • page Attribute – isErrorPage
  • Directives – include
  • Include at compile time vs. at request time
  • Request time inclusion
  • JSP Declarations
  • JSP Expressions
  • JSP Scriptlets
  • JSP Comments
  • JSP Predefined Variables
  • The request Object
  • The response Object
  • The out Object
  • Creating a JSP with NetBeans
  • Editing a JSP with NetBeans
  • Testing a JSP with NetBeans
  • Debugging a JSP with NetBeans
Servlet Interaction Interface
  • Request
  • Request Parameters
  • Request Attributes
  • Request Headers
  • Request Path
  • Other Request Information
  • Response
  • Cookies
  • Setting Cookies
  • Servlet Context
  • Servlet Context Attributes
  • Resource
  • Session Tracking
  • Tracking Techniques
  • Cookies
  • HTML Hidden Fields
  • Using HttpSession
  • Session Invalidation
  • HttpSession - URL Rewriting
Unified Expression Language and JSP Standard Tag Library (JSTL)
  • Unified Expression Language
  • Basic Usage
  • Built-in Objects
  • Working With Arrays and Maps
  • Operators
  • JSP Standard Template Library (JSTL)
  • Run Time Version
  • Basic Tags
  • Condition Tags
  • Iterator Tags
  • Internationalization (I18N)
  • Setting Preferred Locale
  • Specifying Resource Bundle
  • Display Translated Text
  • Display Number
  • Display Date
  • JDBC Tags
  • Specify Data Source
  • Performing a Query
  • Display Result
  • Deferred Expressions
Servlet Programming – Advanced
  • Key Issues for Web Application Development Productivity
  • Web Application Programming Model – MVC
  • Model
  • View
  • Controller
  • What is JDBC?
  • JDBC Architecture
  • JDBC: Basic Steps
  • Loading a Driver
  • DB2 UDB JDBC Drivers
  • Oracle JDBC Drivers
  • Create a Connection
  • Connection
  • Statement
  • PreparedStatement
  • ResultSet
  • JDBC Servlet With Transactions
  • Close the Connection
  • Need for Connection Pooling
  • Connection Pooling in JDBC 2.0
  • Basic Steps in Using JDBC Connection Pooling
  • Access a DataSource
  • Get a Connection
  • Release Connections
  • Resource References
  • JavaBeans
  • MVC Implementation
  • Request Dispatching
  • Request Dispatching - Forward vs. Include
  • HTTP Redirection
  • Dispatch vs. redirection
  • Integrating Servlet and JSP
  • Calling a JSP from a Servlet
  • Request Dispatching - forward Request to JSP
  • Supply Result information to the JSP
  • Display JavaBean Properties in JSP
  • Creating a Data Source with NetBeans
  • Adding Resource Reference in NetBeans
  • Create a Java Bean with NetBeans
  • Add Attributes and Getters and Setters with NetBeans
Java EE Annotations
  • What are Annotations?
  • Java Metadata Specification (JSR-175)
  • Where Can Annotations Be Used?
  • @EJB, @EJBs
  • @PersistenceContext, @PersistenceContexts
  • @PersistenceUnit, @PersistenceUnits
  • @PostConstruct, @PreDestroy
  • @Resource, @Resources
  • @WebServiceRef, @WebServiceRefs
Enterprise JavaBeans (EJBs) Overview
  • Need for EJBs
  • Distributed Computing
  • Distributed Transaction
  • Distributed Security
  • What are EJBs?
  • Main Characteristics of EJBs
  • EJB Remote Method Call
  • EJB Architecture Components
  • EJB Client
  • EJB JAR File
  • EJB Container
  • EJB Server
  • Enterprise JavaBeans
  • Session Beans
  • Entity Beans
  • Java Persistence API - Entities
  • Message-Driven Beans (MDBs)
  • EJB Specification
Stateless Session Beans
  • Session Beans
  • Stateless Session Bean
  • Stateless Session Bean Pooling
  • Stateful Session Bean
  • Annotations
  • Stateless Session Bean Components
  • Business Interface
  • Bean Class
  • JNDI
  • Dependency Injection
  • Dependency Annotations
  • Injecting EJB References (@EJB)
  • Injecting EJB References (@EJB) - Field Level Injection
  • Injecting EJB References (@EJB) - Method Level Injection
  • The @Resource Annotation
  • Injecting Resources (@Resource) - Field Level Injection
  • Injecting Resources (@Resource) - Method Level Injection
  • Session Bean Lifecycle
  • Stateless Session Bean Lifecycle
Stateful Session Beans
  • Stateful Session Bean Components
  • Session Bean Lifecycle
  • Stateful Session Bean Lifecycle
Entities and Java Persistence API
  • Data Persistence
  • Java Persistence API
  • Entities
  • Session Beans Vs Entities
  • Persisting and Retrieving Data
  • Accessing Entities
  • Persistence Context
  • Working With the EntityManager Interface
  • Accessing Entities Using Stateless Session Beans
  • Updating Data
  • Entity Lifecycle
  • Life-Cycle Callbacks
  • Internal Callback
  • External Callback Class
  • Listener Class
  • Synchronizing with Databases
  • Entity Lookup
  • EJBQL (EJB Query Language)
  • EJBQL: SELECT clause
  • EJBQL: FROM clause
  • EJBQL: WHERE clause
  • Using EJBQL - Dynamic Query
  • Using EJBQL - Named Query
Best Practices
  • Stateful Session Beans
  • Transaction Isolation Levels
  • Which EJB objects to cache
  • Caching and Pooling Entities
  • Using HTTP Session
  • Connection Pooling
  • Java Best Practices
Deploying Enterprise Application Projects to Sun Java System Application Server 9
  • Exporting the Enterprise Application
  • Deployment Descriptors
  • Application Assemble Entries
  • Installing an Application into Sun Java System Application Server 9
  • Managing Applications
Java EE Design Patterns
  • EJB Layer Architectural Patterns
  • Inter-tier Data Transfer Patterns
  • Transaction and Persistence Patterns
  • Client-side EJB Interaction Patterns
  • Primary Key Generation Strategies
Appendix A. Message-Driven Beans
  • The Trouble with RMI/IIOP
  • Messaging to the Rescue
  • Messaging Features
  • Message-Oriented Middleware
  • Messaging Domains
  • Publish/Subscribe
  • Point-to-Point
  • Java Message Service
  • JMS Programming: Overview
  • The JMS Interfaces
  • Integrating JMS and EJB
  • Message-Driven Beans Are Different From Other EJBs
  • Message-Driven Beans Cannot Talk to Their Clients
  • Message-Driven Beans are Stateless
  • Durable Subscription
  • Message-Driven Bean Interfaces
  • javax.jms.MessageListener
  • javax.jms.Message
  • Specialized Message Types
  • Lifecycle
  • Message Driven Bean
  • Transactions
  • Security
  • Load Balancing
  • Clustering and Topics
  • Clustering and Queues
  • A Few Tips
  • Poison Messages
  • How the Programmer Can Avoid Poison Messages
  • How the System Administrator Can Avoid Poison Messages
  • Building a Response
  • Potential Problems
  • A Simple Alternative
  • Type Checking and Messages
  • Testing Message-Driven Beans
Appendix B. Simple Custom Tags
  • What are Custom Tags (a.k.a. Tag Extensions)?
  • Motivation
  • Simple Tags, Tag Files, and Classic Tags
  • Simple Tag Handlers
  • Tag Attributes
  • Tag Body
  • Tag Library Descriptor
  • carPrice.tld
  • The Java Server Page
  • Writing a Simple Tag Handler Class
  • Simple Tag Handler Life Cycle
  • Rendering Content
  • Implementing Empty Body Tag
  • carPrice.jsp
  • Implementing a Tag With Unprocessed Body
  • Handling Tag Bodies
  • Implementing Body Processing
  • Implementing an Iteration Tag
  • Nested Tags
Appendix C. Java Messaging Service
  • Messaging Models
  • Components of Point-to-Point Messaging
  • Implementing a Sender
  • Listener Types
  • Listener Design Decisions
  • Implementing a JMS Receiver
  • Synchronous Receipt
  • Components of a Pub-Sub Model
  • Topic Publisher
  • JMS Programming in NetBeans

Free Resources from Intertech

Complete Guide to Becoming a Full Stack Developer

Free Book Chapter: Spring Web

Free package-info.java Whitepaper

X