Posts

Showing posts from February, 2008

What is Thin client ---in J2EE

In J2EE thin client is a client who do not query databases, execute large functions just like JSP, heavy part of the system will execute using Servlet

Aspect-Oriented Programming

What is AOP ????? Aspect-Oriented Programming (AOP) complements OO programming by allowing the developer to dynamically modify the static OO model to create a system that can grow to meet new requirements. …. Just as objects in the real world can change their states during their lifecycles, an application can adopt new characteristics as it develops. Using an AOP language (such as AspectJ) or libraries (such as Spring), programmers can code this functionality once and then define where to weave it into existing Ex: public class First{ public void method(String s){ Logger.sign_in(); // Business logic ---> AAA Logger.sign_out(); } } public class Second{ public void function(Object o){ Logger.sign_in(); // Business logic ---> BBB Logger.sign_out(); } } Here we can see that logging functi