wood burning stoves 2.0*
The moose likes Blatant Advertising and the fly likes How to Combine both XML and Annotations in a Spring Application Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Murach's Java Servlets and JSP this week in the Servlets forum!
JavaRanch » Java Forums » Other » Blatant Advertising
Bookmark "How to Combine both XML and Annotations in a Spring Application" Watch "How to Combine both XML and Annotations in a Spring Application" New topic
Author

How to Combine both XML and Annotations in a Spring Application

Cameron Wallace McKenzie
author and cow tipper
Saloon Keeper

Joined: Aug 26, 2006
Posts: 4968
    
    1

Just showing you how to combine both XML & annotation based configurations in your Spring applications. Just @ImportResource. It's not just annotation vs XML. You don't have to rid yourself completely of XML in your applications.

It's a nice little article over at TheServerSide.

http://goo.gl/66CH

-Cameron McKenzie
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: How to Combine both XML and Annotations in a Spring Application
 
Similar Threads
spring in action - annotations
Spring 3 security?
AOP Not working with Spring 3 MVC application
Spring-like wiring in Java
Spring in Action - Alternatives