This course provides the experienced server-side Java developer with complete coverage and hands-on practice using the latest Jakarta Struts features. Participants will learn the various Struts tag libraries as well as the components that provide the architectural framework. The course concludes with a discussion and exercise in developing Java Server Page custom tags and tag libraries.
Upon completion of this course participants will build a complete Struts-based web application.
Hands-on labs reinforce the lecture topics while providing practical experience. Emphasis is placed on the Struts features while not relying heavily on RAD to complete tasks. After participants understand how Struts works, special Struts features inherent to RAD are examined in more detail.
Upon completion of this course, the participant will be able to:> Configure the Struts framework within a web application > Utilize the bean, html, logic, and nested tag libraries> Implement the new Struts declarative exception handling system> Integrate DynaActionForm beans and use the Struts Validator> Create JSP custom tags and integrate them into the web application
Model-View-Controller ArchitectureImproving Web ArchitecturesIntroducing MVC Model 2 FrameworkSimulating Struts with a Custom ApplicationOverview of the Struts FrameworkReviewAnswersLab
Introducing the Struts FrameworkInstalling StrutsSetting up your environmentConfiguring web.xml for Struts Developmentstruts-config.xml ComponentsCreating ActionForm BeansCreating ActionsGlobal ForwardsUsing Message ResourcesForm Bean ValidationError MessagesCreating Action MappingsReviewAnswersLab
The Controller ComponentsThe Controller ClassesCustomizing the ControllerModuleConfigImplementing Custom Actions and MappingsStruts and Threading IssuesForwardActionsDispatchActionsReviewAnswersLabThe Model ComponentsThe Bean Custom Tag Library – A Detailed Look at the Bean TagsStruts Beans and Business ObjectsCreating and Implementing a DataSource with Struts or WebSphereReviewAnswersLabThe View ComponentsConstructing ViewsHTML Custom Tag Library – A Detailed Look at the HTML TagsLogic Custom Tag Library – A Detailed Look at the Logic TagsAccessing Form Beans from JSPsReviewAnswersLabAdvanced Struts TopicsGlobal ConstantsDeclarative Exception Handling TechniquesLogging and StrutsUsing DynaActionForm BeansThe Struts ValidatorUsing the Tiles Tag LibraryThe Nested Tag LibraryTiles Tag LibraryReusing Tile LayoutCreating and Using Tiles DefinitionsTips for Using TilesUsing Multiple Resource BundlesJSP Standard Tag Library (JSTL) IntroductionCreating Plug-insStruts with Multiple Module ConfigurationsReviewAnswersLabCustom JSP Tag DevelopmentCreating a Custom Tag LibraryTag Library Descriptors (TLDs)Creating Tag HandlersAdding Tag AttributesUsing the PageContext ObjectTags With BodiesWorking with the BodyContent ClassTags and Threading IssuesReviewAnswersLabDetailed Lab InstructionsCreate two fully working Struts examples, which include the use of the latest Struts 1.1 features.
“The instructor clearly explained topics and was receptive to all questions.” Student – UNIX Introduction