Advanced Java With J2EE

  • Upload
    sid-roy

  • View
    217

  • Download
    0

Embed Size (px)

Citation preview

  • 7/31/2019 Advanced Java With J2EE

    1/6

    Advanced Java Topics with J2EE

    Topics

    Java 2 Platform Enterprise Edition Architecture

    Understanding the Enterprise

    What is J2EE?

    The need for J2EE?

    Advantages of using J2EE

    J2EE architecture

    o Understanding tiered architecture

    o Understanding MVC architecture

    When to use J2EE

    Understanding J2EE Jargons

    J2EE Timeline J2EE constituents

    Overview of J2EE APIs

    JDBC Introduction

    Connection

    Driver Manager

    Data source

    Statement

    Resultset Prepared Statement

    Callable Statement

    Mapping Sql and java types

    Row Set

    Servlets What is a Servlet?

    Competing Technologies

    Servlets and threads

    Advantages of Servlets over competing technologies.

    Servlet Lifecycle

    Servlet Program structure

    HTTP servlets and HTTP request methods.

    Deploying Servlets on Tomcat

    Deploying Servlets on J2EE RI Server

    Deploying Servlets on Weblogic Server

  • 7/31/2019 Advanced Java With J2EE

    2/6

    Understanding Servlet API

    Responding to requests

    Accessing form input data

    Working with header fields

    URL Redirecting

    Understanding SingleThreadModel

    Session Trackingo Hidden form fields

    o Cookies

    o Session Objects

    o URL Rewriting

    Server-side includes

    Servlet Chaining

    o Normal chaining

    o Mime-based chaining

    Http Tunneling

    Java Server Pages What is a JSP?

    Why JSP?

    JSP architecture

    Advantages of JSP

    JSP History

    Glimpse of JSP tools

    Comparing JSP

    JSP Life cycle

    Demo code Deploying JSP on Tomcat

    Deploying JSP on J2EE RI Server

    Deploying JSP on Weblogic

    Understanding JSP API

    JSP Tag conventions

    Understanding JSP components

    o Comments

    o JSP Tags

    Declaration tags

    Expression Tags

    Scriptlets

    Directives

    Standard Actions

    Defining variables and methods

    Implicit Objects

    Including other documents

    JSP actions

  • 7/31/2019 Advanced Java With J2EE

    3/6

    o JSPs and JavaBeans

    o Including and forwarding

    Creating custom Tags

    o Using taglib directive

    o Writing a TLD

    o Writing a simple custom tag

    o Writing a custom tag with attributeso Writing a custom tag with body

    o Writing a custom tag with scripting variables

    o Writing a cooperative custom tag

    o Writing an iterative custom tag

    Enterprise Java Beans What are EJBs?

    Why use EJB?

    EJB architecture

    EJB typeso Session beans

    o Entity beans

    o Message beans

    Understanding EJB API

    EJB contracts

    EJB Life cycle

    Understanding EJB code structure

    o Home Interface

    o Local Home Interface

    o

    Remote (Bean) Interfaceo Local Bean Interface

    o Java Naming and Directory Interface (JNDI)

    What is JNDI?

    Why use a naming service?

    Comparing Naming and Directory services

    Namespaces and Contexts

    Looking up values

    EJB Clients

    Finding an EJB

    o Accessing an EJB from Java application Client

    o Accessing an EJB from Web Client

    Understanding Deployment descriptors

    Verification of deployment

    Working with session beans

    o Creating a stateless session bean

    o Creating a stateful session bean

    o Configuring and Deploying the bean on RI Server

  • 7/31/2019 Advanced Java With J2EE

    4/6

    o Configuring and Deploying the bean on Weblogic

    Working with Entity beans

    o Understanding CMP

    o Principles of CMP

    o Creating a CMP bean

    o Creating the abstract schema

    o Mapping fieldso Configuring the CMR

    o Deploying the bean

    o Understanding BMP

    Principles of BMP

    Building a BMP bean

    Using databases within BMP beans

    Configuring BMP beans

    Understanding transactions

    o Configuring and Deploying the bean on RI Server

    o Configuring and Deploying the bean on Weblogic

    o Comparing CMP and BMP

    Working with MDB

    o Review of JMS

    o What is MDB

    o Features and usability of MDB

    o Writing an MDB

    o Setting up the Message Queue

    o Configuring and Deploying the bean on RI Server

    o Configuring and Deploying the bean on Weblogic

    Summarizing EJB

    Web Services

    What are Web Services?

    Why are Web Services?Core Web Services Standards

    Web Services Architecture

    Web Services TechnologyWeb Services basic platform elements

    What is SOAP?

    What is WSDL?What is UDDI?

    Spring & Hibernate Spring Framework

    1. Spring Framework Introduction

  • 7/31/2019 Advanced Java With J2EE

    5/6

    2. Spring IOC Concepts

    3. Spring Beans and xml

    4. Spring MVC

    5. Identifying Spring application components

    6. Injecting dependencies with Inversion of Control (IoC)

    7. Delegating component creation to the Spring bean factory

    8. Wiring beans with XML

    9. Deploying components in the Spring container

    10. Spring AOP

    Spring jdbc and Transactions

    1. Simplifying data access with JDBC templates.

    1. Streamlining code with JDBC templates

    2. Structuring queries and callbacks

    3. Retrieving JDBC data sources

    4. How Spring simplifies Hibernate development

    5. Using Hibernate Templates

    2. Using Spring DAO support

    1.Data Access Object (DAO) pattern

    2.Maintaining a consistent data interface

    3.Integrating Spring DAO implementations with the business servicelayer

    4.Hibernate DAO Support

    3. Managing Transactions

    1.Analyzing J2EE transaction support

  • 7/31/2019 Advanced Java With J2EE

    6/6

    2.Defining transaction properties

    3.Explicit transaction management

    4.Applying Spring transaction strategies

    1.Controlling transactions with the Spring TransactionTemplate

    2.Declaring transaction policies with XML

    3.Using Spring's transaction support (declarative transactions)

    5. Spring Web MVC

    1. MVC Architecture

    2. Spring MVC Components.

    3. Dispatcher and Controllers

    4. View Resolvers

    5. Complete web application

    6. Spring RMI Support

    1.Connecting to application services with RMI

    2.Exporting services with Spring

    7. Spring Asynchronous messaging with JMS

    1.Sending and consuming messages with Java Message Service (JMS)

    2.Reducing code complexity with Spring JMS templates.

    3.Using Spring JMS Support with application Server