JBT

JBT

Spring Setter Dependency Injection(No Arg Factory Method)

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.

Spring Setter Dependency Injection(No Arg Constructor)

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.

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),…

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

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…