While the Spring Java Config project has stopped (web pages remain enabled only to maintain active links), the results of this project were folded into the main Spring project with Spring 3. Therefore, you should not use Java Config project annotations for new code. instead, standard annotations @Bean and @Configuration (and @Value , etc.).
While you are using Spring 3, you can use @Configuration and @Value in the same project as in the XML configuration. I am doing this and it works great for complex configuration issues. (Basically, I prefer to use the XML configuration, as this provides better support in the SpringSource Tool Suite, but for cases where you need to get the class name to instantiate the bean from the property - hey, it's complicated! Then the XML-config does not cut it.)
source share