What is this book about? Expert One-on-One J2EE Development without EJB shows Java developers and architects how to build robust J2EE applications without having to use Enterprise JavaBeans (EJB). This practical, code-intensive guide provides best practices for using simpler and more effective methods and tools, including JavaServer pages, servlets, and lightweight frameworks. What does this book cover? The book begins by examining the limits of EJB technology - what it does well and not so well. Then the authors guide you through alternatives to EJB that you can use to create higher quality applications faster and at lower cost - both agile methods as well as new classes of tools that have evolved over the past few years. They then dive into the details, showing solutions based on the lightweight framework they pioneered on SourceForge - one of the most innovative open source communities. They demonstrate how to leverage practical techniques and tools, including the popular open source Spring Framework and Hibernate. This book also guides you through productive solutions to core problems, such as transaction management, persistence, remoting, and Web tier design. You will examine how these alternatives affect testing, performance, and scalability, and discover how lightweight architectures can slash time and effort on many projects. What will you learn from this book? Here are some details on what you'll find in this book: How to find the simplest and most maintainable architecture for your application Effective transaction management without EJB How to solve common problems in enterprise software development using AOP and Inversion of Control Web tier design and the place of the Web tier in a well-designed J2EE application Effective data access techniques for J2EE applications with JDBC, Hibernate, and JDO How to leverage open source products Intro -- Expert One-on-One Development without EJB -- About the Authors -- Contents -- Introduction -- Who This Book Is For -- Aims of This Book -- What This Book Covers -- Assumed Knowledge -- Recommended Reading -- What You Need to Use This Book -- The Sample Application -- Conventions -- Errata -- p2p. wrox. com -- Chapter 1: Why " J2EE Without EJB"? -- EJB Under the Spotlight -- What's Left of J2EE? -- J2EE at a Crossroads -- The Way Forward -- Should We Ever Use EJB? -- Summary -- Chapter 2: Goals -- Productivity -- OO -- The Importance of Business Requirements -- The Importance of an Empirical Process -- Summary -- Chapter 3: Architectures -- Architectural Building Blocks -- J2EE Architectures -- J2EE Architectures in Practice -- Deciding Whether an Application Needs an Application Server -- Summary -- Chapter 4: The Simplicity Dividend -- The Cost of Complexity -- Causes of Complexity in J2EE Applications -- How Much Complexity Is too Much Complexity? -- Summary -- Chapter 5: EJB, Five Years On -- Hype and Experience -- An Aging Component Model -- What Do We Really Want from EJB, or Why Stateless Session Beans Are So Popular -- What Don't We Want from EJB? -- Can EJB Reinvent Itself? -- Myths and Fallacies -- Moving Forward -- Summary -- Chapter 6: Lightweight Containers and Inversion of Control -- Lightweight Containers -- Managing Business Objects -- Inversion of Control -- Implications for Coding Style, Testing, and Development Process -- Applying Enterprise Services -- Summary -- Chapter 7: Introducing the Spring Framework -- History and Motivation -- A Layered Application Framework -- The Core Bean Factory -- Resource Setup -- The Spring Application Context -- Summary -- Chapter 8: Declarative Middleware Using AOP Concepts -- AOP 101 -- EJB as a Subset of AOP -- AOP Implementation Strategies -- AOP Implementations -- AOP Design Issues.
|