RE: Why Standardize BeanShell and Groovy? Football: England 2, US 1
May 27

AOP and Ajax

AOP, Ajax, Java, Tech Add comments

Technorati peaked my interest when it found the same entry regarding AOP and Ajax.

AOP and Caching

I was recently developing a new AJAX based system for picking a drugs from a long potential list. Specifically, there are two drop down lists – picking an element from the first select list makes the page look up the entry from the server.

In itself, this is rather unexciting, but i got a chance to code is in what is IMHO a rather elegant manner:

I used JSON for the javascript-server client communication, and spring+hibernate for all server side interaction. Now, at this point, we are still talking a decent implementation, the part that I really liked was using AOP for method level caching.

2 Responses to “AOP and Ajax”

  1. Alex Says:

    Hello Dion,
    Spring Modules (https://springmodules.dev.java.net/ ) already has support for declarative caching services (via Spring AOP). It supports EHCache, JCS and OSCache.

    Regards,
    Alex.

  2. coolsite Says:

    ziza – cool site

Leave a Reply

Spam is a pain, I am sorry to have to do this to you, but can you answer the question below?

Q: Type in the word 'ajax'