Advanced Java Programming

Similar documents
Building Web Applications, Servlets, JSP and JDBC

Japan Communication India Skill Development Center

Java Application Developer Certificate Program Competencies

Web Development in Java

Course Number: IAC-SOFT-WDAD Web Design and Application Development

Course Name: Course in JSP Course Code: P5

Complete Java Web Development

Japan Communication India Skill Development Center

IT6503 WEB PROGRAMMING. Unit-I

Java SE 8 Programming

Specialized Programme on Web Application Development using Open Source Tools

Specialized Programme on Web Application Development using Open Source Tools

Japan Communication India Skill Development Center

Glassfish, JAVA EE, Servlets, JSP, EJB

An introduction to creating JSF applications in Rational Application Developer Version 8.0

Mastering Tomcat Development

The Sun Certified Associate for the Java Platform, Standard Edition, Exam Version 1.0

Elements of Advanced Java Programming

Fundamentals of Java Programming

Applets, RMI, JDBC Exam Review

Java SE 7 Programming

Java SE 7 Programming

What Is the Java TM 2 Platform, Enterprise Edition?

JAVA 2 Network Security

Java EE Web Development Course Program

JAVA ENTERPRISE IN A NUTSHELL. Jim Farley and William Crawford. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo.

Oracle WebLogic Server 11g: Administration Essentials

Heterogeneous Tools for Heterogeneous Network Management with WBEM

Contents. Client-server and multi-tier architectures. The Java 2 Enterprise Edition (J2EE) platform

An Overview of Java. overview-1

Client-Server Architecture & J2EE Platform Technologies Overview Ahmed K. Ezzat

Oracle WebLogic Foundation of Oracle Fusion Middleware. Lawrence Manickam Toyork Systems Inc

Virtual Credit Card Processing System

Mobile Application Languages XML, Java, J2ME and JavaCard Lesson 04 Java

Remote Method Invocation

Expert One-on-One J2EE Design and Development

Agenda. Summary of Previous Session. Application Servers G Session 3 - Main Theme Page-Based Application Servers (Part II)

TABLE OF CONTENTS...2 INTRODUCTION...3 APPLETS AND APPLICATIONS...3 JAVABEANS...4 EXCEPTION HANDLING...5 JAVA DATABASE CONNECTIVITY (JDBC)...

Core Java+ J2EE+Struts+Hibernate+Spring

Japan Communication India Skill Development Center

Java Interview Questions and Answers

EJB & J2EE. Component Technology with thanks to Jim Dowling. Components. Problems with Previous Paradigms. What EJB Accomplishes

BHARATHIAR UNIVERSITY COIMBATORE SCHOOL OF DISTANCE EDUCATION

Services. Custom Tag Libraries. Today. Web Development. Role-Based. Development. Code Reuse. Tag Libraries Custom Tags. Tag Lifecycle.

Detailed Table of Contents

Component Middleware. Sophie Chabridon. INT - INF Department - Distributed Systems team 2006

Introduction to J2EE Web Technologies

ACM Crossroads Student Magazine The ACM's First Electronic Publication

Java Thin-Client Programming for a Network Computing Environment

Oracle WebLogic Server

For Course Details, visit:

Announcements. Comments on project proposals will go out by in next couple of days...

Enterprise Java. Where, How, When (and When Not) to Apply Java in Client/Server Business Environments. Jeffrey Savit Sean Wilcox Bhuvana Jayaraman

Oracle WebLogic Server

Java (12 Weeks) Introduction to Java Programming Language

White paper. IBM WebSphere Application Server architecture

Efficiency of Web Based SAX XML Distributed Processing

Case Studies of Running the Platform. NetBeans UML Servlet JSP GlassFish EJB

WebSphere Training Outline

PowerTier Web Development Tools 4

A Guide to Understanding Web Application Development Corey Benson, SAS Institute, Inc., Cary, NC Robert Girardin, SAS Institute, Inc.

Course Description. Course Audience. Course Outline. Course Page - Page 1 of 5

Getting Started with Web Applications

Title Page. Hosted Payment Page Guide ACI Commerce Gateway

Introduction to Sun ONE Application Server 7

As you learned about in Chapter 1, WebSphere Application Server V6 supports the

Java EE Introduction, Content. Component Architecture: Why and How Java EE: Enterprise Java

Java 2 Platform, Enterprise Edition (J2EE) Bruno Souza Java Technologist, Sun Microsystems, Inc.

Java SE 7 Programming

White Paper: 1) Architecture Objectives: The primary objective of this architecture is to meet the. 2) Architecture Explanation

Web Pages. Static Web Pages SHTML

DTS Web Developers Guide

Policy Guide Access Manager 3.1 SP5 January 2013

Enterprise Application Development In Java with AJAX and ORM

Server-Side Web Development JSP. Today. Web Servers. Static HTML Directives. Actions Comments Tag Libraries Implicit Objects. Apache.

Enterprise Application Integration

Developing XML Solutions with JavaServer Pages Technology

Software Development using MacroMedia s JRun

Adobe ColdFusion 11 Enterprise Edition

HP Education Services

Java EE 7: Back-End Server Application Development

WEB SERVICES. Revised 9/29/2015

JAVA IN A NUTSHELL O'REILLY. David Flanagan. Fifth Edition. Beijing Cambridge Farnham Köln Sebastopol Tokyo

CS506 Web Design and Development Solved Online Quiz No. 01

COMMUNITY COLLEGE OF CITY UNIVERSITY CITY UNIVERSITY OF HONG KONG

Client/server is a network architecture that divides functions into client and server

Enterprise Applications

Preface. Motivation for this Book

JVA-122. Secure Java Web Development

Apache Jakarta Tomcat

Web Application Architecture (based J2EE 1.4 Tutorial)

MVC pattern in java web programming

NetBeans IDE Field Guide

Developing a J2EE Application. Web Auction. Gerald Mo

Java 7 Recipes. Freddy Guime. vk» (,\['«** g!p#« Carl Dea. Josh Juneau. John O'Conner

Software Development Interactief Centrum voor gerichte Training en Studie Edisonweg 14c, 1821 BN Alkmaar T:

CrownPeak Java Web Hosting. Version 0.20

Java the UML Way: Integrating Object-Oriented Design and Programming

Building Java Servlets with Oracle JDeveloper

Web Application Programmer's Guide

Transcription:

Advanced Java Programming Course ID JAV170 Course Description Students will study several advanced topics of the Java programming language, including Servlets, Object Serialization and Enterprise JavaBeans. In order to build robust client server applications you need to understand the basics of many of these topics. Prerequisites A working knowledge of the Java language. Audience The audience for this class should be Java development programmers. This course contains the prerequisite material for developers interested in creating and maintaining client server systems written in Java. Duration 5 days Course Content About the Course Course Contents Overview Audience Course Objectives Object Concepts in Java Objectives Object-Oriented Programming Objects Encapsulation Messages Classes Inheritance The Java Class Hierarchy

Creating Objects in Java Objectives Declaring Classes Deriving Classes Overriding Methods Overloading Methods Access Modifiers The default Access Modifier The public Access Modifier The private Access Modifier The static Modifier The final Modifier The synchronized Modifier The native Modifier Casting Object Creation The Constructor The New Operator Object Destruction Abstracts, Interfaces and Packages Objectives Abstract Classes and Methods Class Visibility Inner Classes Interfaces Declaring Interfaces Implementing Interfaces Packages Declaring Packages Importing Packages

Exception Handling What is an Exception? Some Terminology Throw and Exception Throw, try and catch Blocks An Exceptional Example Multiple Catch Blocks Does Every Method Have to Catch Every Exception? The finally Clause The Throwable Class Types of Exceptions java.lang Exceptions Built-In Exceptions Database Access with JDBC Remote Database Access ODBC and JDBC Drivers Microsoft s ODBC Enter JDBC Other Drivers Design Purpose Overview of Main Classes Database Names Overview of a Database Connection The JDBC Classes Other Functionality Extending the JDBC Designing a Database Application Object Serialization Storing Objects to Streams The Serializable Interface Using Sockets to Send a Serialized Object Special Requirements for Using Serializable The serialver Tool The Externalizable Interface Object Serialization and RMI

RMI RMI and Distributed Applications RMI Terminology The java.rmi Packages The java.rmi Package The java.rmi.registry Package The java.rmi.server Package The java.rmi.activation Package The java.rmi.dgc Package Implementing RMI Create the Remote Interface Create a Class that Implements the Remote Interface Create Stub and Skeleton Classes Start Up the Remote Registry Create and Register the Remote Object Implementing the RMI Client on the Local Host Reflection Examining Classes Retrieving Class Objects Getting the Class Name Discovering Class Modifiers Finding Superclasses Identifying the Interfaces Implemented by a Class Examining Interfaces Identifying Class Fields Discovering Class Constructors Obtaining Method Information Creating Objects Using No-Argument Constructors Using Constructors that Have Arguments Getting Field Values Setting Field Values Invoking Methods Identifying Arrays Retrieving Component Types Creating Arrays Getting and Setting Element Values

The Java Security Model Configurable Security Policy Policy Permissions Extending the Sandbox Application Security Cryptographic Support Using Certificates Applet Security Using JAR Files and Digital Signatures Using the JAR Tool Creating a JAR File Listing the Contents of a JAR File Viewing a JAR File Extracting the Contents of a JAR File Signing Applets Creating a Keystore Signing a JAR File Verifying the Signature of a JAR File Working with Certificates Exporting Your Certificates Importing the Certificates of Others Other keytool Commands The java.security Packages Servlets and JSP What is the Advantage of Servlets over Traditional CGI? What is JSP? Obtain and Install the Servlet and JSP Development Kits Basic Servlet Structure A Simple Servlet Generating Plain Text A Servlet that Generates HTML Simple HTML-Building Utilities Form Data Example: Reading Three Parameters An Overview of Request Headers Reading Request Headers from Servlets Introduction to CGI Variables HTTP Status Codes

Specifying Status Codes HTTP 1.1 Status Codes and Their Meaning Example: Search Engine Front End HTTP Response Headers HTTP Response Headers Common Response Headers and their Meaning Example: Automatically Reloading Pages ad Content Changes Overview of Cookies The Servlet Cookie API Creating Cookies Reading and Specifying Cookie Attributes Placing Cookies in the Response Headers Reading Cookies from the Client Some Minor Cookie Utilities Getting the Value of a Cookie with a Specified Name Example: A Customized Search Engine Interface What is Session Tracking? The Session Tracking API Looking up the HttpSession Object associated with the current request Looking up Information Associated with a Session Associating Information with a Session Example: Showing Session Information JSP Overview Template Text: Static HTML JSP Scripting Elements JSP Expressions JSP Scriptlets JSP Declarations JSP Directives The JSP page Directive The JSP include Directive Example Using Scripting Elements and Directives Predefined Variables Actions More jsp:usebean Details The jsp:getproperty Action

JSP and XML Using XML Data Sources in JSP Pages Generating Markup Languages Using JSP What a Custom Tag Library Is The Composition of a Custom Tag Library The JSP Enterprise JavaBeans Benefits of Middle-Tier Servers J2EE Architecture J2EE Server EJB Container Web Container Enterprise Beans Session Beans Entity Beans Comparing Session and Entity Beans JavaBean Components and Enterprise Beans Programming Restrictions for Enterprise Beans Database Access J2EE Applications Contents of a J2EE Application Development Phases of J2EE Applications Getting Started Creating the J2EE Application Building the Enterprise Bean Write the Remote Interface Code Write the Home Interface Code Write the Enterprise Bean Code Compile the Source Code Needed by the Enterprise Bean Create the EJB.jar File Deploying the J2EE Application Building the Client Write the Client Code Compile the Client Code Running the Client Solutions to Common Problems Servlets

Use Servlets instead of CGI Scripts! Other Uses for Servlets Architecture of the Servlet Package A Simple Servlet Setting Up the Servlet s J2EE Application Coding the Servlet Creating the Servlet s.war File Deploying the Servlet s J2EE Application Running the Servlet JavaServer Pages Components Other dynamic Content models Setting Up the JSP Component s J2EE Application Writing the.jsp File Coding the JavaBeans Component Creating the JSP Component s.war File Deploying the JSP Component s J2EE Application Running the JSP Component