The private method is not going to be invoked from outside the class. Therefore Spring AOP cannot help you, due to its proxy-based approach. You will need AspectJ to advise private methods.
I tried doing caching using AspectJ. I am new to AOP itself, and so I encountering a lot of errors.
I have attached my spring-application xml and ehcache xml file here. Also attached are the two Java files. Can you please look into these and let me know where I am going wrong?
You are still using Spring AOP, although based on the AspectJ support. When Andreas said you need to use AspectJ he meant you need AspectJ loadtime or compile time weaving.