| Course Code: |
IN 240 |
| Course Abstract: |
This course is for experienced developers and architects wishing to learn how to employ design patterns within a J2EE application. Project labs are incorporated throughout the course to reinforce the topics studied. |
| Audience: |
This course is designed for Advanced Java developers and architects. |
| Duration: |
3 days |
| Learning Outcomes: |
After completing this course, participants will be able to use the following pattern types: > Gang of Four > Base > Domain Logic > Data Source Architecture > Object-Relational Behavioral > Web Presentation > Distribution |
| Course Topics: |
Design Patterns What is Architecture? How is an Architecture Represented? What is a Design Pattern? Why Choose a Design Pattern? Gang of Four Patterns Base Patterns Domain Logic Patterns Data Source Architecture Patterns Object-Relational Behavioral Patterns Distribution Patterns Web Presentation Patterns Review Answers Lab Gang of Four Patterns Topics Gang of Four Factory Pattern Factory Pattern Example Singleton Pattern Singleton Pattern Example Façade Pattern Façade Pattern Example Iterator Pattern Iterator Pattern Example Review Answers Lab Lab Directions Base Patterns Topics Gateway Pattern Gateway Pattern Example Separated Interface Pattern Separated Interface Example Registry Pattern Registry Pattern Example Special Case Pattern Special Case Pattern Example Special Case Example Special Case Pattern Example Review Answers Lab Lab Directions Domain Logic Patterns Topics Transaction Script Pattern Transaction Script Pattern Example Transaction Script Pattern in J2EE Transaction Script Pattern Example Domain Model Pattern Domain Model Pattern in J2EE Domain Model Pattern Example Table Module Pattern Which Do We Use? Review Answers Lab Lab Directions Data Source Architecture Patterns Topics Table Data Gateway Pattern Table Data Gateway Pattern Example Row Data Gateway Row Data Gateway Example Row Data Gateway in J2EE Active Record Active Record Example Review Answers Lab Object-Relational Behavioral Patterns Topics Identity Map Pattern Identity Map Example Lazy Load Pattern Lazy Load Example Review Answers Lab Lab Directions Distribution Patterns Topics Remote Façade Pattern Remote Façade Pattern Example Data Transfer Object Pattern Data Transfer Object Pattern Example Review Answers Lab Lab Directions Web Presentation Patterns Topics Model View Controller Pattern Model View Controller Pattern in J2EE Model View Controller Pattern Example Front Controller Pattern Front Controller Pattern Example Template View Pattern Template View Pattern in J2EE Transform View Pattern Transform View Pattern in J2EE Combining Patterns Review Answers Lab Lab Directions Lab Guide Lab 1 - Introduction Lab 2 - Design Patterns Lab 3 - Gang of Four Patterns Lab 4 - Base Patterns Lab 5 - Domain Logic Patterns Lab 6 - Data Source Architecture Patterns Lab 7 - Object-Relational Behavioral Patterns Lab 8 - Distribution Patterns Lab 9 - Web Presentation Patterns Project Essential WSAD v5 Features WSAD Projects, Views, and Perspectives The Java Perspective Creating a Java Project Creating a Java Package Creating a Java Class Editing Java Class Files Compile Errors Using the Outline Window Closing Java Class Files Running a Class Running a Class with Arguments Debugging Debug Perspective Creating a JAR File Exporting Getting Help WSAD v5 Web & Server Perspectives Objectives J2EE Packaging Architecture The Web Perspective Creating a Web Project Importing a JAR File Creating a Servlet Editing a Servlet Servlet Listeners ServletContextListener ServletContextAttributeListener HttpSessionListener HttpSessionAttributeListener Creating a Servlet Listener Editing a Servlet Listener Servlet Filters Creating a Servlet Filter Editing a Servlet Filter Creating an HTML File Editing an HTML File Gallery View Attributes View Links View Styles View Colors View Creating a JSP File Editing a JSP File Library View Editing JSP Tags Testing Web Components Server Selection Advanced Server Selection Run on Server Server Status External Web Browser Stopping the Server Debugging Web Components Debug on Server Exporting The Server Perspective Managing the Servers Restarting a Project web.xml application.xml WSAD v5 J2EE Perspective Objectives J2EE Packaging Architecture The J2EE Perspective Creating an EJB Project Creating a Session EJB Editing a Session EJB Using the Outline Defining EJB Properties Generating Deployment Code Testing a Session EJB Server Selection Advanced Server Selection Server Status Testing a Session EJB Stopping the Server Debugging a Session EJB Debug on Server The Server Perspective Managing the Servers Restarting a Project Creating a CMP Entity EJB Editing a CMP Entity EJB Modify the ejbCreate Method Using the Outline Defining EJB Properties Generate EJB to RDB Mapping Defining Custom Finder Methods Defining a Data Source Generating Deployment Code Testing a CMP Entity EJB Debugging a CMP Entity EJB Creating a BMP Entity EJB Editing a BMP Entity EJB Using the Outline Defining EJB Properties Defining a Data Source Generating Deployment Code Testing a BMP Entity EJB Debugging a BMP Entity EJB Required Software for MDBs Creating an MDB Editing an MDB Defining Server Properties Generating Deployment Code Testing an MDB Debugging an MDB Exporting ejb-jar.xml Essential WSAD v4 Features WebSphere Studio Application Developer (WSAD) Comparison with VisualAge for Java Projects, Views, and Perspectives Building Java Classes Open the Java Perspective Create a Java Project Import Existing Classes Create a Java Package Create a Java Class Modify the Class Run the Class Debug the Class Export the Class Resources Advanced WSAD v4 Features Objectives Building J2EE Web Components Create a Web Project Create a Java Package Create a Servlet Modify the Servlet Create an HTML File Modify the HTML File Test the Web Project Debug the Servlet Export the Web Project Building EJBs Create an EJB Project Create a Session Bean Add/Modify Bean Methods Set Bean Properties Generate Deploy and RMIC Code Create an Entity Bean Add/Modify Bean Methods Define a Data Source Set Bean Properties Generate Deploy and RMIC Code Test the EJB Debug the EJB Export the EJB Project Resources |
| Prerequisites: |
Prior Java software development experience is assumed. Completion of an Enterprise JavaBeans Workshop course or equivalent knowledge is required. All participants must have a working understanding of JDBC, servlets, JSPs, and EJBs. |