Targeted at Java and Java EE developers both with and without prior Enterprise JavaBeans (EJB) experience, Beginning EJB 3, Java EE 7 Edition will guide you in building enterprise software based on the latest cross-platform industry standards. Learn how to use the EJB 3 API to develop powerful, standards-based backend business logic for creating the complex enterprise applications that run today's transactions and more. With over 20 years of combined EJB experience, the authors offer many practical insights into designing and coding EJB components in combination with related Java EE technologies. EJB has made huge advances in the ease of building enterprise, server-side Java components and business logic development, and has drastically simplified programming models and design patterns. Use this book to harness that power and take your enterprise Java development to the next level.
Dear Reader, When we conceived the original edition of this book in 2006, the lightweight EJB 3 API was still in its early stages, yet it was clear to us that the EJB specification designers had at last achieved the right blend of power and usability. Coming from the EJB 2.x world, it was like a breath of fresh air, and reminded us of how it felt to discover Java technology after years of programming C and C++. Th e EJB component, redefined as an ordinary Java class whose metadata could be declared through Java annotations, and enhanced by the introduction of generics, container injection, and interceptors, became the basis for a much more nimble development model: one that gained elegance through simplicity. Enter the new Java Persistence API (JPA), where entities, too, were recast as lightweight Java classes and O/R mapping metadata could be specified through spec-defined annotations, and we suddenly had a comprehensive enterprise component model comprising the latest technologies, all rolled into a worldwide standard. So you can see what got our buzz going. Fast forward to now, and the release of the EJB 3.2 and JPA 2.1 specs. Spanning over a thousand pages combined, these specifications have matured to address a number of new areas and improve upon their ease of use. Once again we saw an opportunity to translate this latest material into an approachable format that reads well and makes liberal use of examples that you can build, execute, and further explore on your own machine. In this second edition, accompanying the release of Java EE 7, we introduce the EJB 3.2 and JPA 2.1 APIs along with key features in the CDI and JAX-RS specifications through a series of digestible chapters, allowing you to become comfortable with these technologies one topic at a time. Within each chapter we provide executable source code examples that demonstrate how each feature works, and how the pieces fi t together. So you don't have to swallow the whole enchilada in one humongous gulp. In the spirit of our Apress Wines Online application, which we use for numerous examples throughout the book, we want you to truly savor and appreciate the richness of the Java EE 7 component ecosystem. For each technology we provide straightforward examples, but we also strive to explain when and where to use its features and what their strengths and weakness are, and offer insights into best usage practices. Following these topical explorations, we explain how to integrate EJB and related components into a comprehensive Java EE 7 application, and then turn the spotlight on transaction management, performance analysis, deployment, testing in an Embeddable EJB Container, and how to build solid EJB clients.Our job is to transform you from EJB novice to expert, and we want you to enjoy the ride! Jonathan Wetherbee, Chirag Rathod, Raghu Kodali, and Peter Zadrozny Who should read this book? This book is targeted at enterprise software developers who are experienced with Java, have built single tier or multitier applications using earlier versions of EJB or related technologies, and are looking to build enterprise software based on the latest cross-platform industry standards. As authors of an introductory-level text, we have two main goals:
Jon Wetherbee is a consulting engineer and tech lead for EJB development tools on Oracle's JDeveloper IDE. He has over 20 years of experience in development at Oracle, working on a variety of O/R mapping tools and overseeing Oracle's core EJB toolset since EJB 1.1. Most recently, Jon has been responsible for the design and development of EJB and JPA data binding solutions for ADF, Oracle's application development framework.
Prior to joining the JDeveloper project, Jon was a product manager for Oracle's CASE (computer aided software engineering) tools and worked on early object-relational frameworks. He received a patent in 1999 for his work on integrating relational databases in an object-oriented environment. Jon is coauthor of the first edition of this book, Beginning EJB 3 Application Development: From Novice to Professional (Apress, 2006), and has published articles online in Java Developer's Journal and Oracle Technical Network. He enjoys speaking, and has given talks at conferences and developer groups, including Oracle iDevelop (Bangalore, Taipei), The Server Side Java Symposium (Barcelona), and various Java user groups. Jon holds a Bachelor of Science degree in cognitive science from Brown University. Chirag Rathod is a principal engineer responsible for developing and supporting design time features for EJB and CDI in Oracle's JDeveloper IDE. He has over 14 years of experience in developing development tools. Prior to joining the JDeveloper IDE team, he helped develop Oracle's fl agship products like Oracle SQL*Plus, Oracle Forms, and Oracle Designer. Chirag received a Bachelor of Engineering degree in computer science from Th e Faculty of Technology and Engineering, Maharaja Sayajirao University.
Les informations fournies dans la section « A propos du livre » peuvent faire référence à une autre édition de ce titre.