রবিবার, ৩০ আগস্ট, ২০১৫

Spring Data JPA

http://www.petrikainulainen.net/programming/spring-framework/spring-data-jpa-tutorial-creating-database-queries-from-method-names/

সোমবার, ২ মার্চ, ২০১৫

Difference between loading context via DispatcherServlet and ContextLoaderListener



In Spring Web Applications, there are two types of container.

  1. Application Context : Initialized by contextloaderlistener or ContextLoaderServlet and defined in web.xml. middle-tier transactional services, data access objects, or other objects that you might want to use (and re-use) across the application. There will be one application context per application.
  2. Web Application Context: child context of the application context. web- related components such as controllers and view resolvers.

    source: http://syntx.io/difference-between-loading-context-via-dispatcherservlet-and-contextloaderlistener/