Pages

Sunday, March 31, 2013

Spring Data Support

Introduction to Spring Data and Setting Up  
This tutorial serves as an introduction to Spring Data support. We'll also install a lightweight database Apache Derby that we'll use in subsequent tutorials. We'll learn how to start Derby in Network server mode, and how to connect and run SQL queries using the ij client tool.

Tuesday, January 31, 2012

Spring AOP

Introduction to AOP  
This video provides a brief introduction to Aspect Oriented Programming concepts.
Setting Up AOP Dependencies  
In this tutorial, we'll add the additional dependencies required for Spring AOP and we'll configure our project's class path with these dependencies.

Read from JSON file and persist into MySQL

Here is a simple example where we are reading contents of a JSON file and inserting into MySQL database. The code is dynamic so it can handle any number of columns no matter what the column name is. All you have to do is match the database column names with JSON content.

Monday, October 17, 2011

Hibernate Tutorial [Java Brains]

Hibernate is a popular open source object relational mapping tool for Java platform. It provides powerful, ultra-high performance object/relational persistence and query service for Java. Hibernate lets you develop persistent classes following common Java idiom - including association, inheritance, polymorphism, composition and the Java collections framework. The Hibernate Query Language, designed as a "minimal" object-oriented extension to SQL, provides an elegant bridge between the object and relational worlds.

Spring Tutorial[Java Brains]

Spring is a light weight, non-invasive IoC Container and AOP framework. It provides support for JPA, Hibernate, Web services, Schedulers, Ajax, Struts, JSF and many other frameworks. The Spring MVC components can be used to develop MVC based web applications. Spring framework provides many features that makes the development of enterprise application easy.

Wednesday, October 12, 2011

Spring 3 Hello World...

Download Spring 3.1 from here

Once you extract, create a user library named Spring3 and include all the jars from spring-framework-3.1.0.M2\dist directory. Add one more jar(commons-logging.jar) that you can find in spring-framework-3.1.0.M2\projects\spring-build\lib\ivy directory.