aspose file tools*
The moose likes EJB Certification (SCBCD/OCPJBCD) and the fly likes Book Head First EJB Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Spring in Action this week in the Spring forum!
JavaRanch » Java Forums » Certification » EJB Certification (SCBCD/OCPJBCD)
Bookmark "Book Head First EJB" Watch "Book Head First EJB" New topic
Author

Book Head First EJB

Karin Paola Illuminate
Ranch Hand

Joined: Oct 18, 2002
Posts: 109
The book says (on page 403)
Using an optional WHERE clause

In the bean class
public abstract Collection ejbSelectGetAllMovies () throws FinderException;

In the deployment descriptor
SELECT OBJECT (m) FROM MovieSchema m WHERE m.genre = ?1


The errata says

(403) Method header;
Looks like the header got copied from the previous page. The header should be:

public abstract Collection findByGenre(String genre) throws FinderException;


Should it be In the home interface instead of In the bean class ?
[ December 22, 2004: Message edited by: Karin Paola Illuminate ]

I not only use all the brains that I have, but all that I can borrow. [Laurence J. Peter]
Valentin Crettaz
Gold Digger
Sheriff

Joined: Aug 26, 2001
Posts: 7610
Without having the book open in front of me, it is hard to answer that since the context might provide important information that would help answer this question. As soon as I get hold of my copy, I will answer that question


SCJP 5, SCJD, SCBCD, SCWCD, SCDJWS, IBM XML
[Blog] [Blogroll] [My Reviews] My Linked In
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: Book Head First EJB