A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB Certification (SCBCD/OCPJBCD)
Joined: Jul 29, 2008
Jul 31, 2008 13:46:00
I'm using "Enterprise JavaBeans 3.0" (O'reilly). It's a good study boook, but I think there are some mistakes on annotation's package name.
We can found :
Owing to me, only the following annotations are correct :
Is it right?
Joined: Mar 19, 2004
Aug 20, 2008 14:57:00
Google says you are right.
It also mentions some versions of
use the non-standard packages (but it is reported as JBoss bug).
"Enterprise JavaBeans 3.0" was written by the guy working on JBoss and all the code examples are given using JBoss container, so this is probably the reason you could find non-standard packages there.
SCJP 1.4 - 88%
SCBCD 5.0 - 90%
SCEA - 81%
Joined: Mar 22, 2007
Aug 20, 2008 16:05:00
It is just a misprint.
Take a look at the book's errata:
(it is under unconfirmed).
[ August 20, 2008: Message edited by: Sergio Tridente ]
SCJP 1.4 (88%) - SCJP 5.0 Upgrade (93%) - SCWCD 1.4 (97%) - SCBCD 5.0 (98%)
I agree. Here's the link:
subject: Annotation packaging
Difference between javax.ejb.EJB and javax..annotation.EJB?
JSF EJB project problem
To map backing bean from a selected drop-down value
<h:commandLink> rendered not updating on logout
DataTable datas are not actual
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013