In Setter based DI(Dependency Injection), Objects define their dependencies via properties(<property> tag) and Container invoke setter methods to set these properties in object instance after invoking a no-argument constructor or no-argument static factory method to instantiate the bean.
Searched for ""
Spring Dependency Injection
What is Dependency We say Class A has dependency on Class B if Class A is using Class B reference as Variable.
Getting Started with JSP
JSP(Java Server Pages) is a view technology which allows to write template text in client side languages like HTML, CSS, JavaScript and others, instead of Java itself(Which is true for Servlet). To achieve this JSP supports Taglibs(Backed by Java code), Expression Languages and Scriptlet to control theoutput of page. In the end a JSP becomes… Continue reading
SQLifying NoSQL – Are ORM tools relevant to NoSQL?
Introduction If you reached this page, it’s fair to assume that you must have worked on at least one relational database in your lifetime. They have been in use for a quarter of a century and are found in almost all business applications.
Web Application Basics
Different Actors in Web application There are different actors which comes into picture of web application. End User Web Client(Browser Application) Server(Web Server / Application Server) Actual Page requested on Server
Java Statements tutorial for Beginners
Here we will learn about statements in Java. Types of Java Statement Expression Statement Control Statement Assignment Statement In this section, we will discuss control statements.
How to Convert Boolean Object to boolean primitives
/* * Here we will learn to convert Boolean Object to boolean primitives */ public class ConvertBooleanPrimitives { public static void main(String[] args) { /* * Boolean constructor with String argument allocates a Boolean object * representing the value true if the string argument is not null and is * equal(Ignoring case) to the string… Continue reading
Split a String Using scannner Class in Java
In this article we will learn to split the string using Scanner Class.
How to split a string in java using stringtokenizer
Here we will learn to split the String in parts on the basis of tokens provided.
Arithmetic Operators in java
In this section, we will learn about Arithmetic Operator Precedence and Operator Associativity.