Announcement Announcement Module
No announcement yet.
Spring AOP Proxy Interceptor with strategy. Page Title Module
Move Remove Collapse
Conversation Detail Module
  • Filter
  • Time
  • Show
Clear All
new posts

  • Spring AOP Proxy Interceptor with strategy.

    I got a situation, where i need to design a standardized API to support UDDI v2 and UDDI v3 standard.
    As there is a gap between these two specification, so no opensource accomplish my requirement.

    So my plan is to select two opensource like UDD4J (for UDDIv2) and openUDDI client API (for UDDIv3).
    Rather than making my API directly independent on these API, i would like to use Spring AOP Proxy Interceptor with
    strategy so that my API can switch between these two specification. I don't like to set my strategy interfaces to be
    lump some code bundle.

    Is there any smarter way of achieving this ?

    I have attached the sequence diagram of my design.
    Last edited by [email protected]; Apr 25th, 2008, 07:38 AM.

  • #2
    I suggest you take a look at the spring source code. Especially the PlatformTransactionManager implemetations for the big corporate app servers. (Websphere) there is some logic in there for detereming which one to use. But still the api isn't bound to either one.

    Also the JMS implementation migh be a start as that switches between 2 versions without dependencies.