E-Mail : hr@asterhrittraining.com

Phone : (044) 4957 1578

Best Java Training Institute in Chennai

Contact


Training courses:


 
 core java
 
 hibernate
 
 struts
 
 spring
 

Looking for Best JAVA Training in Chennai? – Asterhr IT Training helps you….


This course is intended for programmers and designers who want to design and develop applications using the Apache Struts 2.x Model-View-Controller (MVC) framework.
This is an intermediate to advanced level Struts training course, designed for experienced JEE developers that need to further extend their skills in web development and Struts.
Attendees should have an extensive working knowledge in developing JEE applications.

 

Course Outline

  • What is Struts?
  • About the Struts Project
  • Web Applications Defined
  • Typical User Interactions
  • Web Application Development Challenges
  • JEE and Web Applications
  • Struts Builds on JEE components
  • Benefits of using Struts

Review Servlets, JSPs, Filters and Web Applications

  • Dynamic Content
  • What are Servlets
  • Where do Servlets live?
  • Advantages of Servlets
  • Packages and Classes
  • Creating a Servlet-a simplest way
  • A simplest HTTP Servlet
  • Shortcomings of Sevlet
  • What is JSP?
  • A Very simple JSP-simple.jsp
  • JSPs look like HTML
  • JSP Expressions
  • Example of Lifecycle
  • The generated Servlet
  • Object bucket or Scopes
  • Using the Scopes
  • Using use beans
  • Understanding the Filters
  • Filter example
  • Web Applications
  • WAR Directory Structure
  • Web Application Descriptor-web.xml
  • Example web.xml file
  • Packaging web Applications
  • Deploying Web Applications

MVC and STRUTS

  • MVC/MODEL 2 Architecture
  • MVC/MODEL 2 Architecture - Model
  • MVC/MODEL 2 Architecture - View
  • MVC/MODEL 2 Architecture - Controller
  • Struts and MVC
  • Struts and MVC - Model
  • Struts and MVC - View
  • Struts and MVC - Controller

What's new in Struts 2.0

  • Shortcomings in Struts 1.x
  • Changes and Enhancements in Struts 2.0
  • Struts 2.0 Benefits
  • Struts 2.0 Basic Architecture
  • Key differences from Struts 1

Struts 2 Architecture

  • Overview of the Struts 2.0 Architecture
  • Request Processing Flow
  • Request Processing Flow – One View
  • Request Processing Flow – Another View
  • Key components
  • Configuration files

Struts 2 Components Overview

  • Struts 2.0 Basic Architecture
  • Filter Dispatcher
  • Struts 2.0 Basic Architecture
  • Action objects
  • Struts 2.0 Basic Architecture
  • Results
  • Struts 2.0 Basic Architecture
  • Interceptors

Creating the Application

  • Creating a Web Project (manually)
  • Creating a Web Project (IDE)
  • Creating a Web Project (Maven)
  • Web Project Structure
  • Web Project Structure Example
  • Web Project Structure - Maven

Configuring Struts.xml

  • Configuring Struts.xml
  • Administrative Elements
  • Request Handling Elements
  • Error handling Elements

Implementing Actions

  • Creating Action classes
  • A simple Action Class
  • Another Simple Action Class

Adding Basic View Components

  • View Components
  • A Simple View Component
  • Configuring the View Component
  • Session: Mapping the Model to the View

Review: Using Custom Tags

  • JSP Limitations?
  • Sun’s Solution - Custom Tags
  • Custom Tags
  • Custom Tag Capabilities
  • Custom Tag Overview
  • Tag Libraries
  • Tag Library Descriptor (TLD)
  • Tag Libraries and JSPs
  • Summary of Using Custom Tags

Introducing Struts 2 Tags

  • The Struts 2 Tag Library
  • The Value Stack
  • Tag Syntax
  • Tag Reference
  • Tag Reference – Generic Tags
  • Tag Reference – UI Tags
  • FreeMarker and Velocity
  • FreeMarker Tags
  • Velocity Tags

Themes and Templates

  • Overview of Templates and Themes
  • Template Example
  • The simple Theme
  • The Default (xhtml) Theme
  • The ajax Theme

XWorks Validation Framework

  • Validation Techniques
  • XWork2 Validation
  • Built-in Validators
  • Built-in Field Validators - visitor
  • Built-in Field Validators - conversion
  • Specifying Validation

Implementing Validation

  • Basic Validation
  • Basic Validation – the Form
  • Basic Validation – the Validation Descriptor
  • Custom Validators

Type Conversion

  • Type Conversion Basics
  • Type conversion tips
  • Custom Converters
  • Custom Converter Example
  • Session: Localization and I18n
  • Lesson: Locales and Internationalization
  • Significant Issues for Localization
  • Localization in Struts 2
  • Locales

Resource Bundles

  • ResourceBundle
  • Resource Bundle Naming
  • Message Types in the Bundle
  • Specifying the Resource Bundle

Formatting Messages

  • Tags with Locale Support: UI tags
  • Tags with Locale Support: Messages
  • Tags with Locale Support: date

Understanding the Design

  • Creating TriveraTunes
  • TriveraTunes Flow
  • Searching CD’s: The Request
  • Searching CD’s: Displaying The Results
  • Choosing what to do next
  • Editing the Details
  • Showing Error Messages
  • Handling Exception
  • Database Access
  • Database Access – A Technical Use Case
  • Database Access – the Service Interface
  • Database Access – Service Options
  • DAO Overview
  • DAO Benefits

Implementing the Application

  • Next Steps
  • TriveraTunes Flow – the Search Action
  • Action Classes
  • Searching CD’s: The Request
  • The Action
  • Viewing the Results of the Search
  • Add/Edit/Delete Listing
  • Creating the Hyperlinks
  • Pre-populating Forms
  • Updating Album
  • Validating Forms
  • Validation Error Messages
  • Showing Error Messages
  • Handling Exceptions
  • Exception Messages
  • Action class vs. Value Object
  • Nested Beans
  • Creating the SelectBox
  • Struts 1 DispatchAction
  • Edit/Delete Example
  • Recap – Implementing Searches
  • Recap – Pre-populating forms
  • Recap - Validation
  • Recap: Error Messages
  • Recap: Exception handling

Advanced Topics Overview

  • Annotations
  • Zero Configuration
  • Dependency Injection
  • Testing in Struts 2
  • Advanced OGNL and the ValueStack

Zero Configuration

  • Configuration Review
  • Annotations
  • Action Class without annotations
  • Action Class – struts.xml
  • Action Class notes
  • Action Class with annotations

Testing in Struts 2

  • Testing Struts 1.x applications
  • Testing Struts 2.0 applications
  • Action Class for testing
  • Simple Test Case

Advanced OGNL and the ValueStack

  • Overview
  • OGNL
  • Accessing element attributes
  • Tag attributes – JSP, Velocity & FreeMarker
  • Accessing data on the Action Context
  • Accessing data on the Value Stack
  • Accessing data that doesn’t exist
  • Accessing array data
  • Accessing Map data
  • Accessing Object data

Processing File Uploads

  • File Upload
  • The fileUpload Interceptor
  • Enabling the Client (in struts.xml)
  • Enabling the Client (plain HTML)
  • Enabling the Client (using Struts tags)
  • Resulting Page
  • Enable Processing of the Data on the Server
  • Define properties in your Action
  • Using the File property in an Action
  • Configuring Upload Environment

Introduction to Tiles

  • Tiles Framework
  • New Tiles 2 Result Type
  • Components of Tiles
  • Typical Web Application (Classic)
  • Managing Areas
  • Steps to using Tiles
  • Add Tiles 2 support
  • Create Layout: Tile Layout use get As String
  • Create Layout: using get As String
  • Create Layout: Tile Layout using insert
  • Create Layout: Using insert
  • Calling the Layout: tiles:insert Template
  • Passing Parameters: tiles:put Attribute
  • Tile Definition (in definition.jsp)
  • Using Definition
  • Defining XML Definitions (in tiles-def.xml)
  • Using XML-Based Definition
  • Tiles

Advanced Tiles

  • Tile Scope
  • Passing Objects
  • Using a Tile Attribute in a Tile Layout
  • Understanding Lists
  • Using put List Attribute in XML
  • Using a List in a Tile Layout
  • Using put List Attribute in JSP to define List
  • Extending Definitions
  • Using Tiles to Forward to an Action

Common Business Patterns

  • Common Business Patterns
  • Model View Controller (MVC)
  • Diagram of MVC
  • Front Component
  • Facade
  • Synchronous and Asynchronous Architectures
  • Value Objects
  • Value Object Example
  • Value Object Diagram
  • Data Access Objects
  • Paged List Pattern

JEE Development Practices

  • JEE Development Best Practices
  • Understand the Java Pet Store Application
  • Embrace MVC
  • Remove Logic from JSPs
  • Managing Text
  • Handling Exceptions

Leveraging the Struts 2.0 Architecture

  • Leveraging the Struts 2.0 Architecture
  • Make effective use of Packages
  • Use Empty Actions for Forwarding
  • Use Struts Components in your views
  • Make effective use of Tiles
  • Test your actions
  • Handle Exceptions Declaratively
  • Integrate Other Technologies
  • Things to avoid




follow us on facebook




Recommended as best Java training institute

I am working as Java Developer , I came to know “ Aster hr IT Training & Aster HR Solutions” where I have learned Java Training course with top corporate java Experts, now I promoted as Senior Java Developer in my firm. I would to like to thank Aster HR IT Training and trainer Mr. Sekar. My Inspire about Aster HR IT Training – they arranged more practical class like big MNC and they provide their technical & HR Support by life time, once we get the training from Aster HR IT Training.

SAI SANTOSH,
INFINITI CHENNAI




Java training videos




Contact Us