Results 1 to 5 of 5

Thread: Any plans to provide the annotations support?

  1. #1
    Join Date
    Mar 2005
    Posts
    3

    Default Any plans to provide the annotations support?

    I'm new to spring and I'm planning on using it with hibernate 3 in my next project. It would be nice to be able to use the annotations for spring with jdk 1.5 instead of editing the application context xml by hand. Any plans on implementing this in the feature? Any alternatives? I tried XDoclet but it doesn't support 1.5 syntax yet.

  2. #2
    Join Date
    Aug 2004
    Location
    Melbourne, Australia
    Posts
    1,104

    Default

    'Pro Spring' says J2SE 5.0 annotation support is likely to be released in 1.2.

  3. #3
    Join Date
    Aug 2004
    Location
    Southampton, UK
    Posts
    826

    Default

    Igor,

    JDK 5.0 annotations are in CVS now and should be released with Spring 1.2.

    Rob
    Rob Harrop
    Lead Engineer, dm Server
    SpringSource
    http://www.springsource.com

    Co-Author - Pro Spring

  4. #4
    Join Date
    Mar 2005
    Posts
    3

    Default

    Rob:

    Thanks, this is great! I'll get the latest 1.2 dev build to check it out. Any hints as to where the documentation for this new functionality might be (if any)?

    Igor

  5. #5
    Join Date
    Aug 2004
    Location
    Toronto, Canada
    Posts
    736

    Default

    First of all, the Hibernate 3 annotation support has nothing to do with Spring's annotation support. So if you want to use the former it doesn't depend on Spring supporting any sort of annotations.

    Now if you are interested in Spring's Annotations, the current CVS codebase, to be released as 1.2RC1 in a day or two, provides Annotations for transaction demarcation, and for exposing beans via JMX. The only real documentation currently is JavaDocs, and the unit tests which test the functionality. More docs (in the manual) will come by 1.2 final. However, note that using the transaction annotations is actually very similar in approach to how the existing commons-attributes based transaction annotations/attributes works. Reading that part of the manual should help you get going with the JDK 1.5 Annotations stuff a bit more easily, for transactions.
    Colin Sampaleanu
    SpringSource - http://www.springsource.com

Similar Threads

  1. Replies: 7
    Last Post: Feb 1st, 2007, 01:47 AM
  2. Any plans for SDO support (Service Data Objects)
    By gt1601 in forum Architecture
    Replies: 1
    Last Post: Oct 3rd, 2005, 12:09 PM
  3. Replies: 2
    Last Post: Sep 7th, 2005, 07:10 AM
  4. Replies: 2
    Last Post: Jul 13th, 2005, 06:08 PM
  5. DAO Support without EJB Support
    By aryjr in forum EJB
    Replies: 1
    Last Post: Jul 11th, 2005, 10:40 AM

Posting Permissions

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