SPECIAL OFFER
Use code BACKTOLEARN during checkout to save 50% on books, eBooks, & videos. Shop now.
Register your product to gain access to bonus material or receive a coupon.
J2EE Unleashed presents techniques and examples for building applications based on the Java 2 Enterprise Edition development model. The goal of this book is not to teach the J2EE specification but to illustrate the best practices for developing J2EE applications. It will cover the most commonly used J2EE API's as well as migration techniques that can be used to port a J2EE application from one platform to another.
The book will discuss all of these platforms with an emphasis on the SilverStream application server, which is J2EE compliant and certified for Windows and several UNIX platforms. Moreover, the book will illustrate how a J2EE application can interface with most SQL based DBMS platforms including ORACLE, INFORMIX, Microsoft SQL Server 7, SYBASE, IBM DB2 as well as others.
Introduction.
1. Java, Distributed Computing, and J2EE.
Background on Java. Companies Must Re-Invent Themselves for the Web. Requirements of Web Architecture. Web Application Life Cycle. J2EE APIs and Certification. XML and J2EE. The Packaging of J2EE Applications. Summary.
J2EE Layers. J2EE Application Components. J2EE Architecture. Development Methodology and Process. Sample Applications Introduced. Summary.
History of Modeling Tools. Overview. Designing an Application. Modeling a Web Application. System Modeling. The Unified Modeling Language. Modeling Web Pages. EJB UML Mapping. Tool Support. Summary.
Completing Prerequisite Tasks. Designing the Database. Creating Tables and Columns. Defining the Application. Creating a Back-End Interface. Creating the Interface. Building Pages. Creating Data Access Objects. Validating Your Code. Refining Your Code. Summary.
Naming and Directory Services. What is JNDI? Finding Sample Application Resources. JNDI Architecture. JNDI Operations. Lightweight Directory Access Protocol. JNDI/LDAP Practical Examples. Summary.
Introduction. JDBC Architecture: API and Drivers. The JDBC API. Retrieving and Updating Data. SQL-to-Java Data Types. JDBC Exception Types. Metadata. Scrollable Resultsets. Updating Rows. Transaction Support. Batch Statements. JDBC 2.1 New Data Types. JDBC 2.0 Optional Package API: javax.sql. Case Study: The SilverStream Application Server. Summary.
What Are Servlets? Benefits of Servlets. Use as Controller in MVC and the Sample Application. Basic HTTP. Servlet Container. Servlet API. Service Method Detail. HTML Clients. Servlet Life Cycle. ServletContext. HTTP Request Header. HTTP Response Header Session Management. Dispatching Requests. Servlets with JDBC. Web Applications. Using Servlets in the SilverStream Application Server. Servlet 2.3 API. Summary.
Features of JSP Pages. The Components of a JSP Page. Developing and Deploying JSP Pages. JSP Architectures. Conclusion: JSP Pages Are a Big Part of the Enterprise Java _Solution.
JSP Syntax. Tag Libraries. Summary.
The Model-View-Controller Paradigm. The Struts Framework. Summary.
Enterprise JavaBeans Overview. Distributed Programming Overview. EJB Framework. Session and Entity Beans. Attributes of a Bean. Parts of a Bean. Container-Managed Persistence (CMP) and Bean-Managed _Persistence (BMP). The Life Cycle of Enterprise JavaBeans. Java Message Service (JMS) and Message-Driven Beans (MDB). Distributed Programming Services. Common Object Request Broker Architecture (CORBA) _and Remote Method. Invocation (RMI). Transactions and Transaction Management. Security. Deployment. Personal Roles for EJB Development. Corporate Roles. Summary.
Creating Session Beans. Packaging and Deploying a Session Bean. Changes to Bean Code. Finding Session Beans from a Client. Calling Session Beans from a Client. Summary.
Defining Entity Beans. Container- and Bean-Managed Persistence. The Anatomy of a CMP Entity Bean. Developing Entity Beans. A Closer Look at Developing Entity Beans. EJB Clients. Using a GUI Tool to Configure, Package, and Deploy _Entity Beans. Summary.
E-mail Messaging in General. What Does JavaMail Do? The Provider Registry. JavaMail Architecture and Primary Classes. Sending and Receiving Messages. Using JavaMail in JavaServer Pages. Summary.
Messaging Basics. Where Does JMS Fit In? JMS Components. Producing and Consuming Messages. JMS Examples. JMS Implementation and Deployment Issues. Summary.
What Is XML? Structure of an XML Document. Unparsed Data. Processing Instructions. Document Type Definitions (DTDs). XML Schema. XML Parsers. Document Object Model (DOM). Simple API for XML (SAX). XML Output. XSL. Style Sheet Structure. Applying Style Sheets. XML Linking Language (XLink). XML Security. Summary.
Java and Testing. Quality Control Through Debugging. Debugging Techniques. Correcting an Error. Testing and Development Phases. Testing Methods and Techniques. Web Site Test Tools and Site Management Tools. Summary.
Overview. Writing High-Performance Applications. Preparing for Performance Tuning. Guide to Diagnosis and Cure. What Affects Server Performance? Database Monitoring and Tuning Tools. Summary.
Java's Write Once, Run Anywhere Promise. The Assembly Process. The Deployment Process. Summary.
SilverBooks. Java Pet Store. Summary.
Development Tools. Application Servers. Modeling and Object/Report Generation Tools. Messaging and XML Tools. Validation and Performance Monitoring Tools.
J2EE APIs. J2EE Software Development Kit (SDK) Installation Instructions. Naming Conventions for J2EE.