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



Similar documents
Building Web Applications, Servlets, JSP and JDBC

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

JAVA. EXAMPLES IN A NUTSHELL. O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo. Third Edition.

OUR COURSES 19 November All prices are per person in Swedish Krona. Solid Beans AB Kungsgatan Göteborg Sweden

WebSphere Training Outline

Java EE 7: Back-End Server Application Development

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

WEB APPLICATION DEVELOPMENT. UNIT I J2EE Platform 9

Introduction to Sun ONE Application Server 7

How to Build an E-Commerce Application using J2EE. Carol McDonald Code Camp Engineer

Extreme Java G Session 3 Main Theme Java Core Technologies (Part I) Dr. Jean-Claude Franchitti

Complete Java Web Development

Enterprise JavaBeans 3.1

JAVA/J2EE DEVELOPER RESUME

Developing Java Web Services

Java 2 Platform, Enterprise Edition (J2EE): Enabling Technologies for EAI

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

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

Mastering Tomcat Development

Japan Communication India Skill Development Center

JBoss JEE5 with EJB3.0 on NonStop. JAVA SIG, San Jose

This training is targeted at System Administrators and developers wanting to understand more about administering a WebLogic instance.

What Is the Java TM 2 Platform, Enterprise Edition?

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

Japan Communication India Skill Development Center

WEB SERVICES. Revised 9/29/2015

Course Name: Course in JSP Course Code: P5

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

Japan Communication India Skill Development Center

Developing Web Services with Eclipse

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.

New Methods for Performance Monitoring of J2EE Application Servers

Enterprise Application Integration

Core Java+ J2EE+Struts+Hibernate+Spring

The end. Carl Nettelblad

Professional Java Tools for Extreme Programming. Ant, XDoclet, JUnit, Cactus, and Maven

PG DAC. Syllabus. Content. Eligibility Criteria

This presentation will provide a brief introduction to Rational Application Developer V7.5.

NetBeans IDE Field Guide

Oracle WebLogic Server

Expert One-on-One J2EE Design and Development

How To Develop A Web Service In A Microsoft J2Ee (Java) 2.5 (Oracle) 2-Year Old (Orcient) 2Dj (Oracles) 2E (Orca) 2Gj (J

Enterprise Application Development In Java with AJAX and ORM

WebSphere Server Administration Course

Portals, Portlets & Liferay Platform

IBM WebSphere Server Administration

Enterprise Applications

This presentation is for informational purposes only and may not be incorporated into a contract or agreement.

Web Application Architecture (based J2EE 1.4 Tutorial)

ITS. Java WebService. ITS Data-Solutions Pvt Ltd BENEFITS OF ATTENDANCE:

Oracle WebLogic Server 11g Administration

How To Protect Your Computer From Being Hacked On A J2Ee Application (J2Ee) On A Pc Or Macbook Or Macintosh (Jvee) On An Ipo (J 2Ee) (Jpe) On Pc Or

Research Article. ISSN (Print) *Corresponding author Lili Wang

JAVA Technologies QUARTER 1 DESKTOP APPLICATIONS - ESSENTIALS QUARTER 2 NETWORKING AND OPERATING SYSTEMS ESSENTIALS. Module 1 - Office Applications

A standards-based approach to application integration

Web and Enterprise Applications Developer Track

Das Spring Framework - Einführung in leichtgewichtige J2EE Architektur. Jürgen Höller. Organized by:

Java-technology based projects

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

Beginning POJOs. From Novice to Professional. Brian Sam-Bodden

Japan Communication India Skill Development Center

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

SAP NetWeaver Opens SAP ERP world. Amedeo Prodi SAP Italia

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

Programma corso di formazione J2EE

Virtual Credit Card Processing System

CHAPTER 1 - JAVA EE OVERVIEW FOR ADMINISTRATORS

WebLogic Server 11g Administration Handbook

MagDiSoft Web Solutions Office No. 102, Bramha Majestic, NIBM Road Kondhwa, Pune Tel: /

Java Platform, Enterprise Edition (Java EE) From Yes-M Systems LLC Length: Approx 3 weeks/30 hours Audience: Students with experience in Java SE

JBS-102: Jboss Application Server Administration. Course Length: 4 days

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

rpaf KTl enterprise EJB 3.1 Cookbook I I flv* IV I I professional expertise distilled

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

Web Development in Java

<Insert Picture Here> Java EE 7. Linda DeMichiel Java EE Platform Lead

Oracle WebLogic Server

White paper. IBM WebSphere Application Server architecture

Database Application Design and Development. What You Should Know by Now

FEATURE MATRIX. ORACLE WEBLOGIC SERVER STANDARD EDITION 11g ORACLE WEBLOGIC SERVER ENTERPRISE EDITION 11g ORACLE WEBLOGIC SUITE 11g

JEE Web Applications Jeff Zhuk

JBoss SOAP Web Services User Guide. Version: M5

A Guide to Migrating Enterprise Applications to Spring

Implementation of an Enterprise-level Groupware System Based on J2EE Platform and WebDAV Protocol

COM 440 Distributed Systems Project List Summary

How To Write A Web Framework In Java

Migrating JEE Applications from WLS/WAS to SpringSource tc Server. A Technical Perspective

C#5.0 IN A NUTSHELL. Joseph O'REILLY. Albahari and Ben Albahari. Fifth Edition. Tokyo. Sebastopol. Beijing. Cambridge. Koln.

Developing a J2EE Application. Web Auction. Gerald Mo

SAP Web Application Server 6.30: Learning Map for Development Consultants

Software Development using MacroMedia s JRun

Patterns of Enterprise Application Architecture

Converting Java EE Applications into OSGi Applications

ucosminexus Application Server and BPM/ESB Platform Terminology Guide Y99(E)

Tomcat 5 New Features

Chapter 4. Architecture. Table of Contents. J2EE Technology Application Servers. Application Models

Java Web Services Developer Pack. Copyright 2003 David A. Wilson. All rights reserved.

OpenShift is FanPaaStic For Java EE. By Shekhar Gulati Promo Code JUDCON.IN

Applets, RMI, JDBC Exam Review

Transcription:

2008 AGI-Information Management Consultants May be used for personal purporses only or by libraries associated to dandelon.com network. JAVA ENTERPRISE IN A NUTSHELL Third Edition Jim Farley and William Crawford with Prakash Malani, John G. Norman, and Justin Gehtland O'REILLY 4 Beijing Cambridge Farnham Koln Paris Sebastopol Taipei Tokyo

Table of Contents Preface xi Part I. The Java Enterprise APIs 1. Introduction Enterprise Computing Defined Enterprise Computing Demystified Standard Java Enterprise APIs De Facto Standard Enterprise Development Tools An Enterprise Computing Scenario Other Enterprise APIs 2. Application Assembly and Deployment J2EE Application Assembly Model Component Modules Application Assemblies Deploying J2EE Applications 3. Java Servlets Getting a Servlet Environment Servlet Basics Web Applications Servlet Requests Servlet Responses 3 4 4 5 14 20 23 25 26 34 38 41 46 47 47 51 54 57

Custom Servlet Initialization 61 Security 64 Servlet Filters 65 Thread Safety 68 Cookies 71 Session Tracking 72 Databases and Non-HTML Content 75 4. JavaServer Pages 78 JSP Basics 80 JSP Actions 85 The JSP Expression Language 87 JSP Standard Tag Library 90 Custom Tags 94 Wrapping Up 101 5. JavaServer Faces 102 The Sample Application 103 Structure of a JSF Application 103 Managed Beans 105 The JSF Expression Language 109 JSF Actions and Views 111 Building Tables 121 Validation 125 Moving on with J SF 129 6. Enterprise JavaBeans 130 What Version Is Covered Here? 131 EJB Component Model Overview 132 EJB Tutorial 136 Deploying EJBs 142 Using Enterprise JavaBeans 150 Session Bean Specifics 154 Entity Beans 159 Message-Driven Beans 183 Transaction Management 187 EJB 3.0 190 7. JavaandXML 193 Using XML Documents 194 Java API for XML Processing 199 Table of Contents

SAX DOM XSLT 8. JDBC. JDBC Architecture Connecting to the Database Statements Results Handling Errors Prepared Statements BLOBs and CLOBs Metadata Transactions Stored Procedures Escape Sequences RowSets 9. JNDI JNDI Architecture A Simple Example Introducing the Context Looking Up Objects in a Context The NamingShell Application Listing the Children of a Context Creating and Destroying Contexts Binding Objects Accessing Directory Services Modifying Directory Entries Creating Directory Entries ' Searching a Directory Event Notification 1 1 10. J2EE Security i,* Basic Security Concepts ; A Look at Java and J2EE Security Standards Declarative Security Versus Programmatic Security Web Component Security EJB Component Security Other J2EE Security Topics Limitations of J2EE Security 201 205 214 218 219 223 225 227 233 235 238 239 241 244 246 247 249 250 251 253 255 256 262 267 269 270 275 276 111 281 289 289 292 294 295 304 307 310 Table of Contents 1 vi

11. Java Message Service 312 JMS in the J2EE Environment 313 Elements of Messaging with JMS 313 The Anatomy of Messages 321 Point-to-Point Messaging 325 Publish-Subscribe Messaging 331 Unified Messaging 333 Transactional Messaging 334 12. Web Services with JAX-RPC and SAAJ 336 What's Covered Here? 336 Brief Introduction to Web Services 337 Java Web Services 345 Writing Web Service Clients 349 Writing Web Services 358 Deploying Web Services 363 13. Remote Method Invocation 375 What's Covered Here? 375 Introduction to RMI 376 Defining Remote Objects 386 Creating the Stubs and Skeletons 389 Accessing Remote Objects as a Client 390 Dynamic Classloading 394 Remote Object Activation 399 RMI and Native Method Calls 410 RMI Over HOP 414 14. JavaIDL(CORBA) 417 A Note on Evolving Standards 418 The CORBA Architecture 419 Creating CORBA Objects 422 Putting It in the Public Eye 434 Finding and Using Remote Objects 442 What If I Don't Have the Interface? 451 15. JavaMail 456 Email and JavaMail 457 Creating and Sending Messages 463 Retrieving Messages 465 Multipart Messages 471 viii I Table of Contents

16. Transactions 475 Transaction Overview 475 Programmatic Transactions Versus Declarative Transactions 486 Optimistic Concurrency 488 EJB Transaction Management 490 Some Common Programming Scenarios 492 Transaction Best Practices 497 Part II. Open Source Enterprise Tools 17. Ant 501 What Version Is Covered Here? 502 Ant Overview 502 Ant Fundamentals 503 Core Tasks 509 Enterprise Tasks 522 Creating Portable Build Processes 532 18. JUnitand Cactus 540 What's Covered Here? 541 Unit Testing Concepts 542 JUnit Overview 545 Using JUnit with Ant 554 Testing Enterprise Components with Cactus 561 19. Struts 588 The Scope of Struts 588 The Sample Application 590 The Development Process with Struts 591 The Struts Controller 593 The Action Class 596 Views in Struts 604 Struts Tags 609 Struts Plug-ins 615 DynaActionForms and the Struts Validator 616 20. Hibernate 619 The Sample Application 619 Principles of Hibernate 620 Configuration and Mapping 622 Table of Contents

The Hibernate API HQL (Hibernate Query Language) Hibernate Services Conclusion 21. Annotations with XDoclet and J2SE Metadata... What's Covered Here? What Are Code Annotations? Annotation Tools XDoclet Tutorial J2SE Annotations Tutorial 640 649 650 655 656 656 656 658 658 676 Part III. Appendixes A. J2EE Deployment Descriptor Reference 689 B. JavaServer Faces Tag Libraries 741 C. Enterprise JavaBeans Query Language Syntax 756 D. SQL Reference 767 E. JMS Message Selector Syntax 783 F. RMITools 787 6. IDLReference 795 H. Java IDL Tools 829 Index 837 Table of Contents