introduction to web application development using … · introduction to web application...

5
Introduction to Web Application Development Using JEE™, Frameworks, Web Services and AJAX Duration: 5 Days Price: £1,995 + VAT Discounts: We offer multiple discount options. Click here for more info. Delivery Options: Attend face-to-face in the classroom, remote-live or on-demand streaming . Students Will Learn Java Web application architecture Developing servlets and JSPs Consuming Web services Creating and deploying SOAP based and RESTful Web services Using JavaBeans in Web Applications Accessing databases with JDBC Importing and Utilizing JNDI Packages Utilizing the Spring dependency injection framework Managing database operations by using the Hibernate framework Building Web applications by using the Spring MVC framework Managing database transactions with Spring and Hibernate Effectively integrating Spring and Hibernate Integrating, testing and debugging AJAX functionality on both the client and server sides Working with the JSON data format Course Description This course provides students hands on experience with cutting edge Java Enterprise (Java EE) technologies, creating dynamic web and enterprise applications that utilize several Java frameworks and technologies including JSP's and Servlets, Java Persistence API (JPA), JNDI, JDBC, AJAX, Web Services, Spring and Hibernate. The goal is to enable students to exploit the Java EE platform and accompanying frameworks to facilitate the development of distributed, web-enabled applications. Students will architectural design issues as well as specific coding models for a variety of Java EE components. By working with several Java frameworks in hands on labs, students will build applications that incorporate many of the patterns commonly used in these and other Java frameworks. Upon completion of the course, students should be able to learn and effectively utilize frameworks appropriate for their application environment. Starting with Java Server Pages and Servlets, the course then introduces some of the most

Upload: phamxuyen

Post on 15-Aug-2018

213 views

Category:

Documents


0 download

TRANSCRIPT

Introduction to Web Application Development Using JEE™,Frameworks, Web Services and AJAXDuration: 5 Days

Price: £1,995 + VAT

Discounts: We offer multiple discount options. Click here for more info.

Delivery Options: Attend face-to-face in the classroom, remote-live or on-demandstreaming.

Students Will Learn

Java Web application architecture

Developing servlets and JSPs

Consuming Web services

Creating and deploying SOAP basedand RESTful Web services

Using JavaBeans in Web Applications

Accessing databases with JDBC

Importing and Utilizing JNDI Packages

Utilizing the Spring dependencyinjection framework

Managing database operations byusing the Hibernate framework

Building Web applications by using theSpring MVC framework

Managing database transactions withSpring and Hibernate

Effectively integrating Spring andHibernate

Integrating, testing and debuggingAJAX functionality on both the client andserver sides

Working with the JSON data format

Course Description

This course provides students hands on experience with cutting edge Java Enterprise (JavaEE) technologies, creating dynamic web and enterprise applications that utilize several Javaframeworks and technologies including JSP's and Servlets, Java Persistence API (JPA),JNDI, JDBC, AJAX, Web Services, Spring and Hibernate. The goal is to enable students toexploit the Java EE platform and accompanying frameworks to facilitate the development ofdistributed, web-enabled applications.

Students will architectural design issues as well as specific coding models for a variety ofJava EE components. By working with several Java frameworks in hands on labs, studentswill build applications that incorporate many of the patterns commonly used in these andother Java frameworks. Upon completion of the course, students should be able to learnand effectively utilize frameworks appropriate for their application environment.

Starting with Java Server Pages and Servlets, the course then introduces some of the most

widely used frameworks to provide concrete illustrations of the services available. Sincecoding and deployment files are standardized by the Java EE specifications, students mayreadily apply the skills learned in this class to write code for any compliant server, includingApache Tomcat, JBoss, WebSphere, Oracle, WebLogic and many others.

Students will learn how to utilize ANT, a flexible and powerful XML-based build utility, tocompile, deploy and execute stand-alone and enterprise Java applications. They will alsouse ANT to execute standalone client applications that communicate with Java EEapplications. Comprehensive hands on exercises are integrated throughout to reinforcelearning and develop real competency.

Students who wish to focus more in-depth on Spring and Hibernate should attendthe course Web Application Development Using Spring, Hibernate and JPA ratherthan this course.

Course Prerequisites

Java SE programming experience and an understanding of object-oriented designprinciples. Fundamental knowledge of XML, HTML, and JavaScript is helpful but notrequired. HOTT's course Java Programming or equivalent knowledge provides a solidfoundation.

Course Overview

Introduction to Java EE WebApplications

Server-Side Application Developmentusing Java EEThe Role of Java Frameworks,Components and ServicesUsing Web-Based Components inApplication DesignStructure of Java EE Web ComponentsDeploying Web ApplicationsJava EE Web Container Services

Using ANT

Understanding the ANT Build FileDesigning ANT TargetsUsing ANT Standard TasksUsing ANT PropertiesCompiling and Executing JavaApplicationsBuilding WAR, EAR and JARDeployment Files

Introduction to Servlets

Servlet Architecture and AdvantagesThe Role of Servlets in WebApplication DesignServlet Runtime EnvironmentServlet Lifecycle

Developing Servlets

Servlet Classes and InterfacesWorking with Request and ResponseObjectsProcessing GET and POST Requestsfrom Web ClientsRetrieving Parameters from HTMLClient FormsGenerating Dynamic HTML ResponsesInitializing ServletsDestroying and Freeing Resources inServletsControlling Single and Multi-Threadingin a ServletDeploying Servlets to a WebApplication Server

Building the WAR fileThe web.xml Descriptor File

Developing Java Server Pages (JSPs)

Understanding JSP/Servlet TranslationElements of JSP SyntaxJSP Page DirectivesJSP DeclarationsDisplaying JSP ExpressionsWriting ScriptletsDeploying JSPsUsing JavaBeans in JSPsJavaBean ArchitectureCreating JavaBeansUsing JavaBeans in JSP PagesXML-format JSP Documents

Deploying and Using Tag Libraries

Motivation for Tag LibrariesImplementing the Model-View-Controller PatternJSP Built-In ActionsThe JSP Standard Tag Library (JSTL)Deploying and Using Tag Libraries

Writing Tag Handlers

Analyzing Tag Library Descriptor FilesCreating Tag Library Descriptor TagsUsing Tag Handler Methods toGenerate Dynamic Web ContentHandling Tag Attributes and AttributeValidationProcessing Tag Body ContentWorking with the TagExtraInfo ClassDeveloping and Deploying Tag Files

Accessing Databases with JDBC

Understanding the JDBC ConnectivityModelAccessing Data Sources through JNDIConnecting to a DatabaseExecuting SQL Queries and UpdatesProcessing Result SetsUsing Scrollable and Sensitive ResultSetsWorking with ResultSetMetaDataClassesUtilizing Parameterized StatementsCalling Stored ProceduresHandling SQLExceptionsControlling TransactionsUsing Batch Updates

Java Naming and Directory Interface(JNDI)

Role of JNDI in the Java EEArchitectureJNDI Service ProvidersImporting and Utilizing JNDI PackagesBinding Objects with JNDILooking up Objects with JNDIUsing the Environment NamingContext (ENC)Declaring Resource References

Hibernate Overview

Need for HibernateHibernate and ORM (Object-RelationMapping)POJOs (Plain Old Java Objects) andthe Data LayerHibernate MappingHibernate Over Entity Beans

Hibernate Programming Fundamentals

Modeling Complex MappingsHibernate and Native SQLHQL (Hibernate Query Language)

WhereOrder By

Hibernate Power Programming

Hibernate Annotations and JPAIssues with Adding Hibernate toExisting SystemsDeveloping POJOs in Existing SystemsAdvanced HQL Techniques

Group ByHibernate Aggregate functions

AvgMinMax

HQL Associations and JoinsHibernate SubqueriesHibernate Configuration FilesFull CRUD Application (Create,Retrieve, Update, and Delete)

HQL Result TransformersUsing the Criteria API for ComplexQueriesTransaction and Concurrency IssuesIdentifying and RemovingPerformance BottlenecksLazy Loading for PerformanceInheritance and Polymorphism in thePersistence LayerHibernate Best Practices

Introduction to the Spring ApplicationFramework

Spring Capabilities and ModulesThe Role of POJOsLightweight IOC (Inversion-Of-Control)Dependency InjectionThe Factory Pattern and the SpringContainerSpring XML Configuration FilesSpring Persistence SupportData Access Framework and DataAccess ObjectsAOP (Aspect-Oriented Programming)

Spring Framework Core Components

Spring CoreUsing POJOs (Plain Old Java Objects)Spring Bean FactorySingleton and Prototype BeansSetter Injection and ConstructorInjectionOrder of Instantiation

Lazy vs. EagerControlling Spring's XML ConfigurationFiles

Adding Spring to Existing Applications

Issues Adding Spring to ExistingApplicationsAOP and TransactionsSpring ValuatorsSpring InterceptorsSpring MVCIntegrating Spring with HibernatePossible Conflicts with ExistingSystemsAOP vs. Annotations

Introduction to AJAX

AJAX Architecture and Capabilities

Client SideServer Side

Circumventing the Page ReloadParadigmCSS, HTML and AJAXJavaScript and DOMXMLHttpRequest Object

readyState and responseXMLProperties

Making AJAX Asynchronous CallsAJAX Function Calling ConventionsResponse Handling with JavaScriptBrowser Compatibility IssuesServer-Side and Client-Side AJAX

Java and AJAX

Callback Functions/MethodsBuilt-In ObjectsParsing AJAX ResponsesXML and JSON Response FormatsServlet Code to Handle AJAX RequestsServer Side PersistenceAJAX Patterns and Best PracticesLimitations of AJAX

Adding AJAX to Existing WebApplications

Issues Adding AJAX to Existing AppsDealing with Asynchronous ResponsesCross Browser Libraries andFrameworksWorking with AJAX Toolkits

Dojo ToolkitPrototype

Debugging AJAX DWR (Direct Web Remoting)Google Web Toolkit

AJAX and REST Design CompatibilityIssuesSecurity Issues

Web Services on the Server Side

Overview of Web ServicesAdvantages of Web ServicesCreating a Web ServiceDeploying a Web ServicesRequirements for a JAX-WS WebService Endpoint ImplementationClassThe Web Service EndpointImplementation ClassWorking with WSDL FilesWeb Service Interoperability

Web Services on the Client Side

Consuming a Web ServiceClient Side ArtifactsJAX-WS ClientsJava/WSDL MappingRESTful Web ServicesRESTful Web Services in Java

Oracle and Java are registered trademarks of Oracle and/or its affiliates. Other names maybe trademarks of their respective owners.

Hands On Technology Transfer, Inc. The Old Post House

91 Heath RoadWeybridge

SurreyKT13 8TS

01780 483931www.traininghott.co.uk

Copyright© 2018 Hands On Technology Transfer, Inc.