I want to run some jobs just after loading the Spring context but I do not know how to do this. Do you have any idea how to do that?
You can write a bean class that implements the org.springframework.context.Lifecycle interface. Add this bean to your context, and the start() method will be invoked by the container once that context has finished starting up.
org.springframework.context.Lifecycle
start()