5 minutes with – Spring AOP

Another interesting feature in Spring Framework is the Aspect Oriented Programming (AOP). In my opinion this feature is very useful for adding some behaviours into the code without edit it inside, for example,  the method’s implementation.

In this article I’ll show you how integrate this feature inside a Spring Web Application.

Continue reading “5 minutes with – Spring AOP”

Advertisements

Mule – Quartz active/passive configuration

Mule can work in multiple instances as single unit in the same flow. This allow a large scalable system and avoid the single point of failure of the system.

In one word we are speaking about the cluster. In this article I’d like to show you how configure a active-passive cluster with quartz connector.

Continue reading “Mule – Quartz active/passive configuration”

Glassfish – Basic authentication

A good and simple way to apply an authentication system to our web application is to use a basic role authentication.

This could be quickly configurated inside an application server and every web app gets the protection. In this article I’ll describe the use of it inside glassfish using a servlet which return the orders only for authenticated users.

Continue reading “Glassfish – Basic authentication”

CDI – Injecting Beans

In this article I would like to introduce CDI. As you can find at official oracle web site “Contexts and Dependency Injection (CDI) for the Java EE platform is one of several Java EE 6 features that help to knit together the web tier and the transactional tier of the Java EE platform“.

Yes, that’s it! In my opinion this technology is as easy as poweful to use.

Continue reading “CDI – Injecting Beans”