Tallan's Technology Blog

Tallan's Top Technologists Share Their Thoughts on Today's Technology Challenges

Posts Tagged "Spring.net"

Cache as a cross-cutting concern

I have been recently asked to look into the cache feature within Springmodule in Java community.
Since my current project utilizes spring and aop, I thought it would be a great idea to utilize AOP to cache data.
I actually wrote a prototype file and it was a very rudimentary yet working prototype.  However, I soon realized that Springmodules already created such feature, and it toally is a great feature to use.
Using simple AOP concept, you intercept the method call and using method parameters as HashKeyGenerator input values, the Springmodules’s cache simply get/put data from/into cache storage.  Currently, I configured it to using OSCache for its native support by Springmodule Cache Provider.
https://springmodules.dev.java.net/docs/reference/0.8/html/cache.html
I believe as the frameworks such as Spring evolves, developers can truly focus on their logic and development without worries of logging, security, cache, and any other cross-cutting concerns.  AOP is…

Cache as a cross-cutting concern

I have been recently asked to look into the cache feature within Springmodule in Java community.
Since my current project utilizes spring and aop, I thought it would be a great idea to utilize AOP to cache data.
I actually wrote a prototype file and it was a very rudimentary yet working prototype. However, I soon realized that Springmodules already created such feature, and it toally is a great feature to use.
Using simple AOP concept, you intercept the method call and using method parameters as HashKeyGenerator input values, the Springmodules’s cache simply get/put data from/into cache storage. Currently, I configured it to using OSCache for its native support by Springmodule Cache Provider.
https://springmodules.dev.java.net/docs/reference/0.8/html/cache.html
I believe as the frameworks such as Spring evolves, developers can truly focus on their logic and development without worries of logging, security, cache, and any other cross-cutting concerns. AOP is…

Hartford Code Camp – Spring.NET Presentation Material

Lee Rodgers

This Saturday was the first Hartford Code Camp. I presented on SpringFramework.NET specifically regarding Inversion of Control (IOC).
The presentation is in PowerPoint and discusses some of the basic concepts that need to be understood prior to understanding Spring.NET.
The source code is what was demonstrated during the presentation. It contains two solution folders.

TightlyCoupledClasses – Example of normal C# development where classes are tightly coupled together with manual instantiation.
LooselyCoupledClasses – Similar code loosely coupled using Spring.NET IOC. Includes various NUnit tests utilizing mock objects showing the ability to isolate tests with manual injection of mock objects.

PowerPoint Slides
Source Code
If you have any question feel free to post questions or comments here or email me directly at lrodgers@tallan.com.

\\\