Developing Applications for the J2EE™ Platform by usr10478

VIEWS: 7 PAGES: 7

									Developing Applications for the J2EE™
Platform
The Developing J2EE Compliant Java Applications course provides students with knowledge to build and
deploy enterprise applications that comply with Java 2 Enterprise Edition (J2EE). The enterprise
components covered in this course range from Enterprise JavaBeans (EJB), servlets, and JavaServer Pages
(JSP) to the HTML and Java technology clients that use them. Students gain hands-on experience through
labs that build an end-to-end, distributed business application. The labs explore database interaction
from session EJB components using Java Database Connectivity (JDBC), and entity EJB components using
both bean-managed and container-managed persistence. Students build HTML and Java technology
clients. The HTML clients access Java Enterprise services using servlets and JavaServer Pages. Students
are taught how to assemble an application from reusable components and deploy an application into
the J2EE runtime environment.

Course ID:
FJ-310 Duration:          5 days

Who Can Benefit

Java technology programmers who want to develop enterprise applications that conform to the Java 2
Enterprise Edition (J2EE) standards.

Prerequisites

To succeed fully in this course, students should be able to:
• Use Java technology syntax fluently
• Code a Java technology class and methods
• Understand the Java technology interface construct
• Understand the JavaBeans component architecture
• Create and modify simple HTML pages
• Write a Java technology program
Skills Gained
Upon completion of this course, you should be able to:
• Create, code, and test EJB components that provide enterprise application logic
• Provide HTML client access to EJB components through servlets
• Create HTML clients using JavaServer Pages technology
• Access a database using JDBC or entity EJB components
• Assemble, deploy, and test a distributed Java technology application
Related Courses
Before: SL-275: Java Programming Language
•   After: SL-314: Web Component Development with Java Technology
•   After: SL-351: Enterprise JavaBeans Programming
•   After: SL-330: Database Application Programming with Java Technology
•   After: SL-425: Architecting and Designing J2EE Applications
Course Content
Module 1: Building Java 2 Platform Enterprise Edition Applications


•   Describe the purpose of each of the components of the Java 2 Platform, Enterprise Edition (J2EE)
•   Define the J2EE application life cycle roles
•   Describe how an Integrated Development Environment supports developing J2EE applications
Web Component Development With
Servlet and JSP Technologies
The Web Component Development with Servlet and JSP Technologies course provides students with the
knowledge and skills needed to quickly build reference implementation-compliant Web tier components
from JavaServer Pages (JSP) and Java Servlet extensions using the Tomcat server environment. Students
are exposed to the current best practices for analyzing, designing, developing, testing, and deploying
Web applications with Java technologies. Real-world lab exercises provide students experience with
constructing and deploying small- to medium-scale Web applications found in intranet and low-volume
commercial sites.
This course also provides an ideal method of preparing for the new Sun Certified Web Component
Developer certification examination. As such, students are not only taught the technical details of JSP
and servlet technology, they also learn about the best practices for integrating the Web tier with the
other tiers, from the browser display to Enterprise JavaBeans (EJB) components running on an application
server and back-end database resources.
Course ID:
SL-314 Duration:
5 days

Who Can Benefit

Java programming language developers with skills equivalent to that of a Sun Certified Developer for the
Java 2 Platform who are creating Web components, such as servlets and custom tags, used in the
assembly and generation of dynamic web content. This is not a course for Web page designers using
Hypertext Markup Language (HTML), JavaScript, or other web presentation technologies.

Prerequisites

To succeed fully in this course, students should be able to:
• Write Java technology applications, demonstrating significant programming ability
• Integrate existing Java technology code (that is, reuse existing classes created by other team
   members)
• Design Java technology applications
• Functionally describe the benefits of an n-tier architecture
• Write a Web page using HTML
Related Courses
Before: FJ-310: Developing J2EE Compliant Applications (optional)
•   Before: OO-226: Object-Oriented Application Analysis and Design for Java Technology (UML)
Course Content
Module 1 - Introduction to Web Application Technologies


•   Describe Internet services
•   Describe the World Wide Web
•   Distinguish between Web applications and Web sites
•   Describe Java servlet technology and list three benefits of this technology compared with traditional
    common Gateway Interface (CGI) scripting
•   Describe JavaServer Page technology and list three benefits of JSP pages technology over rival
    template page technologies
•   Describe the J2EE software
    Module 2 - Developing a Simple Servlet
•   Develop a simple generic servlet
•   Describe the Hypertext Transfer Protocol (HTTP)
•   Develop a simple HTTP servlet
•   Deploy a simple HTTP servlet
•   Develop servlets that access request headers
•   Develop servlets that manipulate response headers
    Module 3 - Developing a Simple Servlet That Uses HTML Forms


•   Describe the structure of HTML Form tags
•   Describe how HTML forms send data using the CGI
•   Develop a HTTP servlet that accesses form data
    Module 4 - Developing a Web Application Using a Deployment Descriptor


•   Describe the requirements of a robust web application model
•   Deploy a web application using a deployment descriptor
    Module 5 - Configuring Servlets


•   Describe the events in a servlet life cycle and the corresponding servlet API methods
•   Describe servlet initialization parameters and their use with individual servlet instances
•   Write servlet code to access the configured initialization parameters
    Module 6 - Sharing Resources Using the Servlet Context


•   Describe the purpose and features of the servlet context
•   Develop a context listener that manages a shared Web application resource
    Module 7 - Developing Web Applications Using the MVC Pattern


•   List the limitations of a "simple" Web application
•   Develop a Web application using a variation on the Model-View-Controller (MVC) pattern
    Module 8 - Developing Web Applications Using Session Management


•   Describe the purpose of session management
•   Design a Web application that uses session management
•   Develop servlets using session management
•   Describe the cookies implementation of session management
•   Describe the URL-rewriting implementation of session management
    Module 9 - Handling Errors in Web Applications


•   Describe the types of errors that can occur in a Web application
•   Declare a HTTP error page using the Web application deployment descriptor
•   Declare a Java technology exception error page using the Web application deployment descriptor
•   Develop an error handling servlet
•   Write servlet code to capture a Java technology exception and forward it to an error handling servlet
•   Write servlet code to log exceptions
    Module 10 - Configuring Web Application Security
•   Explain the importance of Web security
•   Use the deployment descriptor to configure authorization for a Web application resource
•   Use the deployment descriptor to configure authentication of users of a Web application
     Module 11 - Understanding Web Application Concurrency Issues


•   Describe why servlets need to be thread safe
•   Describe the attribute scope rules and the corresponding concurrency issues
•   Describe the single thread model for servlets and the issues with this concurrency strategy
•   Design a Web application for concurrency
    Module 12 - Integrating Web Applications With Databases


•   Understand what a database management system (DBMS) does
•   Design a Web application to integrate with a DBMS
•   Develop a Web application using a connection pool
•   Develop a Web application using a data source and the Java Naming and Directory Interface (JNDI)
    Module 13 - Developing JSP Pages


•   Describe JavaServer Page (JSP) technology
•   Write JSP code using scripting elements
•   Write JSP code using the page directive
•   Create and use JSP error pages
•   Describe what the Web container does behind the scenes to process a JSP page
    Module 14 - Developing Web Applications Using the Model 1 Architecture


•   Design a Web application using the Model 1 architecture
•   Develop a Web application using the Model 1 architecture
    Module 15 - Developing Web Application Using the Model 2 Architecture


•   Design a Web application using the Model 2 architecture
•   Develop a Web application using the Model 2 architecture
    Module 16 - Building Reusable Web Presentation Components


•   Describe how to build Web page layouts from reusable presentation components
•   Write JSP technology code using the include directive
•   Write JSP technology code using the jsp:include standard action
    Module 17 - Developing JSP Pages Using Custom Tags


•   Describe the problem with JSP technology scripting tags
•   Given an existing custom tag library, develop a JSP page using this tag library
    Module 18 - Developing a Simple Custom Tag


•   Describe the structure and execution of a custom tag in a JSP page
•   Develop the tag handler class for a simple, empty custom tag
•   Write the tag library description for a simple, empty custom tag
•   Develop a custom tag that includes its body in the content of the HTTP response
    Module 19 - Developing Advanced Custom Tags
•   Develop a custom tag in which the body is conditionally included
•   Develop a custom tag in which the body is iteratively included
    Module 20 - Integrating Web Applications With Enterprise JavaBeans


•   Understand the J2EE software at a high level
•   Develop a Web application that integrates with an EJB component using the Business Delegate
    pattern
    Module 2: Distributed Object Communication


•   Explain how clients communicate with remote components
     Module 3: Java 2 Platform Enterprise Edition and Enterprise JavaBeans


•   Describe the purpose of the two types of Enterprise JavaBeans (EJBs): entity beans and session beans
•   Explain the roles involved in creating applications using EJBs
•   Explain the responsibilities of each role in the EJB development process
    Module 4: Creating Session EJBs


•   Describe the parts of an EJB session bean
•   Create a simple EJB session bean
    Module 5: Testing Session EJBs


•   Write a simple client to test an EJB
•   Define an EJB reference
•   Use JNDI to look up the EJB's home object
•   Assemble and deploy a session EJB
    Module 6: JDBC and Resource Factories


•   Explain how to use the Java Database Connectivity (JDBC) API to execute dynamic SQL statements
•   Explain how to use a resource factory to acquire a database connection
•   Code a session EJB that accesses a database using JDBC
    Module 7: Entity EJB Overview


•   Describe how entity beans and session beans differ
•   Describe how an entity bean is used
•   Describe the entity bean life cycle
•   List the methods on an entity bean and their purpose
•   Describe how container-managed persistence differs from bean-managed persistence
    Module 8: Creating BMP Entity EJBs


•   Describe bean-managed persistence (BMP)
•   Build a BMP entity bean
•   Code a custom finder method for a BMP EJB
•   Use a Data Access Object with a BMP EJB
•   Assemble and deploy a BMP entity bean
    Module 9: Creating CMP Entity EJBs


•   Describe container-managed persistence (CMP)
•   Build a CMP entity bean
•   Assemble and deploy a CMP entity bean
    Module 10: Java 2 Platform Enterprise Edition Clients


•   Describe the client types supported by J2EE applications
•   Choose the appropriate style of client design for a given application
•   Describe the factors to consider when developing client components for an application that is
    compliant with J2EE architecture
     Module 11: Creating Servlets


•   Describe the Servlet API and its associated classes and interfaces
•   Create a servlet based on the HttpServlet class
•   Assemble and run a servlet
    Module 12: Introduction to JavaServer Pages Technology


•   Explain the function of JavaServer Pages (JSP) technology
•   Describe the services provided by a JSP container
•   List the benefits of using JSP technology
•   Explain the relationship between servlets and JSPs
    Module 13: JSP Page Elements


•   List and describe the elements of a JSP page
•   Create JavaServer Pages that incorporate the major JSP elements and Java scriptlets
    Module 14: Web-Tier Design Options


•   Define the role of servlets and JavaServer Pages technology in the J2EE application programming
    model (APM)
•   Describe the different JSP architectural models
•   Explain how to implement the Model/View/Controller (MVC) design pattern using servlets and JSPs
•   Design, build, and deploy a Model 2 multi-tier application using web clients, servlets, JSPs, and EJBs

								
To top