Thursday 8 January 2009
 
Training Pages
Member Login Forgotten Password? 
User name
Password
Remember me Login »
<<Back

 

JSP

Babel Technical College - 3-5 days - Advanced - Public - £495 + VAT
Send A Message

Description and objective: This course is paced to provide a solid foundation in JSP for web designers with experience of scripting and Java programming or Java programmers who wish to become JSP developers.

1. Overview of the distributed computing environment; role of the client, role of the server; use of TCP/IP, HTTP, IP addressing; understanding the role of web server and JSP;
Tomcat directory structure; saving work to Tomcat/webapps directory;
Client and Server-side code.
First server-side scripts (new.java.util.Date()), request.ServerVariables)
Using scriptlets, creating variables, conditionals, operators (mathematic and logical), loops (for and while), Strings within scriptlets.

2. Intro to javax.servlet.ServletRequest, referencing the ServletRequest interface, methods and properties, using the ServerRequest interface, ServletResponse interface;
Form processing with JSP, request.getParameter() method, GET and POST, creating simple logon page.
Understanding expressions, script and declarations, mixing scriptlets with HTML.
Overview of handling exceptions, understanding java.lang.Throwable, using try-catch-finally approach, creating exception classes.

3. Creating simple database in Access.
Database connectivity overview, understanding the ODBC, using the ODBC Datasource Administrator; using Data Source Name (DSN), using the connection string;
Understanding steps to connect to database, java.lang.sql driver, JDBC driver, using the jdbc:odbc driver, using Connection, Statement, ResultSet, basic SQL.
Connecting to and outputting records from database.
Using ResultSetMetaData to control layout of database with tables.
Creating simple database holding list of people on course, saving the database, connecting to database.
Using applications with Tomcat, creating the College web site.
Registering with jspin.com, uploading simple JSP page.

4. Continue with college project, using SELECT command with conditionals;
INSERT, DELETE, EDIT records, allow users to enrol on course, overview of form validation, using JavaScript for some basic form validation as opposed to Java;
Creating dynamically generated drop-down list.
Exception handling with JSP, creating an ErrorPage using page directive, secure logons with server side include.

5. Continue with college project, creating an administration page, issues concerning administration and maintenance;
Transferring project to jspin.com , use of DSN-less connection string;
Downloading Tomcat and Apache, installation issues for Tomcat and Apache, combining Tomcat with Apache, configuration issues for Tomcat, starting and stopping Tomcat.
Beans overview, setXXX() and getXXX() accessor methods.

6. Sessions, using sessions within JSP, using session.getAttribute method.
Keeping state with JSP, understanding problems of state with regards internet conversation. Form processing with beans, advatages of using beans, defining Read / Write properties. Cookies overview, writing data with req.setCookies, using Response.Cookies().Expires, reading data with req.getCookies. Overview of building a shopping site, site structure, creating suitable database; Building the CartMart site.

7. CartMart continued, use of Cookies, ordering products; shopping basket overview, structural issues when creating a shopping basket.
Uploading CartMart to jspin.com
Using beans to connect to database.
Using mySQL, connecting to mySQL database, quick overview of creating databases with mySQL.

8. Understanding Servlets, simple servlets, servlets versus CGI script;
Configuring Tomcat to accept servlets, WEB-INF/CLASSES directory, .shtml extension.
Creating a login page with Servlets.
Continuing with CartMart, adding / removing items to basket, totalling basket contents.
Using images with the CartMart site;
Adding and removing products, disabling selection of out of stock items.

9. Using images with the CartMart site, storing images, site maintenance.
Overview of JSP, using servlets or JSP, understanding the HttpServletRequest and HttpServletResponse interface, recap on the role and functions of a web server, overview of Servlet API.
Recap of the role of beans as opposed to JSP and Servlets.

10. Using JBuilder, building applications with JBuilder.
Sending mail / comments <A HREF=mailto>, text areas, understanding SMTP protocol, understanding MIME types, adding mail facility to college site
Sending mail from Servlets, using SmtpClient, JavaMail API.
 

Contact Babel Technical College

Phone 020 7221 1483 When calling be sure to mention Training Pages
Fax020 7243 1730

Send a Message

Training Pages can send your message straight to the company.
Your name:
Email address
Phone
Optional
Subject Re: JSP
Your message
Remember to include your postal address if requesting brochures or other material

Categories

 •Information Technology > Application Development > JSP


Back to Top
© Training Pages, 2002-2007. Site use subject to our Terms and Conditions and Privacy Policy.
Training Pages is a division of Ecube Limited. Registered office 1.23 Plaza 535, Kings Road, London SW10 0SZ. Company Number: 3839310. VAT Registration No. 75908879.