Monday , October 23 2017

Recent Posts

December, 2015

  • 27 December

    Calling Stored Procedures in Hibernate

    In this tutorial, we are going to access the MySql stored procedures in hibernate application. To do so, we need to create a procedure in Mysql. Here is the code for creating the procedure in MySql. Creating Procedure in MySql : Now, we are going to call the above procedure …

    Read More »
  • 27 December

    @Formula Annotation in Hibernate Example

    In hibernate, we have number of annotations. Each annotation has its own importance to perform an operation. Like wise @Formula is a hibernate annotation, which is used on top of the property, to calculate the dynamic value and assign that value to the property. @Formula annotation takes the parameter (expression) …

    Read More »
  • 25 December

    Spring JdbcTemplate CRUD Application

    In this tutorial, we are going to implement Spring JdbcTemplate Example with all CRUD operations. Before going in  to a deep example, in prior we need to understand what is Spring JdbcTemplate ? and How do we use it ? Here is the theory: The Spring JdbcTemplate is the basic …

    Read More »
  • 24 December

    @Qualifier annotation example in Spring

    @Qualifier is one of the autowiring annotations in spring. @Qualifier annotation can be used to control which bean should be auto wired on a property. Sometimes, it may happen that there are two or more beans, each of which equally qualifies to be wired into a property or a parameter. …

    Read More »
  • 24 December

    Spring Java Configuration Example

    Spring allows us to configure bean definitions in Java class. From Spring3 it supports Java configuration instead of xml based configuration. In this tutorial, we are going to implement the Spring Java Configuration. Before going to implementation, lets see the differences between the spring xml configuration and spring Java configuration. …

    Read More »
  • 23 December

    @Autowired,@Qualifier,@Value annotations in Spring

    @Autowired and @Qualifier are the two different autowired annotations to achieve the automatic dependency injunction in Spring. The Spring framework provides autowiring feature, to enable the object dependency implicitly. The @Autowired and @Qualifier annotations can be used on top of a field or setter methods or on top of a …

    Read More »
  • 23 December

    @Component,@Service,@Repository,@Controller in spring

    In this tutorial, we are going to learn about stereo type annotations in spring framework. @Component , @Service, @Repository, @Controller  are considered to be the stereo type annotations in spring. In spring framework, in an any application can have multiple spring beans to fulfill our business requirements. For every bean …

    Read More »
  • 16 December

    JDBC Interview Questions and Answers

    JDBC is one of the most important technology to connect the Java application with database. Though your CV doesn’t contain JDBC, the interviewer may ask some of the questions on JDBC because it has its own importance to understand the basics of any ORM frameworks like hibernate. So that every …

    Read More »
  • 11 December

    core java interview questions and answers

    Typically in all rounds of Java interview in any organization, first round should be in core Java only.  To face the first round interview, you should know the basic core Java interview questions and answers. Here are the list we are providing the frequently asked core Java interview questions and …

    Read More »
  • 8 December

    What is AOP Framework ?

    In this tutorial we  are going to understand what is AOP Framework, how AOP Framework deals with the cross-cutting concerns and different types of AOP terminologies. AOP Framework : Aspect Oriented Programming (AOP) is a new programming paradigm.  If any language follows POP then it is a Procedural Oriented Programming …

    Read More »
  • 6 December

    Spring Collection Map Dependency Example

    In any application, there is a common requirement to use the Map. In normal java applications, we can create the Map object and we can use that map where ever we want. But in spring, it is quite different the dependencies will be created and injected by spring container. In …

    Read More »
  • 6 December

    Spring Collection Dependency List Example

    Till now, we inject the dependencies from the spring configuration file as simple types like primitives or wrapper classes (Objects) through the <properties> tag. But in Spring we can define the dependencies for three different types. Simple Type Object Type and Collection Type In the all previous Spring examples, we …

    Read More »

November, 2015

  • 28 November

    spring expression language example

    In this tutorial, we are going to learn about Spring Expression Language (SpEL) with annotations. Spring Expression Language is a powerful language to query from Object graph and manipulate data in Object graph during run time. SpEL can be used both with XML and annotation based configuration. There are many …

    Read More »
  • 8 November

    Many to One Mapping in Hibernate Example

      In this tutorial, we are going to implement many to one mapping in hibernate. In our relational database systems, a many to one relationship occur when multiple child records in one table can refer to one single record in parent table. This example explains you how to map the …

    Read More »
  • 7 November

    Hibernate One To Many Example (XML Mapping)

    In OOPs each entity can have some relation with another entity. We need to find out which relationship can exist between the two entities. A one to many relationship can occurs, if an entity is related to multiple occurrences in another entity. In this tutorial, we are going to implement …

    Read More »