Results 1 to 3 of 3

Thread: <aop:config> and aspects under Java 1.3

  1. #1
    Join Date
    Apr 2006
    Location
    Montreal, Canada
    Posts
    178

    Default <aop:config> and aspects under Java 1.3

    Hi all,

    I'm trying to get the Spring 2.0 <tx:advice> and <aop:config> tags working. I'm developing and deploying under Java 1.3 - and this cannot be changed.

    How should I go about doing this? I've read the reference documentation but it only mentions Java 5 load-time weaving. Maybe they are other options?

    Thanks

  2. #2
    Join Date
    Aug 2004
    Location
    San Mateo, CA
    Posts
    1,265

    Default

    This should work if you use the XML configuration style. You do not need AspectJ load time weaving, just Spring's own AOP support.

    You cannot use @AspectJ annotation style, of course, as this requires Java 5, but you can achieve the same result with your pointcut expressions in XML.
    Rod Johnson - GM, SpringSource Division, VMware
    http://www.springsource.com
    Spring From the Source

  3. #3
    Join Date
    Apr 2006
    Location
    Montreal, Canada
    Posts
    178

    Default

    Thanks Rod. Turns out there was an opportunity to switch to Java 5 so using these features will be easy

Posting Permissions

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