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
Joined: May 10, 2011
Dec 20, 2011 06:24:30
May I use an @Autowired object from Spring inside my @PostConstruct method?
Joined: Jun 25, 2001
Dec 21, 2011 05:26:12
I think that Autowired is used by Spring to construct beans and (no surprise here!) automatically wire them together.
backing bean, however, is constructed by JSF, not by Spring. The JSF equivalent of @Autowired is @ManagedProperty.
The main functional difference between the 2 annotations is that @ManagedProperty accepts an EL expression instead of simply deducing the source property's bean name.
Customer surveys are for companies who didn't pay proper attention to begin with.
With a little knowledge, a
cast iron skillet
is non-stick and lasts a lifetime.
@PostConstruct == ejbPostCreate( ) ?
ejbPostCreate() in EJB 2.1
Need to call a method to populate my list, then have that list bound to rich tree
Many @PostConstruct methods?
suppourt for Annotation Programming . In servlets
All times are in JavaRanch time: GMT-6 in summer, GMT-7 in winter
| Powered by
Copyright © 1998-2013