The Spring Framework allows you to configure “scheduled task” in different ways. In this article I’d like to show you a scheduled task using Quartz Scheduler inside Spring.
That is quite easy to configure and powerful in these situations when you need to have some scheduled activities.
Continue reading “Spring execution scheduled task”
This week I’ve had to use the cookies inside a RESTful service made by Jersey.
That’s not very complicated, you must only remember the execution flow at jersey request to make a good work. In this post I’d like to describe this flow sending a cookie in every response and read it again.
Continue reading “5 minutes with – Cookie in Jersey”
In the previous article we’ve seen how build a Jax Web Services with spring. Now it’s time to see how consume it always with spring.
Obviously we can consume every types of web services with this technology, not only the spring web services.
Continue reading “Spring Jax-Ws. Build and consume Web Services – part 2”
Following the official guide, at the chapter 19 we’ll find the Spring support about web service (honestly, could it miss?).
In this article I’ll describe the use of it with Jax-WS standard (introduced in Java EE 5 and Java 6) and we’ll see how build and consume the web service.
Continue reading “Spring Jax-Ws. Build and consume Web Services – part 1”
Another very useful feature of spring framework is the support for remote calling. In distributed solutions (typical client-server) this is a good solution and quite easy to achieve.
In this article I’d like to show you two differents systems of remote calling. These are Remote Method Invocation (RMI) and Spring’s HTTP invoker.
Continue reading “Remoting Spring – RMI and Http”
In this article I would like to introduce a Jmx technology and a practical example that we can use in our applications.
I think Jmx is a good technology, based on MBean, but it’s not so known as it should be. The consequence is that it’s not so used.
Continue reading “Using Jmx in Java Web Application”
Digest authentication is one of authentication type available on web server. This is very similar with Basic authentication and, the main difference, is using a encoded password. This password is stored into Realm implementation and this allow you to store encoded text password on your web server.
In this article I’ll show you the digest authentication implementation on tomcat 7.
Continue reading “Tomcat – Digest Authentication”