View Review Details


Book:   Java Enterprise Best Practices
Subject:   Mistake in Example
Date:   2006-02-14 22:58:31
From:   Niranjan
Rating:  StarStarStarStarStar

In chapter 2 of this book, I have found an example under header Use Business Interfaces, wherein the author has given a business interface Order, a remote interface OrderRemote and a class OrderBean. The mistake is in the signature of the class.


public class OrderBean extends Order, EntityBean ...


How can a class extend more than one interface? I suppose it is a printing mistake. The word extends should be replaced with implements.


Hope in the next edition of the book, the mistake will be fixed by the author/publisher.


See larger cover