HomeTrainingCoursewareList of CoursesContact UsSearch
Call (605) 391-2110 to speak with a sales representative, or email us at sales@javalicense.com.
Course Title: Java Web Development for JBoss
Course Length: 5 Days
Course Number: JBoss110
Delivery: Instructor-led, On-Site
Audience: This course is for beginning Java programmers who are familiar with the Java language and basic Web technologies, but are new to JDBC and JavaBeans and need to learn how to develop dynamic Web pages and e-commerce Web sites using Java Servlets, JavaServer Pages, and XML.
Description: Java Web Development covers the Java topics used most often in the development of Web applications, including multi-threading, JDBC, Servlets, JavaBeans, JavaServer Pages, JSTL and XML. The labs in this hands-on course have the students develop an online store complete with database access and a shopping cart. Students will learn how to download, install, configure and deploy applications onto the JBoss Enterprise Application Server.
Course Outline:

JBoss Application Server Architecture

  • An Overview of JBoss
  • What are Application Servers
  • JavaEE Applications
  • Deployment of JavaEE Applications
  • Installing JBoss

  • Downloading JBoss
  • Installing JBoss
  • Starting JBoss
  • Configure JBoss with Eclipse
  • Servlets

    • Overview of Servlets: Programs that run in a Web server.
    • Server-side Development: Options for creating Web applications.
    • Advantages of Servlets: Powerful, portable and secure.
    • The Servlet API: The javax.servlet and javax.servlet.http packages.
    • HTTP: The Hypertext Transfer Protocol.
    • Requests: The HTTP Request header.
    • Responses: The HTTP Response header.
    • HTML Basics: A quick introduction to HTML and its syntax.
    • HTTP Servlets: The HttpServlet class.
    • The "Hello, World" Servlet: A simple HTTP servlet handling a GET request.
    • The Lifecycle of a Servlet: The servlet container.
    • A Servlet Counter: A demonstration of the lifecycle of a servlet.
    • HttpServletRequest: Encapsulating the HTTP request header of a client request.
    • HttpServletResponse: Encapsulating the HTTP respone to a client.
    • Parameters: Obtaining data from the client request.
    • The Request Dispatcher: Including servlets and forwarding requests to other servlets.
    • Scope: Understanding the various scopes an object can have within a servlet container.
    • Request Scope: Objects associated with a client request.
    • Application Scope: A container-wide object.
    • Session Scope: Creating client sessions.
    • Cookies: A sweet session tracker.
    • The HttpSession Interface: Container session objects.
    • URL Rewriting: Encoding a URL.
    • Servlet Threading Models: The SingleThreadModel.
    • Connecting to a Database: JDBC within a servlet.
    • Server-side Includes: A servlet embedded in an HTML page.

     

    JavaBeans

    • Overview of JavaBeans: Java software components.
    • The Bean Development Kit: The bean specification and Sunís beanbox.
    • Properties: Adding properties to a bean.
    • Methods: A beanís behavior.
    • Events: How beans communicate with each other.

     

    JDBC

    • Overview of JDBC: An API for communicating with databases.
    • JDBC Drivers: Understanding the various types of drivers available for JDBC.
    • Connecting to a Database: Loading the appropriate driver and making the connection.
    • Statements: Executing SQL statements.
    • Prepared Statements: Executing precompiled SQL statements.
    • Results: Working with result sets.

     

    JavaServer Pages

    • Server-side Development: Comparing JSP to other technologies.
    • Overview of JavaServer Pages: Java technology for creating dynamic Web content.
    • JSP Lifecycle: Translation of JSP into servlets.
    • An Introduction to Servlets: Understanding how servlets run on a Web server.
    • "Hello, JSPs": A simple JavaServer Page.
    • JavaServer Page Tags: The various JSP tags.
    • Templating: The include directive.
    • Declarations: Declaring variables and methods.
    • Expressions: Java statements within a JSP.
    • The request Object: The request header information.
    • Parameters: Request data passed in to the JSP.
    • Scriptlets: Embedding Java code within a JSP.
    • Directives: Specifying options for the page.
    • Implicit Objects: The implicit objects of a JSP.
    • JSP Actions: The action tags of JSP.
    • Overview of JavaBeans: Java software components.
    • JavaBeans in JSPs: The useBean directive.
    • Error Pages: Handling exceptions in JSP.
    • Scope: The four scopes of JSP objects.
    • Sessions: Creating sessions within JSP.
    • Request Scope: Associating data with the request.
    • Application Scope: The implicit application object.
    • Session Scope: Creating client sessions.
    • The Implicit Session Object: Session tracking made easy.
    • Beans with Session Scope

    Custom Tags and JSTL

    •  Creating your own JSP tags
    • Writing Tag Handler classes
    • The Tag Library Definition File
    • The JSP Standard Template Library

     

    XML

    • Overview of XML: Understanding the goals of XML.
    • XML Documents: Well-formed vs. valid.
    • Using XML: The components of an XML document.
    • The Root Element: The highest-level of the document.
    • Elements: Describing your data with element tags.
    • Creating a DTD: Adding constraints to XML.
    • XML APIs: SAX and JAXP.
    • Selecting a Parser: Loading the parser class.
    • Parsing an XML Document: The XMLReader interface.
    • Content Handlers: Handling callbacks during parsing.
    • Error Handlers: Handling errors and warnings during parsing.
    • DOM: The Document Object Model.
    • Creating DOM Objects: The Document interface.
    • Using DOM: Creating an XML document using DOM.
    JLicense, Inc. Copyright 2007. This site runs on a Tomcat server behind Apache's httpd Web server and uses JavaServer Pages, JavaServer Faces, JBoss RichFaces, and Ajax.