Apress enterprise javabeans 2 1 apr 2003 ISBN 1590590880

676 49 0
Apress enterprise javabeans 2 1 apr 2003 ISBN 1590590880

Đang tải... (xem toàn văn)

Tài liệu hạn chế xem trước, để xem đầy đủ mời bạn chọn Tải xuống

Thông tin tài liệu

Enterprise JavaBeans 2.1 by Stefan Denninger, Ingo Peters and Rob Castenada Apress © 2003 ISBN:1590590880 This invaluable resource details the architecture of the Enterprise JavaBeans component model and the Java Message Service (JMS) so you understand the ideas behind asynchronous and parallel processing provided through message-driven beans Table of Contents Enterprise JavaBeans 2.1 Preface Chapter 1 - Introduction Chapter 2 - Fundamentals Chapter 3 - The Architecture of Enterprise JavaBeans Chapter 4 - Session Beans Chapter 5 - Entity Beans Chapter 6 - Message-Driven Beans Chapter 7 - Transactions Chapter 8 - Security Chapter 9 - Practical Applications Chapter 10 - Web Services and Scheduling References Index List of Figures List of Tables List of Listings Back Cover Enterprise JavaBeans (EJB) is a server-side component model for transaction-aware distributed enterprise applications, written in the Java programming language Enterprise JavaBeans 2.1 details the architecture of the Enterprise JavaBeans component model After the authors introduce the component paradigm, they move on to cover EJB architecture basics Building on the foundation formed in those introductory topics, they discuss the different component types (session-, entity-, and message-driven beans) in detail This is followed by a comprehensive introduction to the Java Message Service (JMS), so you understand the ideas behind asynchronous and parallel processing provided through message-driven beans Transactions, security, and the newly introduced timer service round out the book This invaluable resource also discusses topics beyond the specification: inheritance, coupling of EJB components, quality assurance, and more After reading this book, you'll understand the benefits and the limits of EJB and have the knowledge necessary to turn business requirements into EJB-based applications About the Authors Stefan Denninger completed his university education in February 1996 with a degree in business management He currently works for ConSol GmbH inMunich as a senior software consultant He has worked as a software engineer for Kromberg & Schubert in Abensberg, Germany, IXOS Software in Munich, Germany, and eCircle Solutions in Munich Ingo Peters currently works with the HypoVereinsbank, a group of European banks managing Internet portals and applications As a project manager, he has guided many different applications and Internet portals using Enterprise JavaBeans to success He started programming with Enterprise JavaBeans in 1998 Rob Castaneda is Principal Architect at CustomWare Asia Pacific, where he provides architecture consulting and training in EJB/J2EE/XML-based applications and integration servers to clients throughout Asia and America Rob’s multinational background, combined with his strong real-world business experience, enables him to see through the specifications to create realistic solutions to major business problems He has also contributed to and technically edited various leading EJB and J2EE books Enterprise JavaBeans 2.1 STEFAN DENNINGER and INGO PETERS with ROB CASTANEDA translated by David Kramer Copyright © 2003 by Stefan Denninger and Ingo Peters with Rob Castaneda All rights reserved No part of this work may be reproduced or transmitted in any form or by any means, electronic or mechanical, including photocopying, recording, or by any information storage or retrieval system, without the prior written permission of the copyright owner and the publisher ISBN (pbk): 1-59059-088-0 Printed and bound in the United States of America 12345678910 Trademarked names may appear in this book Rather than use a trademark symbol with every occurrence of a trademarked name, we use the names only in an editorial fashion and to the benefit of the trademark owner, with no intention of infringement of the trademark Translator, Editor, Compositor: David Kramer Technical Reviewer: Mary Schladenhauffen Editorial Directors: Dan Appleman, Gary Cornell, Simon Hayes, Martin Streicher, Karen Watterson, John Zukowski Managing and Production Editor: Grace Wong Proofreader: Lori Bring Cover Designer: Kurt Krames Manufacturing Manager: Tom Debolski Distributed to the book trade in the United States by Springer-Verlag New York, Inc., 175 Fifth Avenue, New York, NY, 10010 and outside the United States by Springer-Verlag GmbH & Co KG, Tiergartenstr 17, 69112 Heidelberg, Germany In the United States, phone 1-800-SPRINGER, email , or visit http://www.springerny.com Outside the United States, fax +49 6221 345229 email , or visit http://www.springer.de, For information on translations, please contact Apress directly at 2560 Ninth Street, Suite 219, Berkeley, CA 94710 Phone 510-549-5930, fax: 510-549-5939, email , or visit http://www.apress.com The information in this book is distributed on an "as is" basis, without warranty Although every precaution has been taken in the preparation of this work, neither the author nor Apress shall have any liability to any person or entity with respect to any loss or damage caused or alleged to be caused directly or indirectly by the information contained in this work The source code for this book is available to readers at http://www.apress.com in the Downloads section About the Authors Stefan Denninger Stefan Denninger completed his university education in February 1996 with a degree in business management He has worked as a software engineer for Kromberg & Schubert in Abensberg, Germany, IXOS Software in Munich, Germany, and eCircle Solutions in Munich He currently works for ConSol GmbH in Munich as a senior software consultant Ingo Peters Ingo Peters currently works with the HypoVereinsbank, a group of European banks managing Internet portals and applications As a project manager, he has guided many different applications and Internet portals using Enterprise JavaBeans to success He started programming with Enterprise JavaBeans in 1998 Rob Castaneda Rob Castaneda is Principal Architect at CustomWare Asia Pacific, where he provides architecture consulting and training in EJB/J2EE/XML-based applications and integration servers to clients throughout Asia and America Rob's multinational background, combined with his strong realworld business experience, enables him to see through the specifications to create realistic solutions to major business problems He has also contributed to and technically edited various leading EJB and J2EE books Acknowledgments Working on this book has been a great pleasure for all of the authors Long discussions about local interfaces and dependent objects have resulted in several chapters being rewritten and then rewritten again, and changes in the specification have led to many interesting discussions and insights Without the active support of colleagues and friends, work on this book would not have been nearly so interesting, nor so productive Stefan Denninger and Ingo Peters would like particularly to thank Stefan Schulze and Alexander Greisle, whose constructive and highly competent feedback have significantly improved the quality of this book They would also like to thank the readers of the first German edition, whose support and feedback made the second edition possible Finally, they wish to thank their editor, Martin Asbach, of Addison-Wesley, for his great care and friendly collaboration in bringing this book into the world, to the staff of Apress for making the English translation possible, and for their amiable and uncomplicated collaboration Rob Castaneda would like to thank John Zukowski, Grace Wong, and the team at Apress, as well as colleagues at CustomWare Asia Pacific, including Ian Daniel, Nathan Lee, and Scott Babbage, as well as his wife, Aimee Castaneda Without the support of the these individuals, this work would not have been achievable Preface Enterprise Javabeans (EJB) is the standard component architecture for the creation of distributed business applications in the programming language Java EJB offers all mechanisms necessary for the creation of applications for enterprise-wide deployment and for the control of critical business processes Application developers can profit from distribution of processes, transaction security, pooling of network connections, synchronous and asynchronous notification, multithreading, object persistence, and platform independence With EJB, programming remains relatively simple In March 1998 the first specification of Enterprise JavaBeans was published by Sun Microsystems In relatively short order there followed in December 1999 the consolidated version 1.1 In the meantime, the component architecture has accounted for considerable change in the market for application servers, so that today, the large majority of application servers support EJB EJB has also established itself in the growing market for finished application components Today, there exists a large market for everything from specialized solutions to specific problems to complete application frameworks In August 2001 version 2.0 was released The new version offers considerable extensions and improvements, which are considered in this book, now in its second edition The first edition has been greatly revised in order to take account of the following developments: The new message-driven beans (EJB 2.0) offer completely new ways to achieve asynchronous communication and parallel processing of business logic This is made possible by the integration of the Java Message Service (JMS) into tht EJB architecture Local interfaces (EJB 2.0) enable optimization of process-internal communication among Enterprise Beans and between local clients and Enterprise Beans The persistence manager has been introduced (EJB 2.0) With relationships between entity beans it is now possible to model complex data structures The associated query language EJB QL makes it possible to work efficiently with these structures A new chapter (Chapter 8) deals with security issues of EJB The chapter on practical applications (Chapter 9) has been greatly expanded All the examples have been reworked, with emphasis on ease of execution Today, one may safely state that Enterprise JavaBeans has brought the success of the programming language Java to the server, particularly in the areas of portals and integration of older applications, where EJB has become a widely used solution strategy However, information technology is on the verge of yet new changes The trend today is in the direction of freely combinable application components from a variety of producers that are connected via web services EJB 2.0 offers answers to these growing requirements Particularly the new developments in the areas of marketplaces, private stock exchanges, e-procurement, and electronic funds transfer can profit from using EJB as the base architecture This book is directed to the reader who wishes to learn more about Enterprise JavaBeans It discusses the fundamental concepts underlying the EJB architecture Building on this foundation, it explains the technical details and concrete programming of Enterprise Beans Many examples are used to clarify and expand on the concepts introduced The source code for all the examples in this book is available at http://www.apress.com in the "Downloads" section A knowledge of the Java programming language and a basic understanding of distributed programming are prerequisites for reading this book ... Outside the United States, fax +49 622 1 34 522 9 email , or visit http://www.springer.de, For information on translations, please contact Apress directly at 25 60 Ninth Street, Suite 21 9, Berkeley, CA 94 710 ... catalog of Sun Microsystems for the development of enterprise applications Figure 2- 1: The place of Enterprise JavaBeans in Sun's enterprise concept [J2EE-APM, 20 00.] In the figure, J2EE stands for Java 2 Platform, Enterprise Edition, JSP for JavaServer Pages, and EJB for Enterprise JavaBeans. .. York, Inc., 17 5 Fifth Avenue, New York, NY, 10 010 and outside the United States by Springer-Verlag GmbH & Co KG, Tiergartenstr 17 , 6 91 12 Heidelberg, Germany In the United States, phone 1- 800-SPRINGER, email

Ngày đăng: 26/03/2019, 17:06

Từ khóa liên quan

Mục lục

  • Table of Contents

  • BackCover

  • Enterprise JavaBeans 2.1

  • Preface

  • Chapter 1: Introduction

    • First the Bad News

    • The Task

    • The Solution

    • Multiple-User Capability

    • Scalability

    • Availability

    • Connection with the Outside World

    • Integration with Other Applications and Rapid Extensibility

    • Short Development Cycles

    • Configurability

    • Stepwise Migration and Data Storage

    • Summary

    • So Now What?

    • Chapter 2: Fundamentals

      • Java

      • Beans

      • Chapter 3: The Architecture of Enterprise JavaBeans

        • The Server

Tài liệu cùng người dùng

Tài liệu liên quan