JavaEE Bootcamp Training Course

Course Summary

Our JavaEE Bootcamp training is a must-have for anyone who wants to learn how to develop enterprise Java applications. It is delivered on a JBoss™Application Server, but is relevent to any major JavaEE platform.

By the end of this example-packed, lab-driven course, you will become proficient in Java EE specifications, APIs, semantics, development, as well as JBoss AS deployments, architecture, administration, tuning, security, high-availability + scalability, and best practices. 

This course is based on Java EE 6 and JBoss 7.

 

Duration [top]

5 days.

Objectives [top]

Upon completion of this course, you will be able to create a complete distributed JavaEE application. You will also be able to deploy it using JBoss Application Server.

Audience [top]

Java developers with couple of years of experience who are or will be involved in enterprise application development.

Prerequisites [top]

Before taking this course, students should have an advanced knowledge of Java programming.

Instructors [top]

Photo

Gordon Force has 25 years of product development experience as a developer, architect, director and instructor. Previously, he led development and application support for the ConnectPay and Encompass products at First Data. Agile development, with a heavy emphasis on testing, contributed to an effective strategy for consistently delivering new features on time, with high quality and industry compliance. Gordon now leads NewCircle as CEO.

More about Gordon Force...

Outline [top]

JavaEE

  • Overview of JavaEE
  • Benefits of JavaEE

JBoss

  • Overview of JBoss Organization
  • Overview of JBoss Application Server
  • Highlights of JBoss AS
  • JBoss AS Architecture
  • JBoss AS Requirements

Installation

  • Getting, installing, and configuring Java
  • Getting JBoss
  • Building from source
  • Installing JBoss
    • Unpacking
    • Using the installer

Directory Structure

  • Examining JBoss AS directory structure
  • Explaining JBoss AS files, scripts, and utilities
  • Understanding JBoss AS configuration ("server") sets
  • JBoss AS logging

Starting/Stopping

  • Using the run script
  • Verifying server startup
  • Stopping (shutting down), including remote stopping
  • Remote starting (netboot)

Deployment

  • JavaEE development-deployment life-cycle
  • JavaEE deployment descriptors
  • Deployment on JBoss AS
  • Deployers on JBoss AS
  • Deployment Dependencies
  • Hot vs. Cold Deployment
  • Looking at conf/jboss-service.xml and XMBeans

JBoss-IDE

  • Overview of JBoss IDE plug-ins for Eclipse
  • Configuring JBoss IDE
  • Controlling JBoss AS from Eclipse

Web Tier

  • Overview of web technologies (CGI, Cold Fusion, PHP, APS, Servet/JSP)
  • CGI vs. Servlets/JSPs
  • Advantages of Servlets
  • JavaEE Web Applications
  • Java Servlets
    • Life-cycle
    • API
    • Processing requests
    • Generating responses
    • Defining and mapping in WEB-INF/web.xml
    • Web Application structure
    • Deploying web applications
    • Development through JBoss IDE
    • Automation with XDoclet
    • Serving Requests with multiple resources
    • Overview of MVC
    • Scoped storage: request, session, application
    • Initializing applications
    • Thread-safety
    • Generating binary responses
  • Welcome files
  • Error documents
  • Introduction to Servlet Filters
    • Life-cycle
    • API
    • Defining and mapping in WEB-INF/web.xml
  • JavaServer Pages
    • Life-cycle
    • API
    • Development through Eclipse
    • Packaging
    • Implicit objects
    • Directives, scriptlets, expressions, declarations, comments
    • Actions
    • Introduction to JSP tag libraries
    • Using JSP Standard Tag Library (JSTL)
    • Expression Language (EL)
  • Tomcat Web Container
    • Overview of Tomcat
    • Architecture
    • Configuration (jboss-service.xml and server.xml)
    • Tomcat's web.xml
    • Serving static content
    • Virtual hosting
    • Web access logging

JNDI

  • Overview of JNDI
  • Role of JNDI in JavaEE
  • JNDI API
  • Using JNDI
  • JNDI resources
  • JNDI on JBoss AS

JavaMail

  • Overview of JavaMail
  • JavaMail API
  • JavaMail service on JBoss AS
  • Sending (SMTP) and fetching (IMAP/POP) mail

JMX

  • Overview of Java Management Extensions
  • JMX Architecture (layers)
  • JMX MBeans
  • JMX on JBoss AS
  • JMX Console
  • Twiddle tool (JMX command-line client)
  • Developing MBeans through JBoss IDE and XDoclet
  • Packaging service archive (SAR) files
  • Web Console
  • JBoss Monitoring

Class Loading

  • Java Class Identity
  • JavaEE Class Loading Requirements
  • Class Loading on JBoss
  • Default Class Search Order
  • Scoped Class Search Order
  • Log4j Issues
  • Common Problems With Class Loading

Database Integration

  • Managed Database Connection Pools
  • Referencing database connection pool resources
  • Installing JDBC drivers
  • Defining database resources in JBoss AS
  • Resource Mapping
  • MySQL example
  • JBoss embedded Hypersonic database
  • Detecting DB Connection Leaks

JMS

  • Overview of Java Messaging Service
  • JMS Architecture
  • JMS Messaging Domains (Point-to-Point, Publish and Subscribe)
  • JMS Message Consumption
  • JMS API
  • Developing with JMS
  • JMS on JBoss AS
    • Configuration
    • Creating destinations (queue and topic)

EJB

  • Overview of Enterprise JavaBean technology
  • EJB Container
  • Benefits of EJB
  • Types of EJBs (session, entity, message-driven)
  • Entity bean (JPA: persistence, transactions, primary keys, relationships)
  • EJB client interfaces (remote, local, web service)
  • EJB life-cycle (entity, stateful session, stateless session, message-driven)
  • Developing stateless session beans through JBoss IDE
    • Initialization, business methods, and "plumbing"
    • Automating with XDoclet
    • Developing EJB clients (local, remote)
    • Packaging with enterprise Archive (EAR) files
    • Testing
  • Developing message-driven beans through JBoss IDE
    • MDB destination
    • Accepting requests
    • Linking EJBs
    • Using external resources
    • MDB clients
    • Testing
  • Drawbacks of EJBs

Transactions

  • Overview of Transactions (ACID properties)
  • Resource Locking (pessimistic vs. optimistic)
  • Distributed Transaction Components (JTA API)
  • Two-phase XA protocol
  • Heuristic Exceptions
  • Transactions on JBoss AS
  • Container-Managed Transactions (CMT)
  • User Transactions

Web Services

  • Overview of Web Services
  • Service Oriented Architecture (SOA)
  • Overview of JAX-RPC
  • Web Services on JBoss AS
  • Servlet-based web service example
    • Creating end-point
    • Generating descriptors (including WSDL) using WSDP
    • Packaging and deploying
  • Creating web service client

Security

  • Filtering Clients by Source (IP address or hostname)
  • Authentication and Authorization using JAAS
    • Role-based declarative security
    • Requiring authentication and authorization in deployment descriptors
    • JBoss plain-text login module
    • JBoss database login module (example with MySQL)
    • Linking to security domain
    • Securing passwords with MD5
    • FORM-based login (including the handling of errors)
  • Configuring JBoss AS for SSL
    • Generating SSL certificates
    • Tomcat's SSL connector
    • Requiring SSL in web applications
  • Securing JBoss AS
    • Running with low-privileges
    • File-system security
    • Securing console applications/toos and services
    • Running with Java Security Manager
    • Running behind a firewall

Performance

  • JVM tuning (garbage collection optimization)
  • Tuning Tomcat (connectors, valves, JSPs, etc.)
  • RMI tuning
  • Tuning other JBoss services (including logging)
  • Slimming JBoss AS (removing unnecessary services)

Clustering

  • Examining requirements: fault-tolerance / high-availability (HA) and scalability
  • Exploring web system architectures
  • Fronting JBoss with Apache (using mod_jk)
  • Enabling simple load-balancing
  • Using sticky sessions
  • Configuring clustered session replication
  • Clustering of JBoss services (HA-JNDI, HA-JMS, etc.)
  • Cluster Farming Deployment

Additional Notes [top]

This course is typically delivered in five days but we can customize the curriculum to fit your specific training requirements.

Java™ and all Java-based marks are trademarks or registered trademarks of Sun Microsystems, Inc.
JBoss™ is a registered trademark of Red Hat, Inc.


Student Testimonials [top]

Doug as an instructor was very approachable and helpful. We walked into the class with no idea about any of the concepts, now we are familiar everything that was promised even though we dint have enough time to go in to the details of everything. This is definitely a great starting point for us to build on. Thanks Doug!!

Divya - Cisco

Very good course to let me get more familiar with JEE and JBoss. The instructors did a great job explaining the concepts and were always available for various questions.

Weidung - Cisco

Doug and Neven demonstrated in depth knowledge and understanding of JEE and the tools to build software in this space. I do appreciate them staying late every day to take our questions and their willingness share their experiences working in this environment.

Nelson - Cisco

Michael was a very proficient and knowledgeable instructor. He really took the time to focus on and answer the the questions that were important to our group.

Pete - MITRE Corporation

Great course.

Bayardo - Cisco

This was a great course and an excellent primer. The instructors did a great job tayloring the course to our company's specific needs. The content was excellent as well.

Lindsey - Cisco

The instructor is very helpful for us to come up to speed on the topics chosen for the training. He did a very good job on keeping people engaged and responding to the many questions people have. Overall a well-delivered training experience.

Weijen - Cisco

Really appreciate the teachers staying after class to help me with problems I was having with my lab exercise.

Debbie - Cisco

Neven and Doug are great instructors: knowledgeable, helpful, and patient. They catered the class to our needs and went the extra mile by staying after class to to discuss web technology that could benefit our product development.

Khiem - Cisco

Since its a 5 day course, its very easy to loose focus, I will admit I did loose focus :) But the instructor was spot on. I am amazed at the amount of stuff he knows. I mean he went on on and on about things in the course and also about things that we asked which were not a part of the course. Completely willing to help.

Pranav - Cisco