Manning Logo
Home | Ordering Info | Shopping Cart | Manage My Account | Login
Attention customers: online shopping is now available exclusively through our main website: http://www.manning.com. Thank you.
EJB Cookbook

Inside the book

Back Cover Sample Chapters Table of Contents Index Preface Book Reviews Source Code Author Online

Manning Blog

Why small is sweet?

Author Blogs

Dave Crane more...

Author Calendar

Upcoming Events

Catalog

Java .NET Perl XML All by Subject All by Title

About...

Manning Contact Us Ordering FAQs ebooks Covers Sandbox Forums Distributors Manning Early Access Program (MEAP) Affiliate Program Academia/Publicity User Group Program Press Releases Jobs

Manning Publications Co.
209 Bruce Park Avenue
Greenwich, CT 06830

EJB Cookbook
Benjamin G. Sullins and Mark B. Whipple

2003 | 352 pages
ISBN: 1930110944
$21.50 PDF ebook  
$42.95 Softbound print book  

Preface

“I did toy with the idea of doing a cookbook.… I think a lot of people who hate literature but love fried eggs would buy it if the price was right.”

—Groucho Marx

As the Java 2 Platform Enterprise Edition (J2EE) gains acceptance among increasing numbers of developers, the resources, tutorials, books, and experts covering Enterprise JavaBeans (EJBs) also grows in numbers. A search at a popular online bookstore using the phrase “Enterprise JavaBeans” turns up 24 books, and these results include only those with the phrase in the title. Using the Google Internet search engine (www.google.com) with the same phrase results in approximately 744 (Google actually listed a potential for 123,000 pages, but cuts off the result after 744 for relevancy.) pages with a strong relation to EJBs. While the multitude of material is certainly a wealth of knowledge, explanation, and discussion, it often forces EJB developers into lengthy searches for quick solutions. How many times have you needed to answer a specific question and had to search through many pages in a book—or a few books—to find your answer?

Having experienced this problem firsthand, we decided to do something about it. Our goal with this book is to provide an essential problem-solving resource. Just as cookbooks for meals contain step-by-step directions for creating various dishes, this book provides recipes for solving problems involving Enterprise JavaBeans. Here you will find recipes for many types of problems, ranging from simple, everyday quick-reference issues to complex design challenges using EJB patterns.

This book is intended for developers with at least some EJB development experience. With that in mind, you will not find recipes describing the basic construction rules of session and entity beans. We assume that you understand the concepts of enterprise development and the basics of EJB programming. The format used here specifically references problems and issues, avoiding the use of EJB keywords (a look through the table of contents will verify this). For example, rather than looking up “design patterns,” look up the actual problem you are trying to solve (for example, “improving network performance”). To maximize the usefulness of the book, the index includes both EJB keywords and problem-area keywords.

The recipes we’ve concocted are self-contained, referencing other recipes that are related to the solution. We wanted to create a book that you could pick up and start reading at any point. The recipes are short and concise so that you can read them on the subway, in your favorite coffee house, or whenever you find yourself with five minutes to spare.

A useful companion to this book is Bitter EJB, also from Manning, which details many antipatterns specific to EJB development. It offers a practical approach to design: how to become a better programmer by studying problems and solutions to the most important problems surrounding the technology.

Now that we have described and set this book up for you, we invite you to partake in our buffet of solutions. You may pick and choose from our nine chapters, or sample them all. Enjoy!

DESCRIPTION

The EJB Cookbook is a resource for the practicing EJB developer. It is a systematic collection of EJB 'recipes'. Each recipe describes a practical problem and its background; it then shows the code that
solves it, and ends with a detailed discussion.

This unique book is written for developers who want quick, clean, solutions to frequent problems--or simply EJB development ideas. Easy to find recipes range from the common to the advanced. How do you secure a message-driven bean? How do you generate EJB code? How can you improve your entity bean persistence layer?

What's inside:

  • EJB 2.1 features
  • CMP and BMP bean problems
  • EJB web service endpoints
  • Transactions and security
  • Solving EJB client problems
  • Testing EJB applications
  • Exception handling best practices
  • Messaging solutions
  • EJB code generation and logging

ABOUT THE AUTHORS...

Ben Sullins is a senior Java developer with extensive experience working with EJB. Mark Whipple has fifteen years' experience and a strong background in networked applications. He has been a member of several standards bodies, including the IETF. Ben and Mark are coauthors of Manning's JMX in Action. They both live in Dallas, Texas.

Home | Catalog | Privacy Policy | About Manning

© 2003-2006 Manning Publications Co.