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”
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”
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”
In my previous home banking system, I had a typical Client-Server certificate system. In this article I would like to describe that system and how it works.
We’ll use an auto-generated certification for this aim. You’ll never have to use this in production enviroment….never!
Continue reading “Tomcat – Mutual authentication over SSL”
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”
The Annotations don’t come from Ejb but it’s undoubtedly the large use of it in Ejb (since version 3.0) inside the code.
Like hibernate and other framework, annotations are used to enrichment the code keeping separated the annotation from the core code. I like to think it as “Xml in code” because, sometimes, it really can substitute the xml configuration file.
Continue reading “Java Annotation”
In this part I’ll show you how connect a client application to application server to access a remote object distributed.
You’ll see how consuming the object from client and test it.
Continue reading “Remote Accessibility EJB 3.1 – Part 2”