IntelliJ Java IDE
The moose likes Spring and the fly likes Disadvantages of spring annotations Big Moose Saloon
  Search | Java FAQ | Recent Topics
Register / Login
JavaRanch » Java Forums » Application Frameworks » Spring
Reply Bookmark "Disadvantages of spring annotations" Watch "Disadvantages of spring annotations" New topic
Author

Disadvantages of spring annotations

Mary Cole
Ranch Hand

Joined: Dec 02, 2000
Posts: 361
Hi,

can somebody outline the disadvantages of spring annotations compared to declaring it in the XML file

Thanks
Sam Mercs
Ranch Hand

Joined: Feb 08, 2009
Posts: 539

These aren't too many disadvantages of annotations over XML and vice versa.

Usually selecting one over the other is just a matter of what the team is comfortable with.

There are a few limitation to what annotation and configuration classes can do - for which you might have fall back on XML.

Google might give a few more details - spring annotations vs xml


Cheers - Sam.
Twisters - The new age Java Quiz || My Blog
 
 
subject: Disadvantages of spring annotations
 
Threads others viewed
struts disadvantages
Hibernate and Spring ORM
Need Good XDoclet Tutorial For Eclipse
Mappings vs Annotations
Starting Seam over Spring
WebSphere development made easy
without the weight of IBM tools
http://www.myeclipseide.com