
J2EE Unleashed
Sams Publishing
Published on 22. October 2001
Book
Mixed media product
864 pages
978-0-672-32180-1 (ISBN)
Description
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.
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.
More details
Language
English
Place of publication
Indianapolis
United States
Publishing group
Pearson Education (US)
Target group
College/higher education
Dimensions
Height: 230 mm
Width: 185 mm
Thickness: 45 mm
Weight
1416 gr
ISBN-13
978-0-672-32180-1 (9780672321801)
Copyright in bibliographic data and cover images is held by Nielsen Book Services Limited or by the publishers or by their respective licensors: all rights reserved.
Schweitzer Classification
Persons
Paul R. Allen is a principal of UCNY, Inc., an international consulting firm that helps Fortune 500 companies improve operations through the use of database and object technology. His e-mail address is pallen@ucny.com. He has been developing applications systems for over 15 years. He has been developing database applications for the last eight years, using SilverStream and Java for Web development the past three years. (SilverStream is a J2EE certified application server.) Paul is a Certified SilverStream Trainer, Developer, and FAE. His professional experience includes work with the financial, brokerage, pharmaceutical, and manufacturing industries. He specializes in transitioning clients to Web-based, object-oriented database technology. He has taught numerous courses in computing at Columbia University in New York. He has co-authored the following books: PowerBuilder: A Guide To Developing Client/Server Applications (McGraw-Hill, 1995), Informix: Client/Server Application Development (McGraw-Hill, 1997), Informix: Universal Data Option (McGraw-Hill, 1998), SQL Server Developer's Guide (IDG, 2000), and SilverStream Success Volumes I and II (SilverStream Journal Inc, 2000 & 2001). He has also written several SilverStream Journal articles. He a regular presenter at SilverSummit user conferences and the New York metropolitan area SilverStream user group. Over the past seven years, he has taught numerous courses and given many presentations on computing in several cities worldwide, including Los Angeles, Vienna, Paris, Berlin, Orlando, Nashville, New York, Washington, D.C., Copenhagen, Oslo, and Stockholm.
Joseph J. Bambara is a principal of UCNY, Inc. His e-mail address is jbambara@ucny.com. He has been developing applications systems for over 25 years including relational database development for the last 15 years and Java application server for Web development the past four years. He is a Certified SilverStream Trainer, Developer, and FAE. His professional experience includes work with the financial, brokerage, manufacturing, medical, and entertainment industries. Mr. Bambara has a Bachelor's and a Master's degree in Computer Science. He also holds a Juris Doctorate in Law and has been admitted to the New York Bar. He has taught various computer courses for CCNY's School of Engineering. He has co-authored the following books: PowerBuilder: A Guide To Developing Client/Server Applications (McGraw-Hill, 1995), Informix: Client/Server Application Development (McGraw-Hill, 1997), Informix: Universal Data Option (McGraw-Hill, 1998), SQL Server Developer's Guide (IDG, 2000), and volumes I and II of SilverStream Success (SilverStream Journal Inc., 2000 & 2001). He has also written several SilverStream Journal articles. Over the past seven years, he has taught numerous courses and given many presentations for SilverStream and Sybase in several cities worldwide, including Los Angeles, Vienna, Paris, Berlin, Orlando, Nashville, New York, Copenhagen, Oslo, and Stockholm.
Mark Ashnault is a Java consultant working for UCNY, Inc. He has been specializing in Java-based business applications, with emphasis on the SilverStream Application Server, Servlets, EJB, and JSP for the past two years. His background includes developing applications for client/server, Web, and SQL Server databases. He is a SilverStream Certified Developer and Instructor. Mark studied at Scranton University in Pennsylvania, attaining a Bachelor of Science in Computer Science.
Thomas Garben is a Java consultant working for UCNY, Inc. He has been specializing in Java-based business applications, with emphasis on the SilverStream Application Server, Servlets, EJB, and JSP for the past five years. His background includes developing applications for client/server, Web, and SQL databases. He is a SilverStream Certified Developer. Tom studied at SUNY in Freedonia and holds a Bachelor of Science in Physics and Mathematics. Tom also studied at SUNY in Buffalo, where he earned a Bachelor of Science degree in Electrical and Computer Engineering. Tom received a Master of Science in Electrical and Computer Engineering from the Polytechnic Institute in Brooklyn.
Ziyad Dean is a Java consultant working for UCNY, Inc. He has been specializing in Java-based business applications, with emphasis on the SilverStream Application Server, Servlets, EJB, and JSP for the past four years. His background includes developing applications for client/server, Web, and Oracle databases. He is a PowerBuilder Certified Developer and Instructor. Ziyad studied at Odessa University in Ukraine, where he earned a Bachelor of Science in Mathematics.
Sherry Smith resides in New York City and works for UCNY, Inc. She received her Bachelor of Science degree from the University of Wisconsin-Madison in 1992. She has a strong background in computer-aided design and has worked with a wide variety of computer tools used to publish technical manuscripts, books, and magazine articles. She has developed training material for Java, HTML, and XML. She has written several articles for CoreBit News, a corporate technology newsletter, and has been a technical editor for Paul Allen and Joe Bambara for the past 6 months. She is a member of MENSA.
Joseph J. Bambara is a principal of UCNY, Inc. His e-mail address is jbambara@ucny.com. He has been developing applications systems for over 25 years including relational database development for the last 15 years and Java application server for Web development the past four years. He is a Certified SilverStream Trainer, Developer, and FAE. His professional experience includes work with the financial, brokerage, manufacturing, medical, and entertainment industries. Mr. Bambara has a Bachelor's and a Master's degree in Computer Science. He also holds a Juris Doctorate in Law and has been admitted to the New York Bar. He has taught various computer courses for CCNY's School of Engineering. He has co-authored the following books: PowerBuilder: A Guide To Developing Client/Server Applications (McGraw-Hill, 1995), Informix: Client/Server Application Development (McGraw-Hill, 1997), Informix: Universal Data Option (McGraw-Hill, 1998), SQL Server Developer's Guide (IDG, 2000), and volumes I and II of SilverStream Success (SilverStream Journal Inc., 2000 & 2001). He has also written several SilverStream Journal articles. Over the past seven years, he has taught numerous courses and given many presentations for SilverStream and Sybase in several cities worldwide, including Los Angeles, Vienna, Paris, Berlin, Orlando, Nashville, New York, Copenhagen, Oslo, and Stockholm.
Mark Ashnault is a Java consultant working for UCNY, Inc. He has been specializing in Java-based business applications, with emphasis on the SilverStream Application Server, Servlets, EJB, and JSP for the past two years. His background includes developing applications for client/server, Web, and SQL Server databases. He is a SilverStream Certified Developer and Instructor. Mark studied at Scranton University in Pennsylvania, attaining a Bachelor of Science in Computer Science.
Thomas Garben is a Java consultant working for UCNY, Inc. He has been specializing in Java-based business applications, with emphasis on the SilverStream Application Server, Servlets, EJB, and JSP for the past five years. His background includes developing applications for client/server, Web, and SQL databases. He is a SilverStream Certified Developer. Tom studied at SUNY in Freedonia and holds a Bachelor of Science in Physics and Mathematics. Tom also studied at SUNY in Buffalo, where he earned a Bachelor of Science degree in Electrical and Computer Engineering. Tom received a Master of Science in Electrical and Computer Engineering from the Polytechnic Institute in Brooklyn.
Ziyad Dean is a Java consultant working for UCNY, Inc. He has been specializing in Java-based business applications, with emphasis on the SilverStream Application Server, Servlets, EJB, and JSP for the past four years. His background includes developing applications for client/server, Web, and Oracle databases. He is a PowerBuilder Certified Developer and Instructor. Ziyad studied at Odessa University in Ukraine, where he earned a Bachelor of Science in Mathematics.
Sherry Smith resides in New York City and works for UCNY, Inc. She received her Bachelor of Science degree from the University of Wisconsin-Madison in 1992. She has a strong background in computer-aided design and has worked with a wide variety of computer tools used to publish technical manuscripts, books, and magazine articles. She has developed training material for Java, HTML, and XML. She has written several articles for CoreBit News, a corporate technology newsletter, and has been a technical editor for Paul Allen and Joe Bambara for the past 6 months. She is a member of MENSA.
Content
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.
2. The Design and Development of a J2EE Application.
J2EE Layers. J2EE Application Components. J2EE Architecture. Development Methodology and Process. Sample Applications Introduced. Summary.
3. Designing the J2EE Application.
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.
4. Task List for Building J2EE Applications.
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.
5. Build Resource Access: JNDI and LDAP.
Naming and Directory Services. What is JNDI? Finding Sample Application Resources. JNDI Architecture. JNDI Operations. Lightweight Directory Access Protocol. JNDI/LDAP Practical Examples. Summary.
6. Build Data Access: JDBC.
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.
7. Build Control Flow: Servlets.
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.
8. JavaServer Pages: Introduction .
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.
9. JavaServer Pages: Practical Development with Tag Libraries.
JSP Syntax. Tag Libraries. Summary.
10. Building the User Interface to the Application.
The Model-View-Controller Paradigm. The Struts Framework. Summary.
11. Enterprise JavaBeans: Introduction.
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.
12. Enterprise JavaBeans: Building Session Beans.
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.
13. Enterprise JavaBeans: Building Entity Beans.
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.
14. Messaging with E-mail: JavaMail.
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.
15. Messaging with Applications: Java Message Service (JMS).
Messaging Basics. Where Does JMS Fit In? JMS Components. Producing and Consuming Messages. JMS Examples. JMS Implementation and Deployment Issues. Summary.
16.Data Exchange with XML.
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.
17. Validating the Application.
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.
18. Making the Application Perform.
Overview. Writing High-Performance Applications. Preparing for Performance Tuning. Guide to Diagnosis and Cure. What Affects Server Performance? Database Monitoring and Tuning Tools. Summary.
19. Deploying the Application.
Java's Write Once, Run Anywhere Promise. The Assembly Process. The Deployment Process. Summary.
Appendix A. Documentation for Sample Applications.
SilverBooks. Java Pet Store. Summary.
Appendix B. Related Tools.
Development Tools. Application Servers. Modeling and Object/Report Generation Tools. Messaging and XML Tools. Validation and Performance Monitoring Tools.
Appendix C. Quick Reference Material.
J2EE APIs. J2EE Software Development Kit (SDK) Installation Instructions. Naming Conventions for J2EE.
Index.
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.
2. The Design and Development of a J2EE Application.
J2EE Layers. J2EE Application Components. J2EE Architecture. Development Methodology and Process. Sample Applications Introduced. Summary.
3. Designing the J2EE Application.
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.
4. Task List for Building J2EE Applications.
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.
5. Build Resource Access: JNDI and LDAP.
Naming and Directory Services. What is JNDI? Finding Sample Application Resources. JNDI Architecture. JNDI Operations. Lightweight Directory Access Protocol. JNDI/LDAP Practical Examples. Summary.
6. Build Data Access: JDBC.
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.
7. Build Control Flow: Servlets.
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.
8. JavaServer Pages: Introduction .
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.
9. JavaServer Pages: Practical Development with Tag Libraries.
JSP Syntax. Tag Libraries. Summary.
10. Building the User Interface to the Application.
The Model-View-Controller Paradigm. The Struts Framework. Summary.
11. Enterprise JavaBeans: Introduction.
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.
12. Enterprise JavaBeans: Building Session Beans.
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.
13. Enterprise JavaBeans: Building Entity Beans.
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.
14. Messaging with E-mail: JavaMail.
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.
15. Messaging with Applications: Java Message Service (JMS).
Messaging Basics. Where Does JMS Fit In? JMS Components. Producing and Consuming Messages. JMS Examples. JMS Implementation and Deployment Issues. Summary.
16.Data Exchange with XML.
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.
17. Validating the Application.
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.
18. Making the Application Perform.
Overview. Writing High-Performance Applications. Preparing for Performance Tuning. Guide to Diagnosis and Cure. What Affects Server Performance? Database Monitoring and Tuning Tools. Summary.
19. Deploying the Application.
Java's Write Once, Run Anywhere Promise. The Assembly Process. The Deployment Process. Summary.
Appendix A. Documentation for Sample Applications.
SilverBooks. Java Pet Store. Summary.
Appendix B. Related Tools.
Development Tools. Application Servers. Modeling and Object/Report Generation Tools. Messaging and XML Tools. Validation and Performance Monitoring Tools.
Appendix C. Quick Reference Material.
J2EE APIs. J2EE Software Development Kit (SDK) Installation Instructions. Naming Conventions for J2EE.
Index.