Consult our trainings :
Java Web Programming Training
- Participants / Prerequisite
Java has become indispensable for developing server-side Web applications, thanks especially to Servlet and Java Server Page (JSP) technologies. This course will allow you to successfully carry out a company Web project based on the Java platform. You will find out about MVC (Model View Controller) architectures in order to construct solutions that are robust and easy to expand, with, among others, an introduction to development with the help of the Apache Struts environment. The knowledge acquired by practical work on Tomcat, the leading J2EE implementation, as well as on development tools such as Eclipse or WSAD, will allow you to construct your solutions on various Java applications servers such as WebLogic, WebSphere, Jrun or iPlanet.
- Web client and server. Application protocols (HTTP). CGI scripts and managing sessions.
- Access to the company's resources: RDBMS, document database and XML, transaction monitor, directory, inherited application.
- HTML-XML, Java applets.
- The Java 2 Enterprise Edition (J2EE) platform. Multi-tier architecture.
■ Basic concepts
- Web server and server platform. Servlet engine. Java Virtual Machine.
- Development and de-bugging tools: NetBeans and Eclipse.
- The architecture of Apache's Web container, Tomcat.
- Deploying servlets and JSP pages.
- Generating dynamic content. The structure of a servlet.
■ Presentation of the components required for server-side Java use
■ Presentation of the development and operating environment
■ Developing an initial servlet
- The servlet container. The life cycle of a servlet.
- Initialising a servlet. Writing the service methods.
- Handling HTML forms.
- Processing the response, sending information, generating HTML.
- Filtering requests/responses. Programming filters.
- Retrieving information: from the Web server, the client and the environment.
- Invoking other Web resources. Including and transferring control.
- Handling execution errors. Handling and using Java exceptions.
- Sending http errors. Logging events.
- The various methods.
- Obtaining, consulting and abandoning sessions. The session environment.
■ Developing a Web application based on servlets
■ Handling errors and logging events
■ Monitoring sessions
- Objectives. Mechanism of operation. Examples of JSP pages.
- Scriptlets. Integrating them in the Web page.
- JSP directives, declarations, expressions and actions.
- Versions of the language, XML syntax.
- Definition, creation, deployment and use.
- Accessing and modifying them from a JSP page.
- Combining JSP and servlets. Including applets.
- Accessing the company's resources.
■ Presentation of the objectives and the architecture
■ Development technique
■ Using JavaBeans from JSP pages
■ Developing applications with the help of JSP
- Introduction to tag extensions.
- Operation. Example of their use.
- Developing your own tags. Simple tags, with attributes, with a body, embedded.
- Deploying and using a tag library.
- Designing JSPs with JSTL. Examples.
- The various libraries: core, XML, i18n, SQL, functions.
■ The principle of tag extensions and libraries
■ Developing tag extensions
■ Presentation of JSTL (Java Standard Tag Library)
- Putting the database and the JDBC interface in place.
- Connecting to the database, retrieving information, updating data.
- Transaction. Connection pool.
- Different connection methods. DataSources: configuring and using them.
- Objectives. Java tools and approaches.
- Presentation of the SimpleORM (Simple Java Object Relational Mapping) framework
■ Studying an application with access to relational databases
■ BDRs/Object models correspondence
- Presentation. Architecture. The components of the framework.
- Handling events. Configuring the application.
- Struts Tag Libraries and Extension.
■ Using an MVC-type (Model, View, Controller) framework
- Security in a Web environment. Notions of users, realms, roles.
- Authentication and authorisation.
- Security and programming servlets.
- Installing and configuring SSL. Digital certificates.
- Java Authentication and Authorization Service.
- Configuring Tomcat.
Adding access security to the site constructed.
- Uploading files (FileUpload package).
- De-bugging/logging (Logging package).
- Tests and performance. JUnit, Open Source framework for writing tests. Cactus, server-side test framework.
- JSF (Java Server Faces), objectives, example.