Spring Mobile is a server side framework developed by the same team who was involved in the development of other Spring modules ( Spring Core , Spring MVC etc). Spring Mobile is also an extension over the conventional Spring MVC to facilitate the development of mobile web applications.
Spring Mobile tells you on the server side about the request source and then serve the content on the basis of incoming request source type (mobile/tablet/desktop).
At the core Spring Mobile presents following 3 features.
1. Device Resolver: Device resolver main responsibility is to find the source of the request whether it’s a mobile / tablet /desktop by analyzing the header information present in HTTP Continue reading Spring Mobile Framework (Springsource) – 1
<context:annotation-config> and <context:component-scan> are two of the most basic concepts available in the Spring Core introduced in Spring 3 that every Spring user should understand.It is important that to understand the usage of each of them and how they are different to each other.
annotation-config : Annotation config main job is to activate all the annotations that are present in java beans and those are already registered either by defining in your application context file or being registered while component scanning. Important point is they need to be registered.
Continue reading annotation-config vs component-scan – Spring Core
This post is in continuation of my previous post i.e Quartz Scheduler Framework and Integration with Spring – Quartz Spring Integration. If you had missed out that post , you can read it here.
In this post we are going to see how Quartz Spring Integration , how to develop quartz job , quartz trigger , quartz scheduler and their configurations.
I had already written that post on my other blog , you can read that post here.
Drop me a comment in case of any issue in development of any component and integration. Continue reading Quartz Spring Integration Example
Share and Enjoy
In my previous post as we had already discussed basics of Quartz Scheduler Framework ,what are the main components of it and why Quartz Scheduler Framework is so popular across the industry for the jobs where scheduling comes into picture. If you have missed that post you can read it here.
In this post we are going to do our hands dirty as we will do some basic scheduling programming and then we will see how we can integrate quartz and spring. So, first let’s take a look at the perquisites . Here , for this example I am going to use Maven for creating a module and to take care of its dependencies.
Assumption : You are familiar with Spring framework and specifically with dependency injections , so that you can understand each and every step in Quartz and Spring Integration.
1. Dependencies : Below is the quartz maven coordinates that you have to add in your pom file , so that we can integrate Quartz and Spring. For our example only 1st dependency is required , but other will also come into play when we will write some complex programs.
Now we will write our first component for the framework i.e Job (task that you want to get executed at a particular time interval with a specific frequency ).
2. Quartz Job :
A Job can be any class that will extend Continue reading Quartz Scheduler Framework in Java and Integration With Spring Example
Share and Enjoy
These days almost each and every type of applications from standalone to enterprise level have jobs, that it has to execute at a particular time or want to repeat the same job at a particular interval. So, if your application is running on Java Stack then we have a very good robust and open source framework to meet our scheduling needs.
Here I am talking about the Quartz scheduler framework which has been completely written in java , fault tolerant and can integrate very easily with any framework. Before we start looking into the Quartz integration with Spring , first try to look at what are important components in Quartz Scheduler Framework. Continue reading Quartz Scheduler Framework in Java API and Integration With Spring
Share and Enjoy