This week's book giveaway is in the Servlets forum.
We're giving away four copies of Murach's Java Servlets and JSP and have Joel Murach on-line!
See this thread for details.
The moose likes Spring and the fly likes Disadvantages of spring annotations 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 » Frameworks » Spring
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: 362
Hi,

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

Thanks
Saifuddin Merchant
Ranch Hand

Joined: Feb 08, 2009
Posts: 597

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
 
It is sorta covered in the JavaRanch Style Guide.
 
subject: Disadvantages of spring annotations
 
Similar Threads
Mappings vs Annotations
Hibernate and Spring ORM
struts disadvantages
Need Good XDoclet Tutorial For Eclipse
Starting Seam over Spring