Manning's Countdown to 2014
. Use discount code crdotd14 all month for 50% off every deal.
A friendly place for programming greenhorns!
Big Moose Saloon
Register / Login
EJB and other Java EE Technologies
Joined: May 27, 2008
Jun 10, 2008 18:49:00
What does "using @Resource at the class level mean"?
That is, when this annotation is used as a @TARGET-field, it says that to look up a resource in a helper class, we have to use JNDI.
Also, what is a helper class? And, when @Resource is used for setter or getter methods, is the actual resource we want to inject obtained through the arguments/return-types?
This is described in EJB3 in Action on page 150.
Also, what does the @Target annotation do? What does:
Joined: Jun 26, 2008
Jun 26, 2008 05:49:00
rocket mass heater
subject: Annotation doubt
EJB 3 in Action : @Resource Annotation doubt
Using jcip annotation
@Autowired, @Qualifier and @Resource annotation
The place where we define Annotations inside the EJB Bean class
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013