anders.janmyr.com anders.janmyr.com

Enthusiasm, the Invisible Key to Success

Nothing great was ever achieved without enthusiasm. -- Ralph Waldo Emerson The quote from Emerson is a classic but, even though it is true, we don't put enough effort into encouraging enthusiasm. So, why do I say that enthusiasm is the key to success? There are a two reasons for this. The first is happiness, enthusiastic people are happy. Happiness Happy people are better at creative problem solving. -- Martin Seligman, Authentic...

mkyong.com mkyong.com

Spring 3 and JSR-330 @Inject and @Named example

Since Spring 3.0, Spring supports for the standard JSR 330: Dependency Injection for Java. In Spring 3 application, you can uses standard @Inject instead of Spring’s @Autowired to inject a bean. @Named instead of Spring’s @Component to declare a bean. Those JSR-330 standard annotations are scanned and retrieved the same way as Spring annotations, the integration just happened automatically, as long as the following jar...