Rename Trigger

Rename Trigger This Article will help you to understand “RENAME Trigger” with example and it’s detailed description. ALTER TRIGGER statement used to RENAME the trigger.  Example We will create table “electricity_bill”.  Then create trigger “trg_rename_example” on electricity_bill table. We will check the trigger status from “USER_TRIGGERS” table. Then we will RENAME trigger by ALTER TRIGGER […]

Spring Interview Questions [2021]

Spring Interview Questions and Answers What is Spring? Spring is an open source development framework for Enterprise Java.Spring framework core concepts are “Dependency Injection” and “Aspect Oriented Programming”.Spring framework can be used in normal java applications also to achieve loose coupling between different components by implementing dependency injection and we can perform cross cutting tasks […]

Spring MVC Form Handling Example

Spring MVC Form Handling Example we will learn Spring MVC Form handling without using database. Here, we will use @Controler, @RequestMapping and @ModelAttribute annotations. To display the input form, we are going to use <form:form> tag of spring framework. Let’s see a simple example to store form data in a model object and display data of a list. Following is the content […]

Setter Injection with Dependent Object

Setter Injection with Dependent Object We can inject dependency of another class object into current bean using setter injection.In such case, we use property element. Here, our scenario is Employee HAS-A Address. The Address class object will be termed as the dependent object. Let’s see the Address class first: Address.java This class contains four properties, […]

Spring Setter Injection with Collection

Spring Setter Injection with Collection We can inject collection values by setter method in spring framework. There can be used three elements inside the property element. It can be: list set map In this example, we are using list that can have duplicate elements, set that have only unique elements and map that have both […]

Spring MVC flow with Example

Spring MVC flow with Example Spring MVC is mostly used with Spring for any web application development. It is very powerful and nice layered architecture for flow and configuration. It is very flexible to integrate with other web frameworks like struts. In Spring Web MVC, DispatcherServlet class works as the front controller. It is responsible to […]

Inject collection values by constructor

Inject collection values by constructor We can inject collection values by constructor in spring framework. There can be used three elements inside the constructor-arg element. It can be: list set map Each collection can have string based and non-string based values.Consider the example where one Person has multiple Hobbies. In this example, we are using […]

Constructor Injection with Dependent Object

Constructor Injection with Dependent Object This article contains detailed description with example on “Constructor Injection with Dependent Object” topic. Whenever we have HAS-A relationship between the classes, instance of dependent object comes into the picture. We create the instance of dependent object (contained object) first then pass it as an argument of the main class […]

Spring Boot Maven Project

Spring Boot Maven Project Spring Boot which is build upon Spring foundation itself, takes convention over configuration to the next level by reducing the development time many-fold, enabling your projects up and running as quickly as possible. Creating Spring Boot project by creating maven project. It includes the following steps. Step 1) Select project type. Step 2) Select […]

Spring Boot Introduction

Spring Boot Introduction Spring is the most popular and innovative community for the Java developers. They have changed the way how to build the enterprise applications and how to manage them. Spring Boot is their latest innovation to keep up to date with the changing technology needs. The primary motivation behind developing Spring Boot is to simplify the process […]

Pin It on Pinterest