View Poll Results: what would you prefer for your Spring configuration?

Voters
9. You may not vote on this poll
  • XML based - external configuration files

    3 33.33%
  • Annotations - source code level configuration

    0 0%
  • MIX (Usage: maybe XML > Annotations or Annotations > XML)

    6 66.67%
Results 1 to 6 of 6

Thread: XML based VS Anotations based Configuration OR MIX?

Threaded View

  1. #1
    Join Date
    Oct 2008
    Posts
    286

    Default XML based VS Anotations based Configuration OR MIX?

    what would you prefer for your configuration?
    transactional best for annotations...?
    xml based best because of visibility and gives the outline...?
    how about the pros & cons...? metadata? time compiling? and other aspects that may help us to develop vast features Spring Applications...

    XML based

    - external configuration files

    OR

    Annotations
    - source code level configuration

    OR

    MIX (Usage: maybe XML > Annotations or Annotations > XML)
    - somewhere in the configuration that best for xml and annotations

    my opinion is the two configuration files are different in a way that the annotations are compile time and xml based is run time... but main goals are the same...
    Last edited by eros; Dec 11th, 2009 at 03:17 AM.
    Eros

    Environment:
    JSP 2.0
    Dojo 1.4.1
    Ext JS 3.1 (testing)
    Spring MVC 2.5.6.SEC01 (planning to Spring 3 using STS)
    STS
    SWF 2.0.9.RELEASE
    Tiles 2.0.5
    iBatis: ibatis-sqlmap-2.3.4.726

Tags for this Thread

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •