Developing Applications for the Java EE 6 Platform (FJ-310-EE6)
Gain the knowledge to build and deploy enterprise applications that comply with Java Platform, Enterprise Edition 6 (Java SE 6) technology standards. The enterprise components presented in this course include Enterprise JavaBeans (EJB) technology, the Java Persistence API, servlets, and JavaServer Pages (JSP) technology, JavaServer Faces (JSF), RESTful and SOAP web services, and the Java technology clients that use them.
You will gain hands-on experience through labs that build an end-to-end, distributed business application. In the labs, you will explore session EJB components, which implement the Session Facade pattern and provide a front-end to entity components using the Java Persistence API. You will also explore message-driven EJB components, which act as Java Message Service (JMS) consumers. You will create user interfaces using servlets, JSP technology, and JavaServer Faces (JSF), and you will create basic web services using SOAP and RESTful techniques. You will learn how to assemble and deploy an application into an application server (Java EE platform runtime environment), and you will perform the course lab exercises using NetBeans Integrated Development Environment (IDE).
What You'll Learn
- Application model for the Java EE platform and the context for the model
- The correct Java EE Profile for a given application
- Develop and run an EJB technology application
- Develop basic Java Persistence API entity classes to enable database access
- Develop a web-based user interface using Servlets, JSPs, and JSF
- Develop simple web services for the Java EE platform
Who Needs to Attend
- Sun Certified Java technology programmers who want to develop enterprise applications that conform to the Java EE platform standards
- Students with Java Programming experience interested in broad overview of the Java EE platform
- Students planning to pursue one or more of the Enterprise Java EE6 certification exams
Prerequisites
- Experience with the Java programming language
- Familiarity with object serialization
- Familiarity with relational database theory and the basics of SQL
- Familiarity with the use of an IDE
Follow-On Courses
- Business Component Development with EJB Technology, Java EE 6 (SL-355-EE6)
- Building Database-Driven Applications with Java Persistence API (SL-370-EE6)
Course Outline
1. Survey of Java EE Technologies
- Different Java platforms and versions
- Needs of enterprise applications
- Java EE APIs and services
- Certifications paths
- Applications servers
- Enterprise modules
2. Enterprise Application Architecture
- Design patterns
- Model view controller
- Synchronous and asynchronous communication
- Network topologies and clustering
- Layering (client, presentation, service, integration, persistence)
3. Web Technology Overview
- Role of web components in a Java EE application
- HTTP request-response model
- Compare Java servlets, JSP, and JSF
- Brief introduction to technologies not covered in detail
4. Developing Servlets
- Servlet API
- Servlet configuration through annotations and deployment descriptors
- Use the request and response APIs
- Servlets as controllers
5. Developing with JavaServer Pages (JSP) technology
- Evaluate the role of JSP technology as a presentation mechanism
- Author JSP pages
- Process data received from servlets in a JSP page
- Brief introduction to the JSTL and EL
6. JavaServer Faces
- The JSF model explained
- Adding JSF support to web applications
- Using the JSF tag libraries
- Configuring JSF page navigation
- JSF Managed beans
- JSF conversion, validation, and error handling
7. EJB Overview
- EJB types: Session beans
- EJB types: Message-driven beans
- Java Persistence API as a replacement for Entity EJBs
- Role of EJBs in a Java EE application
- EJB lite
8. Implementing EJB 3.0 Session Beans
- Stateless vs. stateful behavior
- Operational characteristics of a stateless session bean
- Operational characteristics of a stateful session bean
- Operational characteristics of a singleton session bean
- Create session beans
- Package and deploy session beans
- Create session bean clients
9. The Java Persistence API
- The role of the Java Persistence API in a Java EE application
- Object Relational Mapping
- Entity class creation
- Using the EntityManager API
- The life cycle and operational characteristics of Entity components
- Persistent Units and Packaging
10. Implementing a Transaction Policy
- Transaction semantics
- Compare programmatic and declarative transaction scoping
- Use the Java Transaction API (JTA) to scope transactions programmatically
- Implement a container-managed transaction policy
- Support optimistic locking with the versioning of entity components
- Support pessimistic locking of entity components
- Using transactions with the web profile
11. Developing Asynchronous Java EE Applications and Messaging
- The need for asynchronous execution
- JMS technology introduction
- Capabilities and limitations of Java EE components as messaging producers and consumers
- JMS and transactions
- JMS administration
12. Developing Message-Driven Beans
- Properties and life cycle of message-driven beans
- Create a JMS message-driven bean
13. Web Service Model
- Role of web services
- Web service models
- Specifications used to make web services platform independent
- Java APIs used for XML processing and web services
14. Implementing Java EE Web Services with JAX-WS and JAX-RS
- Endpoints supported by the Java EE 6 platform
- Developing Web Services with Java
- Creating Web Service Clients with Java
15. Implementing a Security Policy
- Exploit container-managed security
- Define user roles and responsibilities
- Create a role-based security policy
- Use the security API
- Configure authentication in the web tie
United States [