In this seminar you'll learn...
How to create servlets and JavaServer PagesTM that generate dynamic Web pages
How to create filters for servlets and JavaServer Pages that can accomplish a variety of tasks such as data validation, access control, updating content and more
The right way to use JDBCTM to connect to relational database servers such as Microsoft® SQL Server, Oracle®, MySQL®, DB2® and others
How to simplify the process of deploying your Web applications
And much more!
Java has become the language of choice for developing Web applications, and this powerful hands-on workshop is just what you need to jump-start your Java programming skills. Whether you´re brand-new to Java or have been using it for some time, you´ll benefit from attending this information-packed seminar. You´ll get up to speed fast by utilizing the latest application software and development tools right in the classroom—from server installation and configuration to application deployment. And if you´re already using ColdFusion®, ASP.Net, CGI or other competing technologies, we´ll show you what you´re missing out on—the portability, security and scalability advantages of Java-built applications. If you´re ready for maximum productivity using Java programming, you´ll want to enroll right away.
Day one: 9:00 a.m. – 4:00 p.m.
Installing and configuring your application server
On the surface it may look quite simple to install and configure an application server, but in reality there are several traps that you can get caught in if you don´t know about them, and that´s what this session is all about. We´ll uncover the installation and configuration trouble spots and you´ll gain some tips that´ll save hours of frustration when it comes to optimizing your configuration. You´ll learn ...
Why it´s vitally important to install an application server on your workstation for Web application development instead of using a network server
How to uncover the default application server settings that you might want to change before you begin developing Web applications
How to quickly test your Web application server to check for proper operation
Why you shouldn´t create a development directory in your server´s installation directory
How to progressively test the functionality of your application server
Programming servlets
Servlets extend the functionality of a Web server. They contain code that´s executed on the server and HTML code that´s sent to the client. In this session, you´ll learn how to develop servlets from the ground up. We´ll show you the advantage of servlets over other existing technologies, and you´ll discover the special issues you´ll face when developing and testing servlets. Also in this session ...
Understanding the structure of servlets and the different types of documents that can be created by them
Uncovering the difference between get and post requests and when to use each one
The two key steps you need to know in order to use servlet packaging and avoid the mess and confusion of keeping all your servlets in a single directory
How servlets handle form data and the special considerations you need to know
Making sense of HTTP request and response headers
JavaServer Pages
JavaServer Pages (JSP) technology simplifies the delivery of dynamic Web content, but to really take advantage of all the power and flexibility that JSP has to offer, you need to understand JSP core concepts. That´s the focus of this informative session. You´ll uncover the advantages of JSP over other alternatives and learn about the 4 key components of JSP. Also in this session ...
The 5 ways to generate dynamic content from JavaServer Pages
How to structure the servlet that results from a JavaServer Page
The 3 methods you can use to include files and applets in JavaServer Pages
How to use JavaBeansTM to insert dynamic content in JavaServer Pages
Understanding the Model View Controller (MVC) architecture—integrating servlets and JavaServer Pages
Creating custom JSP tag libraries
Custom tags were introduced in JSP 1.1 and they came with some tremendous advantages, but if they´re used inappropriately they can end up causing major problems. In this session, we´ll cover the 5 advantages custom tags have over beans and take a look at 6 possible dangers posed by custom tags. Included in this session ...
Understanding the 3 separate components that make up a tag library
How to add attribute support to your tags for increased flexibility
How to define tags that use their body content and how to make use of request time information to optionally include the tag body
How to programmatically manipulate tag body content
The keys to using nested tags
Day two: 9:00 a.m. – 4:00 p.m.
Implementing servlet and JSP filters
Filters are extremely useful programs that can save you hours and hours of work if you know how to implement them. In this session, you´ll get a look at the different ways to use filters so you understand exactly what implementing them can do for your Web applications. You´ll learn how filters can be used for security, data validation, updating page content and much more. Included in this session ...
The 5 basic steps of filter creation
What you must do in order to prevent users from bypassing filter settings
How to access servlet context from filters that execute before the servlets are executed
How to use filters to block responses so you can ban sites from getting content responses from your Web applications
A technique that will allow you to create a filter that can modify the response a resource generates
Data access using JDBC
Data access is vital to Web applications, and creating Web interfaces to business data is what this session is all about. You´ll start off by learning what a relational database is and find out which ones you can connect to using JDBC. You´ll learn about some critical techniques that aren´t readily available in any book or help file, including important steps for connecting to Microsoft SQL servers right the first time instead of hassling with all that trial-and-error stuff. Included in this session ...
Understanding some basic SQL syntax so you can pull the right data
How to establish a connection to a database and the special syntax considerations for various types of database servers
Discovering the proper syntax necessary to query a database
How to handle the result set of your queries, including how to display a result set
How to invoke stored procedures from your Web applications
Session state management
Session state management can be one of the more difficult aspects of Web application development to learn, but in this session we´ll clear up the confusion and make it simple for you to get a handle on this complex subject. You´ll first learn how to determine if you even need to manage session state in your application, or if it´s just a waste of time. Also in this session ...
How to decide whether to manage session state at the server or in the browser
How to code servlets to set and read cookies and the advantages you can gain from using them
Understanding the limitations of cookies and what you can do to get around those limitations
Why managing session state with hidden form fields could severely hamper your Web application
How to accomplish state management with JSP by accessing cookies and sessions
Deploying Web applications
Once you´ve created all the components of your Web application, you´ll need to deploy it to your application server. In this session, you´ll learn the tips and techniques that make deploying Web applications a snap. You´ll discover how to register Web applications with your server, using both command line techniques and graphical Integrated Development Environment (IDE) software. Also in this session ...
The right way to organize your Web applications
How to deploy applications in WAR files
How to handle your Web application´s library file dependencies
Must-know techniques for handling relative URLs in Web applications
How to share data among Web applications through the use of cookies and ServletContext objects