Enterprise JavaBeans Component Architecture: Designing and Coding Enterprise Applications

Overview

This book simplifies the creation of well-designed enterprise applications using Sun's newly upgraded Enterprise JavaBeans 2.0 platform. Experienced Java mentors Gail and Paul Anderson use detailed code examples to introduce every key skill involved in creating EJB components, standalone Java clients, and JSP Web-based clients. They also show how to apply today's most powerful EJB design guidelines and patterns -- and how to avoid critical errors in EJB application design.

Using...

See more details below
Available through our Marketplace sellers.
Other sellers (Paperback)
  • All (16) from $1.99   
  • New (1) from $50.00   
  • Used (15) from $1.99   
Close
Sort by
Page 1 of 1
Showing All
Note: Marketplace items are not eligible for any BN.com coupons and promotions
$50.00
Seller since 2014

Feedback rating:

(146)

Condition:

New — never opened or used in original packaging.

Like New — packaging may have been opened. A "Like New" item is suitable to give as a gift.

Very Good — may have minor signs of wear on packaging but item works perfectly and has no damage.

Good — item is in good condition but packaging may have signs of shelf wear/aging or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Acceptable — item is in working order but may show signs of wear such as scratches or torn packaging. All specific defects should be noted in the Comments section associated with each item.

Used — An item that has been opened and may show signs of wear. All specific defects should be noted in the Comments section associated with each item.

Refurbished — A used item that has been renewed or updated and verified to be in proper working condition. Not necessarily completed by the original manufacturer.

New
Brand new.

Ships from: acton, MA

Usually ships in 1-2 business days

  • Standard, 48 States
  • Standard (AK, HI)
Page 1 of 1
Showing All
Close
Sort by
Sending request ...

Overview

This book simplifies the creation of well-designed enterprise applications using Sun's newly upgraded Enterprise JavaBeans 2.0 platform. Experienced Java mentors Gail and Paul Anderson use detailed code examples to introduce every key skill involved in creating EJB components, standalone Java clients, and JSP Web-based clients. They also show how to apply today's most powerful EJB design guidelines and patterns -- and how to avoid critical errors in EJB application design.

Using real-world business components, the authors illustrate these and other key EJB features: stateless and stateful session beans, entity beans with bean-managed persistence, entity beans with container-managed persistence, container-managed relationships, local and remote interfaces, the EJB query language, and message-driven beans. Each chapter includes a "Design Guidelines and Patterns" section that helps developers understand the key tradeoffs associated with their design decisions.

For all Java developers, Web developers, and server side developers who will be working with J2EE technologies such as EJB, servlets, JSP, and JDBC.

Features:

The complete guide to creating effective enterprise applications with Enterprise JavaBeans 2.0!

  • Provides powerful EJB design guidelines and patterns -- and shows how to apply them.
  • Presents extensive real-world examples and code to illustrate key EJB 2.0 features.
  • Covers every type of EJB 2.0 bean: stateless and stateful session beans, entity beans with bean-managed and container-managed persistence, and message-driven beans.
Read More Show Less

Editorial Reviews

From Barnes & Noble
The Barnes & Noble Review
The improvements in Enterprise JavaBeans 2.0 give enterprise developers new opportunities to enhance performance, scalability, and robustness. Moreover, EJB technology has been around long enough now that it's possible to identify best-practice patterns for EJB-based application design and coding. In Enterprise JavaBeans Component Architecture, two leading Java developers and mentors have done just that.

Paul and Gail Anderson cover every form of bean, including stateless and stateful session beans, entity beans with bean-managed persistence, entity beans with container-managed persistence, container-managed relationships, and especially EJB 2.0's new message-driven beans. Through detailed code examples, you'll learn when to use each -- and how to avoid the remaining trouble spots. You'll find coverage of every EJB paradigm: component development, JSP Web-based clients, and standalone Java clients.

No matter how good the technology, software developers will never escape the need to make tradeoffs. This book illuminates those tradeoffs exceptionally well -- especially in the detailed "design guidelines and patterns" sections that conclude nearly every chapter. EJB design and coding practices -- and EJB itself -- have come a long way. This book places today's best EJB techniques close at hand. (Bill Camarda)

Bill Camarda is a consultant, writer, and web/multimedia content developer with nearly 20 years' experience in helping technology companies deploy and market advanced software, computing, and networking products and services. He served for nearly ten years as vice president of a New Jersey┬ľbased marketing company, where he supervised a wide range of graphics and web design projects. His 15 books include Special Edition Using Word 2000 and Upgrading & Fixing Networks For Dummies┬«, Second Edition.

Read More Show Less

Product Details

Table of Contents

Preface
Acknowledgments
Ch. 1 Introduction 2
Ch. 2 Enterprise JavaBeans Overview 12
Ch. 3 Stateless Session Beans 34
Ch. 4 Session Beans with JDBC 84
Ch. 5 Stateful Session Beans 136
Ch. 6 Entity Beans with BMP 198
Ch. 7 Entity Beans with CMP 276
Ch. 8 Message-Driven Beans 368
App. A 415
Index 423
Read More Show Less

Preface

Introduction

Topics in This Chapter

  • The Enterprise JavaBeans? Architecture
  • How This Book Is Organized
  • Our Vision
  • Reader Audience
  • About the Examples
  • Source Code Online

Distributed computing has always had tough problems to solve: security, concurrency, database transactions, data integrity, and performance requirements, to name a few. How does the Java 2 Platform, Enterprise Edition (J2EE) address these issues and what is the role of the Enterprise JavaBeans architecture?

As we describe the Enterprise JavaBeans component architecture, let's define where we hope to go, how we hope to get there, and who we hope to take with us. The software industry has exciting offerings right now and in the near future. The architecture of loosely coupled components promises to offer flexibility, scalability, and portability. There is no better time than now to delve into the world of distributed component computing!

1.1 What Is the Enterprise JavaBeans Architecture?

The Enterprise JavaBeans (EJB) architecture is a specification developed at Sun Microsystems. It describes a component-based architecture that provides for the development and deployment of distributed applications. The specification details the services and requirements of an application server which manages EJB components. It also describes coding requirements that bean developers must follow to create portable applications. The lofty and worthwhile goal is for bean developers to write EJB components once and deploy them on any application server that is compliant with Enterprise JavaBeans technology. Furthermore, the EJBmakes enterprise applications scalable, secure, and transactional.

Enterprise JavaBeans are components that execute within an "EJB container," under the supervision of an application server. There are three main EJB types: session, entity, and message driven. Furthermore, session beans come in two flavors: stateless and stateful. The application server and EJB container provide system services for EJBs, such as data persistence, transactions, security, and resource management. The EJB container maintains pools of database connections, as well as pools of EJB instances that can be assigned to clients as needed.

The Java 2 Platform, Enterprise Edition (J2EE) is an industry-standard suite of Java APIs for enterprise computing from Sun Microsystems. It includes the Enterprise JavaBeans architecture and a set of related packages that make everything work together. For example, a Java client may use the Java Naming and Directory Interface (JNDI) to look up the location of an EJB component. The application server, which provides the system services that make EJBs work, uses Java Remote Method Invocation (RMI) and RMI-IIOP to implement remote calls across a network. Message-driven beans, a new type of EJB, use the Java Message Service (JMS) to provide a bean capable of responding to messages. So, while Enterprise JavaBeans technology provides specific services in the realm of enterprise computing, it is part of a larger picture. This picture is inscribed by J2EE and its many independent packages that provide specific services.

Why should developers care about J2EE and EJB? Because the application server manages an EJB and provides the system services we mentioned, bean developers can concentrate on designing enterprise applications that adhere to specific business requirements. Instead of writing transactional database code, bean developers can pay attention to business rules, business processes, and how to best keep track of business data. Furthermore, as J2EE technology matures, commercial application servers that support this specification will become more numerous. Better still, as these J2EE application server products improve, the same enterprise application written today will perform better tomorrow-unchanged-because the application server will provide a better implementation.

1.2 How This Book Is Organized

The chapters follow a gradual progression from the simplest type of EJB (stateless session with no database access) to a complete enterprise application with eight EJBs, one web component, and multiple application clients. It's best to read the chapters in this order.

Chapter 2 begins with an overview of the Enterprise JavaBeans architecture. This chapter introduces the J2EE components and explains the role of the application server and container in managing EJBs and the system services they use. You should read this material first if you are new to enterprise beans, but even experienced developers may find it necessary to return to this chapter from time to time. By doing this, you discover how everything fits into the big picture.

Chapter 3 introduces the simplest EJB component, the stateless session bean. Our example, Loan EJB, is a component that produces amortization tables and monthly payment amounts for long term fixed-rate loans. We introduce the Value Object Pattern. After giving you an overview of Java Server Pages (JSP), we present our first web component client.

Chapter 4 presents Java Database Connectivity (JDBC) with EJBs. In this example, we use a stateless session bean as a database reader. After introducing the basics of JDBC, we show you how to use an EJB for read-only database access. We implement the Data Access Object (DAO) Pattern and explain how to customize an application with a deployment descriptor. The chapter also presents a Swing application client (complete source listing found in Appendix A) and a JSP web component client.

Chapter 5 presents stateful session beans and contrasts them with stateless session beans. This is the beginning of our online shopping application example. Our stateful session bean, MusicCart EJB, is a virtual shopping cart that holds items selected by customers running a JSP web component client. We also introduce the Value List Iterator Pattern and explain EJB local interfaces.

Chapter 6 introduces entity beans. Although our example uses Bean-Managed Persistence (BMP), the reader should be familiar with the material in this chapter because much of it applies to entity beans in general. We present entity bean finder and home methods. Our example is Customer EJB, an isolated "customer" entity bean with BMP. We use the DAO pattern for the persistence implementation. We introduce the very important Session Facade Pattern and local interfaces with entity beans. We enhance our JSP web component client to perform customer lookup and verification against the persistent datastore.

Chapter 7 continues with entity beans. We now explore Container-Managed Persistence (CMP) and Container-Managed Relationships (CMR). We introduce EJB QL, the J2EE query language required to specify custom finder semantics and select methods. Our example includes three related entity beans: Customer EJB, Order EJB, and LineItem EJB. We describe the expanded role of local interfaces and revisit the Session Facade Pattern. The JSP web component client creates customer orders using the data collected in the stateful session MusicCart EJB presented in Chapter 5. The full application now contains seven EJBs, one web component, and an administrative client to inspect the database.

Chapter 8 introduces message-driven beans, the newest EJB component. We begin with an overview of the Java Message Service (JMS) and explain the Publish-Subscribe and Point-to-Point messaging models. Messaging provides a loosely coupled architecture that can enhance the performance of enterprise applications. Our first example is a Message-Driven Bean (MDB) that provides a response mechanism to a client. Our final example is a Java client which sends a message to a ShipOrder MDB. The ShipOrder MDB interfaces with the previously written Session Facade to request the shipment of certain customer orders.

1.3 Our Vision

Enterprise JavaBeans technology is not an easy topic. Yet we believe EJB to be a significant offering in the enterprise computing arena. For the first time, there exists a specification that allows bean developers to write transactional, multi-user, scalable enterprise applications without being experts in transactions, multithreaded programming, security, or database programming. Pulling the enterprise system services out of the components and standardizing them within an application server has tremendous benefits. The most obvious benefit is that we leave the implementation of these system services to developers who are experts in enterprise issues. As the technology matures, the application servers will get better, and our enterprise applications will in turn run better.

Does this make EJB authoring simplistic? Not hardly. But it makes EJB authoring accessible and portable across multiple platforms. Our vision is to create a text with examples that teach, not just how to create an EJB, but how to design components that work best within the framework of a particular application. We strive to create examples that show you when to use an entity bean, not as an isolated entity bean example, but as a component within a whole, real-world application.

The industry is learning as pockets of developers here and there build on experiences. We learn what works and what doesn't. And from these battles with reality emerge design patterns that address common problems. So, along with our examples, we've also attempted to attack some of these problems. We show you how to apply commonly accepted design patterns to your enterprise designs (and why). Our hope is that you can take our examples and build your own solutions more quickly with an understanding of the design trade-offs that you'll make.

As you wind your way through these examples, we hope your EJB journey will be both exciting and rewarding.

1.4 Reader Audience

We are writing to an audience of Java programmers. If you're reading this book, then you're interested in enterprise computing. A complete enterprise application entails many parts: one or more clients, an application server to manage the EJBs you write and deploy, and a Java Virtual Machine (JVM) to execute Java bytecode. Clients come in many flavors: a command-line Java program, a Java Server Pages (JSP) web component, or even a client that uses Java's Swing GUI are all common types of clients. Some familiarity with database software is helpful. Java Database Connectivity (JDBC) is the Java API for portable database operations. While we don't assume you know JSP or JDBC, we do provide only an overview of these subjects-enough so that you can follow and understand our examples.

We take a similar approach with our overviews of the Java Message Service (JMS) and the EJB Query Language (EJB QL). JMS underlies the implementation of message-driven beans. Bean developers use EJB QL to compose custom queries for CMP entity beans.

1.5 About the Examples

Enterprise JavaBeans Component Architecture is an example-driven book. Our goal is to show you how to design effective EJB components through our examples. Each example teaches you some aspect of EJB design. For instance, our first example (Loan EJB) illustrates the design and use of a stateless session bean (see "The Loan Enterprise Bean" on page 36).

The enterprise computing community has developed a rich set of design patterns. Where possible, we apply accepted design patterns within our examples, explaining the benefit that each pattern brings, as well as presenting its complete implementation. See, for example, the Session Facade Pattern implemented in several examples ("Session Facade Pattern" on page 250 as well as "Session Facade Pattern" on page 329).

We've attempted to bring an element of real-world problem solving to our program examples. At the same time, we avoid solutions that entail layers and layers of abstraction. We hope t developer can recognize the types of enterprise applications our examples represent and use our code as a starting point for further development. For example, we've written a JSP web component client that allows a user to log into a "system" based on a user name and a password. An underlying database stores "customer data," and several enterprise Java beans provide the database lookup and verification steps. There's hardly a customer-based web site that doesn't need a similar capability (see "Web Component Client" on page 262).

Note that besides presenting code for all our EJB examples, we also present complete code for the clients. It may be surprising to see JSP programs in a book about EJB, but our belief is that the examples become more useful when you see how they work within a complete application. Also, an EJB is a component-and components can have all sorts of clients. Thus, we show you a JSP client and a stand-alone Java client with the same EJB.

We've developed and deployed all our examples using the Sun Microsystems Reference Implementation. We run the J2EE server on a Solaris Machine, but have tested our clients on several platforms including Windows and Red Hat Linux.

1.6 Source Code Online

We maintain all the source code in this book at an FTP site.

Read More Show Less

Introduction

Introduction

Topics in This Chapter

  • The Enterprise JavaBeans? Architecture
  • How This Book Is Organized
  • Our Vision
  • Reader Audience
  • About the Examples
  • Source Code Online

Distributed computing has always had tough problems to solve: security, concurrency, database transactions, data integrity, and performance requirements, to name a few. How does the Java 2 Platform, Enterprise Edition (J2EE) address these issues and what is the role of the Enterprise JavaBeans architecture?

As we describe the Enterprise JavaBeans component architecture, let's define where we hope to go, how we hope to get there, and who we hope to take with us. The software industry has exciting offerings right now and in the near future. The architecture of loosely coupled components promises to offer flexibility, scalability, and portability. There is no better time than now to delve into the world of distributed component computing!

1.1 What Is the Enterprise JavaBeans Architecture?

The Enterprise JavaBeans (EJB) architecture is a specification developed at Sun Microsystems. It describes a component-based architecture that provides for the development and deployment of distributed applications. The specification details the services and requirements of an application server which manages EJB components. It also describes coding requirements that bean developers must follow to create portable applications. The lofty and worthwhile goal is for bean developers to write EJB components once and deploy them on any application server that is compliant with Enterprise JavaBeans technology. Furthermore,architecture makes enterprise applications scalable, secure, and transactional.

Enterprise JavaBeans are components that execute within an "EJB container," under the supervision of an application server. There are three main EJB types: session, entity, and message driven. Furthermore, session beans come in two flavors: stateless and stateful. The application server and EJB container provide system services for EJBs, such as data persistence, transactions, security, and resource management. The EJB container maintains pools of database connections, as well as pools of EJB instances that can be assigned to clients as needed.

The Java 2 Platform, Enterprise Edition (J2EE) is an industry-standard suite of Java APIs for enterprise computing from Sun Microsystems. It includes the Enterprise JavaBeans architecture and a set of related packages that make everything work together. For example, a Java client may use the Java Naming and Directory Interface (JNDI) to look up the location of an EJB component. The application server, which provides the system services that make EJBs work, uses Java Remote Method Invocation (RMI) and RMI-IIOP to implement remote calls across a network. Message-driven beans, a new type of EJB, use the Java Message Service (JMS) to provide a bean capable of responding to messages. So, while Enterprise JavaBeans technology provides specific services in the realm of enterprise computing, it is part of a larger picture. This picture is inscribed by J2EE and its many independent packages that provide specific services.

Why should developers care about J2EE and EJB? Because the application server manages an EJB and provides the system services we mentioned, bean developers can concentrate on designing enterprise applications that adhere to specific business requirements. Instead of writing transactional database code, bean developers can pay attention to business rules, business processes, and how to best keep track of business data. Furthermore, as J2EE technology matures, commercial application servers that support this specification will become more numerous. Better still, as these J2EE application server products improve, the same enterprise application written today will perform better tomorrow-unchanged-because the application server will provide a better implementation.

1.2 How This Book Is Organized

The chapters follow a gradual progression from the simplest type of EJB (stateless session with no database access) to a complete enterprise application with eight EJBs, one web component, and multiple application clients. It's best to read the chapters in this order.

Chapter 2 begins with an overview of the Enterprise JavaBeans architecture. This chapter introduces the J2EE components and explains the role of the application server and container in managing EJBs and the system services they use. You should read this material first if you are new to enterprise beans, but even experienced developers may find it necessary to return to this chapter from time to time. By doing this, you discover how everything fits into the big picture.

Chapter 3 introduces the simplest EJB component, the stateless session bean. Our example, Loan EJB, is a component that produces amortization tables and monthly payment amounts for long term fixed-rate loans. We introduce the Value Object Pattern. After giving you an overview Java Server Pages (JSP), we also present our first web component client.

Chapter 4 presents Java Database Connectivity (JDBC) with EJBs. In this example, we use a stateless session bean as a database reader. After introducing the basics of JDBC, we show you how to use an EJB for read-only database access. We implement the Data Access Object (DAO) Pattern and explain how to customize an application with a deployment descriptor. The chapter also presents a Swing application client (complete source listing found in Appendix A) and a JSP web component client.

Chapter 5 presents stateful session beans and contrasts them with stateless session beans. This is the beginning of our online shopping application example. Our stateful session bean, MusicCart EJB, is a virtual shopping cart that holds items selected by customers running a JSP web component client. We also introduce the Value List Iterator Pattern and explain EJB local interfaces.

Chapter 6 introduces entity beans. Although our example uses Bean-Managed Persistence (BMP), the reader should be familiar with the material in this chapter because much of it applies to entity beans in general. We present entity bean finder and home methods. Our example is Customer EJB, an isolated "customer" entity bean with BMP. We use the DAO pattern for the persistence implementation. We introduce the very important Session Facade Pattern and local interfaces with entity beans. We enhance our JSP web component client to perform customer lookup and verification against the persistent datastore.

Chapter 7 continues with entity beans. We now explore Container-Managed Persistence (CMP) and Container-Managed Relationships (CMR). We introduce EJB QL, the J2EE query language required to specify custom finder semantics and select methods. Our example includes three related entity beans: Customer EJB, Order EJB, and LineItem EJB. We describe the expanded role of local interfaces and revisit the Session Facade Pattern. The JSP web component client creates customer orders using the data collected in the stateful session MusicCart EJB presented in Chapter 5. The full application now contains seven EJBs, one web component, and an administrative client to inspect the database.

Chapter 8 introduces message-driven beans, the newest EJB component. We begin with an overview of the Java Message Service (JMS) and explain the Publish-Subscribe and Point-to-Point messaging models. Messaging provides a loosely coupled architecture that can enhance the performance of enterprise applications. Our first example is a Message-Driven Bean (MDB) that provides a response mechanism to a client. Our final example is a Java client which sends a message to a ShipOrder MDB. The ShipOrder MDB interfaces with the previously written Session Facade to request the shipment of certain customer orders.

1.3 Our Vision

Enterprise JavaBeans technology is not an easy topic. Yet we believe EJB to be a significant offering in the enterprise computing arena. For the first time, there exists a specification that allows bean developers to write transactional, multi-user, scalable enterprise applications without being experts in transactions, multithreaded programming, security, or database programming. Pulling the enterprise system services out of the components and standardizing them within an application server has tremendous benefits. The most obvious benefit is that we leave the implementation of these system services to developers who are experts in enterprise issues. As the technology matures, the application servers will get better, and our enterprise applications will in turn run better.

Does this make EJB authoring simplistic? Not hardly. But it makes EJB authoring accessible and portable across multiple platforms. Our vision is to create a text with examples that teach, not just how to create an EJB, but how to design components that work best within the framework of a particular application. We strive to create examples that show you when to use an entity bean, not as an isolated entity bean example, but as a component within a whole, real-world application.

The industry is learning as pockets of developers here and there build on experiences. We learn what works and what doesn't. And from these battles with reality emerge design patterns that address common problems. So, along with our examples, we've also attempted to attack some of these problems. We show you how to apply commonly accepted design patterns to your enterprise designs (and why). Our hope is that you can take our examples and build your own solutions more quickly with an understanding of the design trade-offs that you'll make.

As you wind your way through these examples, we hope your EJB journey will be both exciting and rewarding.

1.4 Reader Audience

We are writing to an audience of Java programmers. If you're reading this book, then you're interested in enterprise computing. A complete enterprise application entails many parts: one or more clients, an application server to manage the EJBs y write and deploy, and a Java Virtual Machine (JVM) to execute Java bytecode. Clients come in many flavors: a command-line Java program, a Java Server Pages (JSP) web component, or even a client that uses Java's Swing GUI are all common types of clients. Some familiarity with database software is helpful. Java Database Connectivity (JDBC) is the Java API for portable database operations. While we don't assume you know JSP or JDBC, we do provide only an overview of these subjects-enough so that you can follow and understand our examples.

We take a similar approach with our overviews of the Java Message Service (JMS) and the EJB Query Language (EJB QL). JMS underlies the implementation of message-driven beans. Bean developers use EJB QL to compose custom queries for CMP entity beans.

1.5 About the Examples

Enterprise JavaBeans Component Architecture is an example-driven book. Our goal is to show you how to design effective EJB components through our examples. Each example teaches you some aspect of EJB design. For instance, our first example (Loan EJB) illustrates the design and use of a stateless session bean (see "The Loan Enterprise Bean" on page 36).

The enterprise computing community has developed a rich set of design patterns. Where possible, we apply accepted design patterns within our examples, explaining the benefit that each pattern brings, as well as presenting its complete implementation. See, for example, the Session Facade Pattern implemented in several examples ("Session Facade Pattern" on page 250 as well as "Session Facade Pattern" on page 329).

We've attempted to bring an element of real-world problem solving to our program examples. At the same time, we avoid solutions that entail layers and layers of abstraction. We hope the developer can recognize the types of enterprise applications our examples represent and use our code as a starting point for further development. For example, we've written a JSP web component client that allows a user to log into a "system" based on a user name and a password. An underlying database stores "customer data," and several enterprise Java beans provide the database lookup and verification steps. There's hardly a customer-based web site that doesn't need a similar capability (see "Web Component Client" on page 262).

Note that besides presenting code for all our EJB examples, we also present complete code for the clients. It may be surprising to see JSP programs in a book about EJB, but our belief is that the examples become more useful when you see how they work within a complete application. Also, an EJB is a component-and components can have all sorts of clients. Thus, we show you a JSP client and a stand-alone Java client with the same EJB.

We've developed and deployed all our examples using the Sun Microsystems Reference Implementation. We run the J2EE server on a Solaris Machine, but have tested our clients on several platforms including Windows and Red Hat Linux.

1.6 Source Code Online

We maintain all the source code in this book at an FTP site. You can reach this site through our web site at http://www.asgteach.com

Read More Show Less

Customer Reviews

Be the first to write a review
( 0 )
Rating Distribution

5 Star

(0)

4 Star

(0)

3 Star

(0)

2 Star

(0)

1 Star

(0)

Your Rating:

Your Name: Create a Pen Name or

Barnes & Noble.com Review Rules

Our reader reviews allow you to share your comments on titles you liked, or didn't, with others. By submitting an online review, you are representing to Barnes & Noble.com that all information contained in your review is original and accurate in all respects, and that the submission of such content by you and the posting of such content by Barnes & Noble.com does not and will not violate the rights of any third party. Please follow the rules below to help ensure that your review can be posted.

Reviews by Our Customers Under the Age of 13

We highly value and respect everyone's opinion concerning the titles we offer. However, we cannot allow persons under the age of 13 to have accounts at BN.com or to post customer reviews. Please see our Terms of Use for more details.

What to exclude from your review:

Please do not write about reviews, commentary, or information posted on the product page. If you see any errors in the information on the product page, please send us an email.

Reviews should not contain any of the following:

  • - HTML tags, profanity, obscenities, vulgarities, or comments that defame anyone
  • - Time-sensitive information such as tour dates, signings, lectures, etc.
  • - Single-word reviews. Other people will read your review to discover why you liked or didn't like the title. Be descriptive.
  • - Comments focusing on the author or that may ruin the ending for others
  • - Phone numbers, addresses, URLs
  • - Pricing and availability information or alternative ordering information
  • - Advertisements or commercial solicitation

Reminder:

  • - By submitting a review, you grant to Barnes & Noble.com and its sublicensees the royalty-free, perpetual, irrevocable right and license to use the review in accordance with the Barnes & Noble.com Terms of Use.
  • - Barnes & Noble.com reserves the right not to post any review -- particularly those that do not follow the terms and conditions of these Rules. Barnes & Noble.com also reserves the right to remove any review at any time without notice.
  • - See Terms of Use for other conditions and disclaimers.
Search for Products You'd Like to Recommend

Recommend other products that relate to your review. Just search for them below and share!

Create a Pen Name

Your Pen Name is your unique identity on BN.com. It will appear on the reviews you write and other website activities. Your Pen Name cannot be edited, changed or deleted once submitted.

 
Your Pen Name can be any combination of alphanumeric characters (plus - and _), and must be at least two characters long.

Continue Anonymously

    If you find inappropriate content, please report it to Barnes & Noble
    Why is this product inappropriate?
    Comments (optional)