Peter age is 10
All Tutorials Links
Design Patterns
Servlets
JDBC
JAVA
Spring & Spring Boot & WebService & Database & AWS
- All JavaEE Viedos Playlist
- All JavaEE Viedos
- All JAVA EE Links
- All Design Patterns Links
- Spring Tutorial
- Spring boot & JMS & Apache Kafka & Web Services
- Servlets Tutorial
- JDBC Tutorial
- JAVA Tutorial
- Java Collection Framework
- Apache Server Tutorial
- Apache Maven Tutorial
- JSON/XML/SQL/MongoDB Tutorials
- Computer Tutorial
- Kids Learning Tutorial
- Cooking Tutorial
- All Design Patterns Links
- Design Pattern - Playlists
- Design Pattern - Playlists - Part1
- Design Patterns - Introduction - Playlist
- J2EE Design Patterns - Playlist
- Creational Design patterns - Playlist
- Structural Design patterns - Playlist
- Behavioral Design patterns - Playlist
- Front Controller Design Pattern - Playlist
- Intercepting Filter Design Pattern - Playlist
- Business Delegate Design Pattern - Playlist
- Service Locator Design Pattern - Playlist
- Context Object Design Pattern - Playlist
- Data Access Object Design Pattern - Playlist
- Design Pattern - Playlists - Part2
- Object Pool Design Pattern - Playlist
- Singleton Design Pattern - Playlist
- Factory Design Pattern - Playlist
- Abstract Factory Design Pattern - Playlist
- Prototype Design pattern - Playlist
- Builder Design pattern - Playlist
- Iterator Design Pattern - Playlist
- Observer Design Pattern - Playlist
- Chain of Responsibility Design Pattern - Playlist
- Memento Design pattern - Playlist
- Design Pattern - Playlists - Part3
- Mediator Design pattern - Playlist
- Strategy Design pattern - Playlist
- Visitor Design pattern - Playlist
- State Design pattern - Playlist
- Command Design pattern - Playlist
- Interpreter Design pattern - Playlist
- Filter or Criteria Design Pattern - Playlist
- Composite Design Pattern - Playlist
- Proxy Design pattern - Playlist
- Flyweight Design pattern - Playlist
- Decorator Design pattern - Playlist
- Bridge Design pattern - Playlist
- Adapter Design pattern - Playlist
- Design Pattern - Playlists - Part4
- Base Design Pattern - Playlist
- Data Source Architectural Design Patterns - Playlist
- Object-Relational Metadata Mapping Design Patterns - Playlist
- Offline Concurrency Design Patterns - Playlist
- Domain Logic Design Patterns - Playlist
- Object-Relational Behavioral Design Patterns - Playlist
- Object-Relational Structural Design Patterns - Playlist
- Web Presentation Design Patterns - Playlist
- Distribution Design Patterns - Playlist
- Session State Design Patterns - Playlist
- Concurrency Design patterns - Playlist
- Design Pattern - Playlists - Part5
- Design Pattern - Playlists - Part1
- Design Patterns - Introduction
- Design Patterns
- Design patterns - catalog
- Enterprise Application Architecture Patterns
- Domain Logic Patterns
- Data Source Architectural Patterns
- Object Relational Behavioral Patterns
- Object-Relational Structural Patterns
- Object Relational Metadata Mapping Patterns
- Web Presentation Patterns
- Distribution Patterns
- Offline Concurrency Patterns
- Base Design Pattern
- Session State Design pattern
- Concurrency patterns
- J2EE patterns
- Creational Design patterns
- Structural design patterns
- Behavioral design patterns
- J2EE Design Patterns
- Creational Design patterns
- Creational Design patterns
- Object Pool Design Pattern
- Singleton Design Pattern
- Factory Design Pattern
- Abstract Factory Design Pattern
- Prototype Design Pattern
- Builder Design Pattern
- Builder Design Pattern - Introduction
- Builder Design pattern - Real Time Example [Meal Package]
- Builder Design pattern - Real Time Example [Animal Toys]
- Builder Design pattern - Real Time Example [Beverage]
- Builder Design Pattern - Class Diagram
- Builder Design Pattern - Sequence Diagram
- Builder Design Pattern - Implementation [Beverage]
- Builder Design Pattern - Implementation [Animal Toy]
- Builder Design Pattern - KeyPoints
- Behavioral design patterns
- Behavioral design patterns
- Iterator Design Pattern
- Observer Design Pattern
- Chain of Responsibility Design Pattern
- Chain of Responsibility Design Pattern - Introduction
- Chain of Responsibility Design Pattern - Real time Example
- Chain of Responsibility Design Pattern - Class and Sequence Diagram
- Chain of Responsibility Design Pattern - Implementation(One Receiver)
- Chain of Responsibility Design Pattern - Implementation(one or more Receiver)
- Chain of Responsibility Design Pattern - Key Points
- Momento Design pattern
- Template Design pattern or Template Method Design pattern
- Template Design pattern or Template Method Design pattern - Introduction
- Template Design pattern or Template Method Design pattern - Real Time Example [Coffee]
- Template Design pattern or Template Method Design pattern - Real Time Example [Car]
- Template Design pattern or Template Method Design pattern - Class Diagram
- Template Design pattern or Template Method Design pattern - Implementation [Building a House]
- Template Design pattern or Template Method Design pattern - Implementation [Coffee]
- Template Design pattern or Template Method Design pattern - KeyPoints
- Mediator Design pattern
- Mediator Design pattern - Introduction
- Mediator Design pattern - When to Use
- Mediator Design pattern - Real Time Example [Facebook]
- Mediator Design pattern - Real Time Example [ATC]
- Mediator Design pattern - Real Time Example [Chat Room]
- Mediator Design pattern - Class Diagram
- Mediator Design pattern - Implementation [Facebook]
- Mediator Design pattern - Implementation [Chat Room]
- Mediator Design pattern - KeyPoints
- Strategy Design pattern
- Strategy Design pattern - Introduction
- Strategy Design pattern - Real Time Example [Compress files]
- Strategy Design pattern - Real Time Example [Payment]
- Strategy Design pattern - Real Time Example [Travel]
- Strategy Design pattern - Real Time Example [Sorting]
- Strategy Design pattern - Real Time Example [Search]
- Strategy Design pattern - Class Diagram
- Strategy Design pattern - Sequence Diagram
- Strategy Design pattern - Implementation [Compress files]
- Strategy Design pattern - Implementation [Travel]
- Strategy Design pattern - Implementation [Payment]
- Strategy Design pattern - Implementation [Search]
- Strategy Design pattern - Implementation [Sort]
- Strategy Design pattern - KeyPoints
- Visitor Design pattern
- Visitor Design pattern - Introduction
- Visitor Design pattern - Real time Example [Kids]
- Visitor Design pattern - Real time Example [Products]
- Visitor Design pattern - Class Diagram
- Visitor Design pattern - Implementation [Kids]
- Visitor Design pattern - Implementation [Products]
- Visitor Design pattern - KeyPoints
- State Design pattern
- State Design pattern - Introduction
- State Design pattern - Real time example [ATM]
- State Design pattern - Real time example [TV Remote]
- State Design pattern - Real time example [Vending Machine]
- State Design pattern - Real time example [Project]
- State Design pattern - Class Diagram
- State Design pattern - Implementation [ATM]
- State Design pattern - Implementation [Vending Machine]
- State Design pattern - Implementation [Project]
- State Design pattern - Implementation [LED TV]
- State Design pattern - Keypoints
- Command Design pattern
- Command Design pattern - Introduction
- Command Design pattern - Real time example [Hotel]
- Command Design pattern - Real time example [Menu]
- Command Design pattern - Class Diagram
- Command Design pattern - Sequence Diagram
- Command Design pattern - Object Creation and flow
- Command Design pattern - Implementation [Menu]
- Command Design pattern - Key points
- Interpreter Design pattern
- Structural design patterns
- Structural design patterns
- Filter or Criteria Design Pattern
- Composite Design Pattern
- Proxy Design Pattern
- Proxy Design Pattern - Introduction
- Proxy Design pattern - Real Time Example[ATM]
- Proxy Design pattern - Real Time Example [Proxy Server]
- Proxy Design pattern - Class Diagram
- Proxy Design pattern - Sequence Diagram
- Proxy Design pattern - Implementation [Protection Proxy]
- Proxy Design pattern - Implementation [Remote Proxy]
- Proxy Design pattern - Implementation[Virtual Proxy]
- Proxy Design Pattern - Key Points
- Flyweight Design pattern
- Decorator Design pattern
- Decorator Design pattern - Introduction
- Decorator Design pattern - Real Time Example [Dosa]
- Decorator Design pattern - Real Time Example [Ice Cream]
- Decorator Design pattern - Real Time Example [Pizza]
- Decorator Design pattern - Real Time Example [Car]
- Decorator Design pattern - Class Diagram
- Decorator Design pattern - Sequence Diagram
- Decorator Design pattern - Implementation [Dosa]
- Decorator Design pattern - Implementation [Pizza]
- Decorator Design pattern - Implementation [Ice Cream]
- Decorator Design pattern - Implementation [Car]
- Decorator Design pattern - Implementation [Shape]
- Decorator Design pattern - Key Points
- Bridge Design pattern
- Bridge Design pattern - Introduction
- Bridge Design pattern - Real time example [Send Message]
- Bridge Design pattern - Real time example [Publish Message]
- Bridge Design pattern - Real time example [Shape]
- Bridge Design pattern - Real time example [TV]
- Bridge Design pattern - Class Diagram
- Bridge Design pattern - Implementation [Shape]
- Bridge Design pattern - Implementation [Send Message]
- Bridge Design pattern - Implementation [Publish Message]
- Bridge Design pattern - Implementation [LED TV]
- Bridge Design pattern - Keypoints
- Adapter Design Pattern
- Adapter Design pattern - Introduction
- Adapter Design Pattern - Real Time Exmaple(Translator)
- Adapter Design pattern - Real Time Example (Card Reader)
- Adapter Design pattern - Real Time Example (Mobile Charger)
- Adapter Design pattern - Real Time Example (Universal Adaptor)
- Adapter Design pattern - Real Time Example [JDBC Driver]
- Adapter Design pattern - Class diagram
- Adapter Design Pattern - Sequence diagram
- Adapter Design Pattern - Implementation [Language Translator]
- Adapter Pattern - Implementation [Object Adapter]
- Adapter Pattern - Implementation [Class Adapter]
- Adapter Design Pattern - Implementation [Mobile Charger]
- Adapter Design Pattern - Key Points
- Concurrency Design patterns
- Concurrency patterns
- Thread Pool Design Pattern
- Monitor or synchronization Design Pattern
- Lock Design Pattern
- Scheduler Design Pattern
- Read-write lock Design Pattern
- Messaging Design Pattern(MDP)
- Messaging Design Pattern(MDP) - Introduction
- Messaging Design Pattern(MDP) - Asynchronous messaging
- Messaging Design Pattern(MDP) - Two Way Messaging
- Messaging Design Pattern(MDP) - Implementation of Proxy
- Messaging Design Pattern(MDP)-Implementation of Adapter
- Messaging Design Pattern(MDP) - Implementation of Webservice
- Reactor Design Pattern
- Double-checked locking Design Pattern
- Offline Concurrency Patterns
- Session State Design pattern
- Distribution Patterns
- Base Design Pattern
- Base Design Pattern
- Gateway Design Pattern
- Layer Supertype Design Pattern
- Registry Design Pattern
- Money Design Pattern
- Plugin Design Pattern
- Special Case Design Pattern
- Separated Interface Design Pattern
- Service Stub Design Pattern
- Record Set Design Pattern
- Mapper Design Pattern
- Value Object Design Pattern
- Web Presentation Patterns
- Domain Logic Patterns
- Object Relational Structural Patterns
- Object-Relational Structural Patterns
- Identity Field Design Pattern
- Foreign Key Mapping Design Pattern
- Association Table Mapping Design Pattern
- Dependent Mapping Design Pattern
- Embedded Value Design Pattern
- Serialized LOB Design Pattern
- Single Table Inheritance Design Pattern
- Class Table Inheritance Design Pattern
- Concrete Table Inheritance Design Pattern
- Inheritance Mappers Design Pattern
- Object Relational Behavioral Patterns
- Object Relational MetadataMapping Patterns
- Data Source Architectural Patterns
- All Design Patterns Links
- Servlets Tutorial
- Servlets Tutorial - Playlists [Part 1]
- Servlets Tutorial - Playlist
- Tomcat - Playlist
- Servlets : WAR file - Playlist
- HTTP Methods and HTTP Status Codes - Playlist
- Client-Server Model - Playlist
- Servlet Application Creation using Eclipse - Playlist
- Servlets Basics - Playlist
- Servlets : Request and Response Headers - Playlist
- Servlets Form Data - Playlist
- Servlets : ServletConfig and ServletContext - Playlist
- Servlets : load-on-startup - Playlist
- Servlets : RequestDispatcher - Playlist
- Servlets : Send Redirect - Playlist
- Servlets Tutorial - Playlists [Part 2]
- Servlet Filter - Playlist
- Servlets : Filter Config - Playlist
- Servlets : HttpSession - Playlist
- Servlets : Cookies - Playlist
- Servlets : Attribute - Playlist
- Servlets : ServletRequestAttributeListener - Playlist
- Servlets : Listeners - Playlist
- Servlets : HttpSessionAttributeListener - Playlist
- Servlets : ServletContextAttributeListener - Playlist
- Servlets : ServletContextListener - Playlist
- Servlets : Upload File and Download File - Playlist
- Servlets : HttpSessionListener - Playlist
- Servlets : ServletRequestListener - Playlist
- Servlets : HttpSessionBindinglistener - Playlist
- Servlets : Session Tracking - Playlist
- Servlets : URL Rewriting - Playlist
- Servlets - Database Access - Playlist
- Servlets Basics - Part1
- Servlets Basics - Part2
- Servlets : Request and Response Headers
- Servlets Form Data
- ServletConfig and ServletContext
- Servlets : load-on-startup
- RequestDispatcher and Send Redirect
- RequestDispatcher Introduction
- Servlets : RequestDispatcher Example
- Servlets : Send Redirect Introduction
- Send Redirect Demo[Transfer control to the Servlet which is in the Same Webcontainer]
- Send Redirect Demo[Transfer control to different domain]
- Servlets : Send Redirect vs. Forward
- Page Redirection
- Filter Config
- Servlet Filter
- Servlet HttpSession
- Session Tracking
- Servlets Listeners
- Servlets Listeners
- ServletRequestAttributeListener Introduction
- ServletRequestAttributeListener Demo
- HttpSessionAttributeListener Introduction
- HttpSessionAttributeListener Demo
- ServletContextAttributeListener Introduction
- ServletContextAttributeListener Demo
- ServletContextListener Introduction
- ServletContextListener Demo
- HttpSessionListener Introduction
- HttpSessionListener Demo
- HttpSession Listener Demo [Count logged in Users]
- ServletRequestListener Introduction
- ServletRequestListener Demo
- HttpSessionBindinglistener Introduction
- HttpSessionBindinglistener Demo
- HttSessionActivationListener
- Servlets - Database Access
- MySQL Installation
- MySQL Workbench
- Oracle Database Server Installation
- Oracle Sql Developer Installation
- Oracle Sql Developer - Connect to the User
- JDBC|Servlets : BoneCP Connection Pooling - Oracle - Tomcat
- JDBC|Servlets : BoneCP Connection Pooling - Mysql- Tomcat
- JDBC|Servlets : BoneCP DataSource Oracle - Tomcat
- JDBC|Servlets : BoneCP DataSource Mysql - Tomcat
- JDBC|Servlets : Tomcat Connection Pooling - DBCP- Oracle
- JDBC|Servlets : Tomcat Connection Pooling - DBCP - Mysql
- JDBC|Servlets : Tomcat C3PO Connection Pooling - Mysql
- JDBC|Servlets : Tomcat C3PO Connection Pooling - Oracle
- Client-Server Model
- Eclipse
- Tomcat
- war file
- HTTP Methods and HTTP Status Codes
- Servlets Tutorial
- JDBC Tutorial
- JDBC Tutorial - Playlist [Part 1]
- JDBC Tutorial - Playlist
- Mysql Tutorial - Playlist
- JDBC : Steps to Connect to the Database and Demo - Playlist
- JDBC ResultSetMetadata - Playlist
- JDBC DatabaseMetadata - Playlist
- JDBC Statement - Playlist
- JDBC Connection - Playlist
- JDBC PreparedStatement - Playlist
- JDBC ResultSet - Playlist
- JDBC Create|Read|Update|Delete Records - Playlist
- JDBC Create|Drop Database - Playlist
- JDBC Create|Drop Table - Playlist
- JDBC Batch Processing - Playlist
- JDBC Scrollable ResultSet - Playlist
- JDBC Tutorial - Playlist [Part 2]
- JDBC DriverManager and JDBC Driver - Playlist
- Java Decompiler - Playlist
- JDBC Basics - Playlist
- JDBC Driver Types - Playlist
- JDBC Store and Retrieve Image - Playlist
- JDBC Store and Retrieve File - Playlist
- JDBC Transaction Management - Playlist
- JDBCRowSet - Playlist
- JDBC Mysql - Playlist
- JDBC Oracle - Playlist
- JDBC DataSource - Playlist
- JDBC DBCP DataSource - Playlist
- JDBC : Java Database Connection Pooling - Playlist
- Oracle Database & SqlDeveloper Tutorial - Playlist
- Bone CP Connection Pooling - Playlist
- DBCP Connection Pooling - Playlist
- C3PO Connection Pooling - Playlist
- JDBC Stored Procedure (Mysql) - Playlist
- JDBC Stored Procedure (Oracle) - Playlist
- Mysql & Oracle
- JDBC Basics
- JDBC Driver Types
- JDBC Driver Types
- Type 1 JDBC Driver : JDBC-ODBC Bridge Driver (Bridge Driver)
- Type 2 JDBC Driver: Native-API driver/Partly Java driver(Native Driver)
- Type 3 Driver : AllJava/Net-protocol driver or Network Protocol Driver(Middleware Driver)
- Type 4 Driver : All Java/Native-protocol driver or Thin Driver (Pure Java Driver)
- JDBC : Which Driver Should be used
- JDBC Statement & PreparedStatement
- JDBC ResultSet
- JDBC ResultSetMetadata
- JDBC DatabaseMetadata
- JDBC Create|Read|Update|Delete Records
- JDBC Batch Processing
- JDBC Transaction Management
- JDBC Store Image & File
- JDBCRowSet
- JDBC DataSource
- Java Database Connection Pooling
- JDBC : Java Database Connection Pooling [BoneCP vs DBPool vs C3PO]
- JDBC|Servlets : BoneCP Connection Pooling - Oracle - Tomcat
- JDBC|Servlets : BoneCP Connection Pooling - Mysql- Tomcat
- JDBC|Servlets : BoneCP DataSource Oracle - Tomcat
- JDBC|Servlets : BoneCP DataSource Mysql - Tomcat
- JDBC|Servlets : Tomcat Connection Pooling - DBCP- Oracle
- JDBC|Servlets : Tomcat Connection Pooling - DBCP - Mysql
- JDBC|Servlets : Tomcat C3PO Connection Pooling - Mysql
- JDBC|Servlets : Tomcat C3PO Connection Pooling - Oracle
- Object Pool Design Pattern - Introduction
- Object Pool Design Pattern - Implementation
- Connection Pooling [Example of Object Pool Design Pattern]
- Object Pool Design Pattern - KeyPoints
- JDBC Stored Procedure
- JDBC : CallableStatement Introduction.
- Mysql - Simple Stored Procedure
- Mysql - Stored Procedure with Input Parameter
- Mysql - Stored Procedure with multiple Input Parameters
- Mysql - Stored Procedure with Input and Output Parameters
- JDBC - CallableStatement with Input and Output Parameters(Mysql)
- JDBC - CallableStatement (Mysql)
- JDBC - CallableStatement with Input Parameter(Mysql)
- JDBC - CallableStatement Multiple In Out Parameters (Mysql)
- Oracle : Stored Procedure with Input and Output Parameters
- Oracle : Stored Procedure Cursor
- JDBC - CallableStatement In Out Parameters (Oracle)
- JDBC - CallableStatement Cursor(Oracle)
- JDBC - CallableStatement Cursor and multiple out param(Oracle)
- JDBC Tutorial
Friday, 29 March 2019
Wednesday, 27 March 2019
Sunday, 24 March 2019
What is HibernateTransactionManager in Spring ?
Spring hibernate integration - Playlist
Click the below link to watch on Youtube:
https://www.youtube.com/watch?v=mdijsNXZx0U&list=PLmCsXDGbJHdih0tSOCtCCw_KOi52HuqH6
Spring 3 + hibernate 3 + Maven integration example
Sunday, 17 March 2019
How to remove the Observer from the Observable in Java? | Observer and O...
Click the below link to watch on Youtube:
https://www.youtube.com/watch?v=fg712ek-c_Y
Example of Observer and Observable in Java? | Observer and Observable
What is the Observer and Observable in Java? | Observer and Observable - Playlist
Click the below link to watch on Youtube:
https://www.youtube.com/watch?v=o_Xbi8ZmkE8&list=PLmCsXDGbJHdh9VYKrQGTvM0wo2h8j3nzD
What is the Observer and Observable in Java? | Observer and Observable
Sunday, 10 March 2019
Spring - How to get all records by calling the stored procedure using SimpleJdbcCall
Click here to watch on Youtube:
https://www.youtube.com/watch?v=ihdBllu4PSI&list=UUhwKlOVR041tngjerWxVccw
Spring - Calling a stored function using SimpleJdbcCall | Spring JDBC tutorial | Spring JDBC
Click here to watch on Youtube:
https://www.youtube.com/watch?v=5hf1kFQNCXs&list=UUhwKlOVR041tngjerWxVccw
Spring - Calling a stored procedure with SimpleJdbcCall (Explicitly declaring parameters)
Click here to watch on Youtube:
https://www.youtube.com/watch?v=uHXOTLzPdQ8&list=UUhwKlOVR041tngjerWxVccw
Spring - Calling a stored procedure with SimpleJdbcCall | Spring JDBC tutorial
Click here to watch on Youtube:
https://www.youtube.com/watch?v=VH9-d8XyWNY&list=UUhwKlOVR041tngjerWxVccw
Spring - Inserting data using SimpleJdbcInsert and MapSqlParameterSource | Spring JDBC tutorial
Click here to watch on Youtube:
https://www.youtube.com/watch?v=b3E_nXF6-qM&list=UUhwKlOVR041tngjerWxVccw
Spring - Inserting data using SimpleJdbcInsert and SqlParameterSource | Spring JDBC tutorial
Click here to watch on Youtube:
https://www.youtube.com/watch?v=SplB1Um2y3M&list=UUhwKlOVR041tngjerWxVccw
Wednesday, 6 March 2019
Spring - Specifying columns for SimpleJdbcInsert | Spring JDBC tutorial | Spring JDBC
Click here to watch on Youtube:
https://www.youtube.com/watch?v=FNN0aWo9kWY&list=UUhwKlOVR041tngjerWxVccw
Spring - Inserting data using SimpleJdbcInsert | Spring JDBC tutorial | Spring JDBC
Click here to watch on Youtube:
https://www.youtube.com/watch?v=zCO1PqoXhKU&list=UUhwKlOVR041tngjerWxVccw
How to format the string using java.util.Formatter class - Playlist
Click here to watch on Youtube:
https://www.youtube.com/watch?v=qt89kDYMBGo&list=PLmCsXDGbJHdhKv54h0smpbiNuL9umvbUQ
See also:
All JavaEE Videos Playlist
All JavaEE Videos
All JAVA EE Links
Spring Tutorial
Servlets Tutorial
All Design Patterns Links
JDBC Tutorial
Java Collection Framework Tutorial
JAVA Tutorial
Kids Tutorial
Cooking Tutorial
https://www.youtube.com/watch?v=qt89kDYMBGo&list=PLmCsXDGbJHdhKv54h0smpbiNuL9umvbUQ
See also:
Tuesday, 5 March 2019
How to use format(Locale l, String format, Object... args) method of java.util.Formatter class
Click here to watch on Youtube:
https://www.youtube.com/watch?v=ec2-YfmtPSk&list=UUhwKlOVR041tngjerWxVccw
FormatterDemo.java
Output:
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/FormatterDemo_format_locale.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Java_2019/FormatterDemo_format_locale
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/ef6f73b2185c28cb9cd0149bcd1e9fa0a5b2bdf3/Java_2019/FormatterDemo_format_locale/?at=master
See also:
All JavaEE Videos Playlist
All JavaEE Videos
All JAVA EE Links
Spring Tutorial
Servlets Tutorial
All Design Patterns Links
JDBC Tutorial
Java Collection Framework Tutorial
JAVA Tutorial
Kids Tutorial
Cooking Tutorial
https://www.youtube.com/watch?v=ec2-YfmtPSk&list=UUhwKlOVR041tngjerWxVccw
FormatterDemo.java
import java.util.Formatter;
import java.util.Locale;
/**
* public Formatter format(Locale l, String format, Object... args)
*
* Parameters:
*
* l - The locale to apply during formatting.
*
* format - A format string as described in Format string syntax.
*
* args - Arguments referenced by the format specifiers in the format
* string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by The
* Java™ Virtual Machine Specification.
*
* Returns: This formatter
*
*/
public class FormatterDemo
{
public static void main(String[] args)
{
Formatter formatter = new Formatter();
/*
* In this example, the format specifiers, %s and %d are
* replaced with the arguments that follow the format string.
* %s is replaced by "Peter", %d is replaced by 10. %s
* specifies a string, and %d specifies an integer value. All
* other characters are simply used as-is.
*/
formatter.format(Locale.US, "%s age is %d", "Peter", 10);
System.out.println(formatter.out());
formatter.close();
}
}
import java.util.Locale;
/**
* public Formatter format(Locale l, String format, Object... args)
*
* Parameters:
*
* l - The locale to apply during formatting.
*
* format - A format string as described in Format string syntax.
*
* args - Arguments referenced by the format specifiers in the format
* string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by The
* Java™ Virtual Machine Specification.
*
* Returns: This formatter
*
*/
public class FormatterDemo
{
public static void main(String[] args)
{
Formatter formatter = new Formatter();
/*
* In this example, the format specifiers, %s and %d are
* replaced with the arguments that follow the format string.
* %s is replaced by "Peter", %d is replaced by 10. %s
* specifies a string, and %d specifies an integer value. All
* other characters are simply used as-is.
*/
formatter.format(Locale.US, "%s age is %d", "Peter", 10);
System.out.println(formatter.out());
formatter.close();
}
}
Output:
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/FormatterDemo_format_locale.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Java_2019/FormatterDemo_format_locale
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/ef6f73b2185c28cb9cd0149bcd1e9fa0a5b2bdf3/Java_2019/FormatterDemo_format_locale/?at=master
See also:
How to format the string using java.util.Formatter class
Click here to watch on Youtube:
https://www.youtube.com/watch?v=qt89kDYMBGo&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge:
FormatterDemo.java
Output:
Refer:
https://docs.oracle.com/javase/8/docs/api/index.html?java/util/Formatter.html
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/FormatterDemo_Intro.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Java_2019/FormatterDemo_Intro
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/ef6f73b2185c28cb9cd0149bcd1e9fa0a5b2bdf3/Java_2019/FormatterDemo_Intro/?at=master
See also:
All JavaEE Videos Playlist
All JavaEE Videos
All JAVA EE Links
Spring Tutorial
Servlets Tutorial
All Design Patterns Links
JDBC Tutorial
Java Collection Framework Tutorial
JAVA Tutorial
Kids Tutorial
Cooking Tutorial
https://www.youtube.com/watch?v=qt89kDYMBGo&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge:
![]() |
| How to format the string using java.util.Formatter class |
FormatterDemo.java
import java.util.Formatter;
/**
* public Formatter format(String format, Object... args)
*
* Parameters:
*
* format - A format string as described in Format string syntax.
*
* args - Arguments referenced by the format specifiers in the format
* string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by The
* Java™ Virtual Machine Specification.
*
* Returns: This formatter
*
*/
public class FormatterDemo
{
public static void main(String[] args)
{
Formatter formatter = new Formatter();
/*
* In this example, the format specifiers, %s and %d are
* replaced with the arguments that follow the format string.
* %s is replaced by "Peter", %d is replaced by 10. %s
* specifies a string, and %d specifies an integer value. All
* other characters are simply used as-is.
*/
formatter.format("%s age is %d", "Peter", 10);
System.out.println(formatter.out());
formatter.close();
}
}
/**
* public Formatter format(String format, Object... args)
*
* Parameters:
*
* format - A format string as described in Format string syntax.
*
* args - Arguments referenced by the format specifiers in the format
* string. If there are more arguments than format specifiers, the
* extra arguments are ignored. The maximum number of arguments is
* limited by the maximum dimension of a Java array as defined by The
* Java™ Virtual Machine Specification.
*
* Returns: This formatter
*
*/
public class FormatterDemo
{
public static void main(String[] args)
{
Formatter formatter = new Formatter();
/*
* In this example, the format specifiers, %s and %d are
* replaced with the arguments that follow the format string.
* %s is replaced by "Peter", %d is replaced by 10. %s
* specifies a string, and %d specifies an integer value. All
* other characters are simply used as-is.
*/
formatter.format("%s age is %d", "Peter", 10);
System.out.println(formatter.out());
formatter.close();
}
}
Output:
Peter age is 10
Refer:
https://docs.oracle.com/javase/8/docs/api/index.html?java/util/Formatter.html
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/FormatterDemo_Intro.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Java_2019/FormatterDemo_Intro
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/ef6f73b2185c28cb9cd0149bcd1e9fa0a5b2bdf3/Java_2019/FormatterDemo_Intro/?at=master
See also:
Spring + JdbcTemplate + How to retrieve auto-generated keys
Click here to watch on Youtube:
https://www.youtube.com/watch?v=rbi3TkO0q5U&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge:
Employee.sql
pom.xml
EmployeeDAO.java
EmployeeDAOImpl.java
applicationContext.xml
App.java
Output:
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/SpringDemo_Retrive_auto_key.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Spring_2019/SpringDemo_Retrive_auto_key
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/8f8b5563b7f2921ed260908e4906103995d9c6cc/Spring_2019/SpringDemo_Retrive_auto_key/?at=master
See also:
All JavaEE Videos Playlist
All JavaEE Videos
All JAVA EE Links
Spring Tutorial
Servlets Tutorial
All Design Patterns Links
JDBC Tutorial
Java Collection Framework Tutorial
JAVA Tutorial
Kids Tutorial
Cooking Tutorial
https://www.youtube.com/watch?v=rbi3TkO0q5U&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge:
![]() |
| Spring + JdbcTemplate + How to retrieve auto-generated keys |
Employee.sql
CREATE DATABASE org_db;
CREATE TABLE `employee` (
`EMPLOYEE_ID` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`NAME` VARCHAR(100) NOT NULL,
`AGE` INT(10) NOT NULL,
`SALARY` INT(10) DEFAULT NULL,
PRIMARY KEY (`EMPLOYEE_ID`)
) ENGINE=INNODB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
CREATE TABLE `employee` (
`EMPLOYEE_ID` INT(10) UNSIGNED NOT NULL AUTO_INCREMENT,
`NAME` VARCHAR(100) NOT NULL,
`AGE` INT(10) NOT NULL,
`SALARY` INT(10) DEFAULT NULL,
PRIMARY KEY (`EMPLOYEE_ID`)
) ENGINE=INNODB AUTO_INCREMENT=4 DEFAULT CHARSET=utf8;
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ram.core</groupId>
<artifactId>SpringDemo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>SpringDemo</name>
<url>http://maven.apache.org</url>
<properties>
<spring.version>5.0.5.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- Spring 5 dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- MySQL database driver -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.11</version>
</dependency>
</dependencies>
</project>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ram.core</groupId>
<artifactId>SpringDemo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>SpringDemo</name>
<url>http://maven.apache.org</url>
<properties>
<spring.version>5.0.5.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- Spring 5 dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- MySQL database driver -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.11</version>
</dependency>
</dependencies>
</project>
EmployeeDAO.java
package com.ram.employee.dao;
public interface EmployeeDAO
{
public void retriveAutoGeneratedKey();
}
public interface EmployeeDAO
{
public void retriveAutoGeneratedKey();
}
EmployeeDAOImpl.java
package com.ram.employee.dao.impl;
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import org.springframework.jdbc.core.PreparedStatementCreator;
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import org.springframework.jdbc.support.GeneratedKeyHolder;
import org.springframework.jdbc.support.KeyHolder;
import com.ram.employee.dao.EmployeeDAO;
public class EmployeeDAOImpl
extends JdbcDaoSupport implements EmployeeDAO
{
public void retriveAutoGeneratedKey()
{
final String INSERT_SQL = "INSERT INTO EMPLOYEE "
+ "(NAME, AGE,SALARY) VALUES (?, ?, ?)";
KeyHolder keyHolder = new GeneratedKeyHolder();
getJdbcTemplate().update(new PreparedStatementCreator()
{
public PreparedStatement createPreparedStatement(
Connection connection) throws SQLException
{
PreparedStatement ps = connection.prepareStatement(
INSERT_SQL, new String[] { "id" });
ps.setString(1, "Rob");
ps.setInt(2, 12);
ps.setInt(3, 9090);
return ps;
}
}, keyHolder);
System.out.println(
"Auto generated Key is = " + keyHolder.getKey());
}
}
import java.sql.Connection;
import java.sql.PreparedStatement;
import java.sql.SQLException;
import org.springframework.jdbc.core.PreparedStatementCreator;
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import org.springframework.jdbc.support.GeneratedKeyHolder;
import org.springframework.jdbc.support.KeyHolder;
import com.ram.employee.dao.EmployeeDAO;
public class EmployeeDAOImpl
extends JdbcDaoSupport implements EmployeeDAO
{
public void retriveAutoGeneratedKey()
{
final String INSERT_SQL = "INSERT INTO EMPLOYEE "
+ "(NAME, AGE,SALARY) VALUES (?, ?, ?)";
KeyHolder keyHolder = new GeneratedKeyHolder();
getJdbcTemplate().update(new PreparedStatementCreator()
{
public PreparedStatement createPreparedStatement(
Connection connection) throws SQLException
{
PreparedStatement ps = connection.prepareStatement(
INSERT_SQL, new String[] { "id" });
ps.setString(1, "Rob");
ps.setInt(2, 12);
ps.setInt(3, 9090);
return ps;
}
}, keyHolder);
System.out.println(
"Auto generated Key is = " + keyHolder.getKey());
}
}
applicationContext.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/org_db" />
<property name="username" value="root" />
<property name="password" value="root" />
</bean>
<bean id="employeeDAO" class="com.ram.employee.dao.impl.EmployeeDAOImpl">
<property name="dataSource" ref="dataSource" />
</bean>
</beans>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/org_db" />
<property name="username" value="root" />
<property name="password" value="root" />
</bean>
<bean id="employeeDAO" class="com.ram.employee.dao.impl.EmployeeDAOImpl">
<property name="dataSource" ref="dataSource" />
</bean>
</beans>
App.java
package com.ram.core;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.ram.employee.dao.EmployeeDAO;
public class App
{
public static void main(String[] args)
{
ApplicationContext context = new ClassPathXmlApplicationContext(
"applicationContext.xml");
EmployeeDAO employeeDAO = (EmployeeDAO) context
.getBean("employeeDAO");
employeeDAO.retriveAutoGeneratedKey();
}
}
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.ram.employee.dao.EmployeeDAO;
public class App
{
public static void main(String[] args)
{
ApplicationContext context = new ClassPathXmlApplicationContext(
"applicationContext.xml");
EmployeeDAO employeeDAO = (EmployeeDAO) context
.getBean("employeeDAO");
employeeDAO.retriveAutoGeneratedKey();
}
}
Output:
Feb 20, 2019 10:36:51 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@736e9adb: startup date [Wed Feb 20 10:36:51 IST 2019]; root of context hierarchy
Feb 20, 2019 10:36:52 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [applicationContext.xml]
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Feb 20, 2019 10:36:52 AM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
Wed Feb 20 10:36:53 IST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Auto generated Key is = 10
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@736e9adb: startup date [Wed Feb 20 10:36:51 IST 2019]; root of context hierarchy
Feb 20, 2019 10:36:52 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [applicationContext.xml]
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Feb 20, 2019 10:36:52 AM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
Wed Feb 20 10:36:53 IST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Auto generated Key is = 10
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/SpringDemo_Retrive_auto_key.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Spring_2019/SpringDemo_Retrive_auto_key
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/8f8b5563b7f2921ed260908e4906103995d9c6cc/Spring_2019/SpringDemo_Retrive_auto_key/?at=master
See also:
Spring + JdbcTemplate + How to create a table
Click here to watch on Youtube:
https://www.youtube.com/watch?v=S2EyOdg7dZM&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge:
Employee.sql
pom.xml
EmployeeDAO.java
EmployeeDAOImpl.java
applicationContext.xml
App.java
Output:
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/SpringDemo_create_table.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Spring_2019/SpringDemo_create_table
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/8f8b5563b7f2921ed260908e4906103995d9c6cc/Spring_2019/SpringDemo_create_table/?at=master
See also:
All JavaEE Videos Playlist
All JavaEE Videos
All JAVA EE Links
Spring Tutorial
Servlets Tutorial
All Design Patterns Links
JDBC Tutorial
Java Collection Framework Tutorial
JAVA Tutorial
Kids Tutorial
Cooking Tutorial
https://www.youtube.com/watch?v=S2EyOdg7dZM&list=UUhwKlOVR041tngjerWxVccw
Click the below Image to Enlarge:
![]() |
| Spring + JdbcTemplate + How to create a table |
Employee.sql
CREATE DATABASE org_db;
pom.xml
<project xmlns="http://maven.apache.org/POM/4.0.0" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ram.core</groupId>
<artifactId>SpringDemo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>SpringDemo</name>
<url>http://maven.apache.org</url>
<properties>
<spring.version>5.0.5.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- Spring 5 dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- MySQL database driver -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.11</version>
</dependency>
</dependencies>
</project>
xsi:schemaLocation="http://maven.apache.org/POM/4.0.0 http://maven.apache.org/maven-v4_0_0.xsd">
<modelVersion>4.0.0</modelVersion>
<groupId>com.ram.core</groupId>
<artifactId>SpringDemo</artifactId>
<packaging>jar</packaging>
<version>1.0-SNAPSHOT</version>
<name>SpringDemo</name>
<url>http://maven.apache.org</url>
<properties>
<spring.version>5.0.5.RELEASE</spring.version>
</properties>
<dependencies>
<dependency>
<groupId>junit</groupId>
<artifactId>junit</artifactId>
<version>3.8.1</version>
<scope>test</scope>
</dependency>
<!-- Spring 5 dependencies -->
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-core</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-context</artifactId>
<version>${spring.version}</version>
</dependency>
<dependency>
<groupId>org.springframework</groupId>
<artifactId>spring-jdbc</artifactId>
<version>${spring.version}</version>
</dependency>
<!-- MySQL database driver -->
<dependency>
<groupId>mysql</groupId>
<artifactId>mysql-connector-java</artifactId>
<version>8.0.11</version>
</dependency>
</dependencies>
</project>
EmployeeDAO.java
package com.ram.employee.dao;
public interface EmployeeDAO
{
public void createTable();
}
public interface EmployeeDAO
{
public void createTable();
}
EmployeeDAOImpl.java
package com.ram.employee.dao.impl;
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import com.ram.employee.dao.EmployeeDAO;
public class EmployeeDAOImpl
extends JdbcDaoSupport implements EmployeeDAO
{
public void createTable()
{
String sql = "create table Address (id integer, city varchar(100))";
getJdbcTemplate().execute(sql);
}
}
import org.springframework.jdbc.core.support.JdbcDaoSupport;
import com.ram.employee.dao.EmployeeDAO;
public class EmployeeDAOImpl
extends JdbcDaoSupport implements EmployeeDAO
{
public void createTable()
{
String sql = "create table Address (id integer, city varchar(100))";
getJdbcTemplate().execute(sql);
}
}
applicationContext.xml
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/org_db" />
<property name="username" value="root" />
<property name="password" value="root" />
</bean>
<bean id="employeeDAO" class="com.ram.employee.dao.impl.EmployeeDAOImpl">
<property name="dataSource" ref="dataSource" />
</bean>
</beans>
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans-4.3.xsd">
<bean id="dataSource"
class="org.springframework.jdbc.datasource.DriverManagerDataSource">
<property name="driverClassName" value="com.mysql.jdbc.Driver" />
<property name="url" value="jdbc:mysql://localhost:3306/org_db" />
<property name="username" value="root" />
<property name="password" value="root" />
</bean>
<bean id="employeeDAO" class="com.ram.employee.dao.impl.EmployeeDAOImpl">
<property name="dataSource" ref="dataSource" />
</bean>
</beans>
App.java
package com.ram.core;
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.ram.employee.dao.EmployeeDAO;
public class App
{
public static void main(String[] args)
{
ApplicationContext context = new ClassPathXmlApplicationContext(
"applicationContext.xml");
EmployeeDAO employeeDAO = (EmployeeDAO) context
.getBean("employeeDAO");
employeeDAO.createTable();
System.out.println("Table is created successfully.");
}
}
import org.springframework.context.ApplicationContext;
import org.springframework.context.support.ClassPathXmlApplicationContext;
import com.ram.employee.dao.EmployeeDAO;
public class App
{
public static void main(String[] args)
{
ApplicationContext context = new ClassPathXmlApplicationContext(
"applicationContext.xml");
EmployeeDAO employeeDAO = (EmployeeDAO) context
.getBean("employeeDAO");
employeeDAO.createTable();
System.out.println("Table is created successfully.");
}
}
Output:
Feb 20, 2019 9:52:03 AM org.springframework.context.support.AbstractApplicationContext prepareRefresh
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@35d176f7: startup date [Wed Feb 20 09:52:03 IST 2019]; root of context hierarchy
Feb 20, 2019 9:52:04 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [applicationContext.xml]
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Feb 20, 2019 9:52:05 AM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
Wed Feb 20 09:52:16 IST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Table is created successfully.
INFO: Refreshing org.springframework.context.support.ClassPathXmlApplicationContext@35d176f7: startup date [Wed Feb 20 09:52:03 IST 2019]; root of context hierarchy
Feb 20, 2019 9:52:04 AM org.springframework.beans.factory.xml.XmlBeanDefinitionReader loadBeanDefinitions
INFO: Loading XML bean definitions from class path resource [applicationContext.xml]
Loading class `com.mysql.jdbc.Driver'. This is deprecated. The new driver class is `com.mysql.cj.jdbc.Driver'. The driver is automatically registered via the SPI and manual loading of the driver class is generally unnecessary.
Feb 20, 2019 9:52:05 AM org.springframework.jdbc.datasource.DriverManagerDataSource setDriverClassName
INFO: Loaded JDBC driver: com.mysql.jdbc.Driver
Wed Feb 20 09:52:16 IST 2019 WARN: Establishing SSL connection without server's identity verification is not recommended. According to MySQL 5.5.45+, 5.6.26+ and 5.7.6+ requirements SSL connection must be established by default if explicit option isn't set. For compliance with existing applications not using SSL the verifyServerCertificate property is set to 'false'. You need either to explicitly disable SSL by setting useSSL=false, or set useSSL=true and provide truststore for server certificate verification.
Table is created successfully.
Click the below link to download the code:
https://sites.google.com/site/javaspringram2019/java_spring_2019/SpringDemo_create_table.zip?attredirects=0&d=1
Github Link:
https://github.com/ramram43210/Java_Spring_2019/tree/master/Spring_2019/SpringDemo_create_table
Bitbucket Link:
https://bitbucket.org/ramram43210/java_spring_2019/src/8f8b5563b7f2921ed260908e4906103995d9c6cc/Spring_2019/SpringDemo_create_table/?at=master
See also:
Subscribe to:
Posts (Atom)
Tutorials
- " "AI Integration (1)
- " and "Software Development" (1)
- @EnableJms (2)
- @JmsListener (2)
- @KafkaListener (5)
- @PathVariable (1)
- @RequestBody (2)
- @RequestParam (2)
- 2FA (1)
- 2FA Guide (2)
- 50/30/20 Rule (1)
- Aadhaar Card (1)
- Accept Header (1)
- Access Policy (1)
- Account Creation (1)
- Account Protection (1)
- Accounting (1)
- Active Mandate (1)
- ActiveMQ (9)
- ActiveMQ Tutorial (9)
- Ad Blockers (1)
- AFLD (1)
- AFLP (1)
- Agile Tutorial (3)
- AI (5)
- AI Agents (1)
- AI Development (1)
- AI Education (1)
- AI Explained (3)
- AI Healthcare (3)
- AI Integration (1)
- AI Myths (1)
- AI Technology (1)
- AI Tools (6)
- AI vs Human Learning (1)
- AI vs ML vs DL (3)
- AJAX (1)
- Alice and Bob (1)
- All Java EE Tutorial Links (4)
- All JAVA EE Tutorials (1)
- Amazon EC2 (14)
- Amazon S3 (10)
- Amazon SQS (18)
- Amazon Web Services (6)
- AMQP (18)
- AMQP Model (1)
- Annotations (1)
- Antivirus Guide (1)
- Apache ActiveMQ (1)
- Apache Kafka (49)
- Apache Maven (5)
- Apache Maven Tutorial (1)
- Apache Server (2)
- Apache Server Tutorial (1)
- API (3)
- API Basics (2)
- API Design (3)
- API Documentation (1)
- API for Beginners (2)
- API Security (5)
- API Testing (5)
- App Tour (1)
- Architecture (7)
- Artificial Intelligence (14)
- Asynchronous Messaging (4)
- Asynchronous Programming (1)
- Auth Concepts (1)
- Authentication (8)
- Authorization (1)
- Auto Debit (1)
- Automation (1)
- AutoPay (5)
- AutoPay Fail (1)
- AutoPay Limits (1)
- AutoPay Mandate (1)
- AutoPay Scam (1)
- AutoPay Setup (1)
- Avoid Scams (1)
- AWS (80)
- AWS Architecture (1)
- AWS Basics (1)
- AWS Best Practices (1)
- AWS CLI (2)
- AWS Configuration (1)
- AWS Console (2)
- AWS Cost Optimization (1)
- AWS DynamoDB (10)
- AWS EC2 (15)
- AWS Free Tier (1)
- AWS Guide (3)
- AWS SDK (5)
- AWS Security (2)
- AWS SNS (9)
- AWS SQS (5)
- AWS Tips (1)
- AWS Tutorial (15)
- AWS Tutorials (1)
- Backend (1)
- Backend Development (106)
- Backend Engineering (1)
- Bank Accounts (1)
- Bank Charges (1)
- Bank Linking (2)
- Bank Safety (1)
- Bank Transfer (1)
- Banking (2)
- Banking Comparison (2)
- Banking Explained (1)
- Banking Guide (6)
- Banking Safety (1)
- Banking Security (3)
- Banking Tips (11)
- Basic Authentication (2)
- Battery Life (1)
- Beginner AWS (1)
- Beginner Developer (1)
- Beginner Guide (15)
- Beginner Tech (3)
- Beginner Tutorial (1)
- Beginner Tutorials (1)
- Beginner's Guide (1)
- Beginners (3)
- Beginners Guide (5)
- Best Health Plans (1)
- Big Data (4)
- Bill Payment (1)
- Bill Payments (2)
- Billing (1)
- Biology Explained (1)
- Block Diagram (1)
- Blood Pressure (1)
- BNPL (1)
- Brave (1)
- Brave Browser (1)
- Browser Comparison (3)
- Browser Extensions (3)
- Browser Hacks (2)
- Browser Integration (1)
- Browser Optimization (2)
- Browser Security (1)
- Browser Setup (1)
- Browser Tips (1)
- Browser Tracking (1)
- Browser Tutorial (2)
- Browsers (2)
- Budget Advertising (1)
- Budgeting (7)
- Business (1)
- Business Case Study (1)
- Business Growth (8)
- Business Model (1)
- Business Security (1)
- Business Setup (1)
- Business Strategy (1)
- Business Tech (1)
- Business Tips (7)
- Caching (1)
- Callbacks (4)
- Canva Tutorial (1)
- Cardiac Care (1)
- Cardiac Rehabilitation (1)
- Cardiology (1)
- Career (1)
- Career Advice (2)
- Cashback (1)
- Cashback Tricks (1)
- Cashless Treatment (1)
- Cashless vs Reimbursement (1)
- CDN (5)
- Child Wellness (1)
- Cholesterol (1)
- Choreography vs Orchestration (1)
- Chrome (1)
- Chrome DevTools (1)
- Chrome Extensions (2)
- Chrome vs Edge (1)
- Chrome vs Firefox (1)
- Chromium (1)
- Claim Rejection (2)
- Claims Guide (1)
- CLI (4)
- Cloud Architecture (3)
- Cloud Automation (1)
- Cloud Backup (1)
- Cloud Billing (1)
- Cloud Computing (79)
- Cloud Computing vs On-Premise (1)
- Cloud Cost Optimization (1)
- Cloud Deployment (1)
- Cloud Infrastructure (1)
- Cloud Integration (7)
- Cloud Messaging (1)
- Cloud Migration (1)
- Cloud Monitoring (1)
- Cloud Security (3)
- Cloud Storage (7)
- Cloud Tutorials (1)
- CloudWatch (1)
- Cluster Management (1)
- CMAK (1)
- Coding (2)
- Coding for Beginners (1)
- Coding Tips (1)
- Cognitive Science (1)
- Collection URIs (1)
- Command Line (1)
- Computer Basics (5)
- Computer Care (1)
- Computer Maintenance (1)
- Computer Safety (1)
- Computer Science (1)
- Computer Tricks (32)
- Computer Worms (1)
- Configuration (1)
- Consumer (1)
- Consumer Groups (8)
- Consumer Rights (1)
- Contactless Payments (1)
- Content Creation (1)
- Content Negotiation (2)
- Content-Type (2)
- Cookie Based Auth (1)
- Cooking (1)
- Corporate Insurance (1)
- Cost Management (1)
- Cost Optimization (4)
- CPU (1)
- CPU Tutorial (1)
- Credit Card (1)
- Credit Card Tips (1)
- Credit Cards (2)
- Credit Score (5)
- Cross Browser Testing (1)
- CRUD (5)
- CRUD Operations (2)
- CT Scan Guide (1)
- CURL (1)
- Custom Objects (4)
- Customization (1)
- Cyber Safety (1)
- Cyber Security (11)
- Cybersecurity (28)
- Daily Habits (1)
- DALL-E (1)
- Data Backup (1)
- Data Consistency (1)
- Data Pipelines (1)
- Data Privacy (1)
- Data Processing (1)
- Data Protection (3)
- Data Streaming (2)
- Database (6)
- Database Architecture (3)
- Database Authentication (1)
- Database Creation (1)
- Database Design (3)
- Database Installation (1)
- Database Optimization (2)
- Database Performance (1)
- Database Queries (1)
- Database Scaling (1)
- Database Tutorial (1)
- DataSync (1)
- DAX Accelerator (1)
- Dead Letter Queue (2)
- Dead-letter Queue (1)
- Debit Card (2)
- Debt Avalanche (1)
- Debt Management (1)
- Debt Relief (1)
- Debt Snowball (1)
- Debugging (1)
- Deep Learning (3)
- Default Exchange (1)
- DELETE (2)
- Delivery Delay (1)
- Deployment (1)
- Deserialization (4)
- Design for Beginners (1)
- Design Patterns (330)
- Design Patterns Tutorial (1)
- Desktop Tips (1)
- Developer Tools (1)
- DevOps (34)
- DevOps Tutorial (12)
- Digital Ads (1)
- Digital Advertising (1)
- Digital Banking (11)
- Digital Finance (1)
- Digital Growth (1)
- Digital India (3)
- Digital Literacy (2)
- Digital Marketing (3)
- Digital Payments (59)
- Digital Privacy (1)
- Digital Safety (1)
- Digital Security (3)
- Digital Transformation (2)
- Direct Exchange (1)
- Disease Detection (1)
- Disease Management (1)
- Disease Prevention (3)
- Distributed Systems (24)
- Distributed Tracing (1)
- Distributed Transactions (2)
- DIY Guide (1)
- DLQ (1)
- DNS Tutorials (8)
- Document Formatting (1)
- Dropbox (1)
- DynamoDB (7)
- e-Mandate (1)
- EC2 (6)
- Eclipse (5)
- EDA (1)
- EdTech (1)
- Electricity Bill (1)
- Email for Beginners (1)
- Email Notification (1)
- Email Tutorial (1)
- Embedded Broker (1)
- Emergency Fund (1)
- Emergency Wellness (1)
- EMI (1)
- EMI Bounce (1)
- EMI Management (1)
- Employee Benefits (1)
- Encryption (3)
- Enterprise Architecture (3)
- Enterprise Java (1)
- Enterprise Security (1)
- Erlang (4)
- Erlang OTP (1)
- Error Handling (3)
- Event Driven Architecture (45)
- Event Sourcing (1)
- Event Streaming (3)
- Event-Driven Architecture (5)
- EventBridge (1)
- Excel for Beginners (1)
- Exception Handling (2)
- Exchange Types (2)
- Exercise (1)
- Expert Advice (1)
- External HDD (1)
- Facebook Ads (4)
- Facebook Security (1)
- Failed Payment (1)
- Family Finance (2)
- Family Floater (2)
- Family Health (1)
- Family Protection (2)
- Fanout Exchange (1)
- FastAPI (1)
- Fatty Liver (8)
- Fatty Liver Diagnosis (1)
- Fatty Liver Diet (1)
- Fatty Liver Guide (1)
- Fatty Liver Prevention (1)
- Fatty Liver Stages (1)
- Fatty Liver Treatment (1)
- Fault Tolerance (3)
- FibroScan (1)
- Fibrosis (1)
- FIFO Queue (1)
- File Formats (1)
- File Recovery (1)
- File Transfer (1)
- Filter Policy (1)
- Finance (17)
- Finance Comparison (1)
- Finance Education (2)
- Finance for Beginners (2)
- Finance Security (1)
- Finance Tips (19)
- Financial Education (2)
- Financial Fraud (1)
- Financial Freedom (4)
- Financial Goals (1)
- Financial Literacy (8)
- Financial Management (4)
- Financial Mistakes (1)
- Financial Planning (18)
- Financial Security (3)
- Financial Tech (1)
- Financial Tips (3)
- FinTech (11)
- Fintech Explained (1)
- Firefox vs Brave (1)
- First Aid (1)
- First Job (1)
- Flight Booking (1)
- Fraud Alert (1)
- Fraud Awareness (1)
- Fraud Prevention (5)
- Fraud Protection (1)
- Free AI Tools (1)
- Free Antivirus (1)
- Free Software (1)
- Free Tier (3)
- Freelancing (1)
- Frugal Living (1)
- Full-Stack Development (1)
- Future of Learning (2)
- Future of Tech (1)
- Future of Work (1)
- Future Tech (6)
- Gaming Browser (1)
- Gaming Tips (1)
- GCP (4)
- GCP for Beginners (2)
- GET (2)
- GET vs POST (1)
- Global Internet (1)
- Global Secondary Index (1)
- Gmail Guide (1)
- Gmail Security (1)
- Google Account (1)
- Google Ads (6)
- Google Ads vs Facebook Ads (1)
- Google Chrome (8)
- Google Cloud (6)
- Google Cloud Overview (1)
- Google Cloud Platform (1)
- Google Drive (1)
- Google Drive vs OneDrive (1)
- Google Pay (77)
- Google Pay Business (1)
- Google Pay Refund (1)
- Google Pay Review (1)
- Google Pay Safety (5)
- Google Pay Scam (1)
- Google Pay Scams (2)
- Google Pay Security (3)
- Government Schemes (1)
- Government Services (1)
- GPay (4)
- GPay Fix (1)
- GPay for Business (7)
- GPay Guide (1)
- GPay Tips (1)
- GraalVM (1)
- Gradle (2)
- Gradle Tutorial (1)
- H2 Database (1)
- Hardware (1)
- HDD vs SSD (1)
- Headers Exchange (1)
- Health (22)
- Health Basics (1)
- Health Education (1)
- Health Innovation (1)
- Health Insurance (20)
- Health Insurance Age (1)
- Health Insurance India (1)
- Health Tips (10)
- Healthy Eating (1)
- Healthy Living (2)
- Healthy Routine (1)
- Heart Attack (1)
- Heart Attack Myths (1)
- Heart Attack Prevention (1)
- Heart Attack Recovery (2)
- Heart Attack Science (1)
- Heart Attack Signs (2)
- Heart Care (1)
- Heart Health (7)
- Heart Healthy Diet (1)
- Heart Surgery (1)
- Hibernate (6)
- Hibernate Validator (1)
- Hidden Features (1)
- High Throughput (1)
- Home Remedies (1)
- Hospital Management (1)
- How Browsers Work (1)
- How It Works (5)
- How JMS Works (1)
- How to Choose Insurance (1)
- How UPI Works (1)
- How-to (5)
- How-to Guide (1)
- HTTP Headers (1)
- HTTP Methods (6)
- HTTP Status Codes (1)
- HTTPS (7)
- HTTPS Explained (1)
- IAM (2)
- Identity Management (5)
- Identity Proof (2)
- Identity Provider (1)
- Image Editing (1)
- In-Memory DB (1)
- Incognito Mode (2)
- Income Strategies (1)
- Income Tax India (1)
- India Fintech (1)
- India Insurance Guide (1)
- India Payments (1)
- Individual vs Family Floater (1)
- Installation (4)
- Installation Guide (1)
- Installation Tutorial (2)
- Insurance Basics (1)
- Insurance Claims (1)
- Insurance Comparison (1)
- Insurance Coverage (2)
- Insurance Guide (2)
- Insurance Mistakes (1)
- Insurance Tips (8)
- Insurance Waiting Period (1)
- International Payments (1)
- International Transfer (1)
- Internet (1)
- Internet Basics (1)
- Internet Safety (2)
- Internet Security (5)
- Internet Speed (1)
- Internet Tips (2)
- Investing (2)
- Investing 101 (1)
- Investing for Beginners (4)
- Investing Tips (2)
- Investment Tips (1)
- IRCTC (2)
- IT Infrastructure (1)
- Jackson (3)
- Jackson XML (2)
- JAVA (2617)
- Java Annotations (1)
- Java Backend (1)
- JAVA Basics (1522)
- Java Collection Framework (522)
- Java Collection Framework Tutorial (1)
- Java Development (3)
- Java Installation (1)
- Java Message Service (10)
- Java Objects (4)
- Java Programming (3)
- Java Security (1)
- JAVA Tutorial (18)
- JavaScript (2)
- JAX-RS (1)
- JDBC (117)
- JDBC Tutorial (1)
- JDK 11 (2)
- JDK 17 (3)
- JDK 21 (2)
- JDK 22 (2)
- JDK 23 (2)
- JDK 8 (1)
- Jersey Framework (2)
- JMS (16)
- JMS API (1)
- JMS Architecture (3)
- JMS Tutorial (7)
- JmsTemplate (3)
- JPA (16)
- JPQL (1)
- jQuery (1)
- JSON (36)
- JSON Tutorial (1)
- JSON Web Token (3)
- JUnit (2)
- JUnit 5 (2)
- JWT (7)
- JWT Tutorial (1)
- Kafka (2)
- Kafka Architecture (7)
- Kafka Broker (4)
- Kafka Cluster (4)
- Kafka Components (2)
- Kafka Consumer (11)
- Kafka Essentials (1)
- Kafka Features (1)
- Kafka for Beginners (4)
- Kafka Fundamentals (1)
- Kafka Installation (2)
- Kafka Introduction (3)
- Kafka Manager (1)
- Kafka Offsets (2)
- Kafka Partitions (4)
- Kafka Producer (15)
- Kafka Publisher (1)
- Kafka Replication (1)
- Kafka Scalability (1)
- Kafka Scaling (2)
- Kafka Terminologies (1)
- Kafka Topics (3)
- Kafka Tutorial (48)
- Kafka Use Cases (1)
- Kafka Workflow (1)
- KafkaConsumer (2)
- KafkaProducer (2)
- KafkaTemplate (6)
- Kids Learning (16)
- Kids Learning Tutorial (1)
- KMS (2)
- KYC (1)
- KYC Guide (1)
- Lambda (2)
- Laptop Hacks (1)
- Laptop Upgrade (1)
- Laymans Terms (1)
- Learning (1)
- LEGO Analogy (1)
- LFT Explained (1)
- Lifecycle Policies (1)
- Lifecycle Rules (1)
- Linux (24)
- Linux Server (1)
- Liver Biopsy (1)
- Liver Cirrhosis (1)
- Liver Detox (1)
- Liver Function Test (1)
- Liver Health (3)
- Liver Health Guide (1)
- Liver Symptoms (1)
- Liver Wellness (6)
- Local Development (1)
- Local Shop Growth (1)
- Logging (1)
- Long Polling (2)
- Loose Coupling (1)
- Low End PC (1)
- Low Income Budgeting (1)
- Mac OS (2)
- Mac Tips (1)
- Machine Learning (7)
- macOS (2)
- Make Money Online (1)
- Malware Explained (1)
- Malware Protection (2)
- Mandate Limit (1)
- Mandate Status (1)
- Manual Acknowledgment (1)
- Many-To-Many (2)
- MariaDB (1)
- Marketing (6)
- Marketing Technology (1)
- Marketing Tips (1)
- Mastering API Gateway: Complete Guide (5)
- Maternal Health (1)
- Maven (6)
- MCP (4)
- MCP Explained (1)
- MCP Server (1)
- Medical Advice (1)
- Medical Awareness (1)
- Medical Bills (1)
- Medical Blood Tests (1)
- Medical Education (2)
- Medical Ethics (1)
- Medical Explained (1)
- Medical Facts (2)
- Medical Imaging (3)
- Medical Insurance (1)
- Medical Procedures (1)
- Medical Science (1)
- Medical Technology (1)
- Medical Tests (1)
- Medical Tips (1)
- Medical Treatment (1)
- Medical Warning (1)
- Medications (1)
- Merchant Tips (1)
- Merchant Verification (1)
- Message Broadcasting (1)
- Message Broker (7)
- Message Converter (1)
- Message Filtering (1)
- Message Keys (2)
- Message Queue (9)
- Message Reliability (1)
- Message Retention (1)
- Message Routing (4)
- Message Size (1)
- MessageListener (1)
- Messaging (6)
- Messaging Analogy (2)
- Messaging Concepts (3)
- Messaging Model (1)
- Messaging Models (2)
- Messaging Queue (2)
- Messaging Queues (1)
- Messaging Service (2)
- Messaging Services (1)
- Messaging Standard (1)
- Messenger Analogy (1)
- MFA (1)
- Microservices (114)
- Microsoft Edge (1)
- Microsoft Excel (1)
- Microsoft Store (1)
- Microsoft Word (1)
- Midjourney (1)
- Mobile Apps (1)
- Mobile Payments (1)
- Mobile Recharge (2)
- Mobile Security (1)
- Mockito (1)
- MockMvc (1)
- Model Context Protocol (6)
- Money Management (14)
- Money Recovery (1)
- Money Refund (1)
- Money Safety (4)
- Money Tips (2)
- Money Transfer (2)
- MongoDB Tutorial (9)
- Monolithic (2)
- Mozilla Firefox (1)
- MRI vs CT Scan (2)
- Mutual Funds (9)
- Mysql (16)
- NACH (1)
- NAFLD (1)
- NASH (1)
- Native Query (1)
- Natural Healing (1)
- Natural Health (2)
- NAV (1)
- NAV Explained (1)
- Netflix (5)
- Netflix Architecture (2)
- Netflix System Design (1)
- Network Hospitals (1)
- Network Protocols (1)
- Networking Basics (1)
- NFC (1)
- NoSQL (4)
- NoSQL Basics (3)
- NoSQL Data Modeling (1)
- NoSQL Database (1)
- NoSQL Tutorial (1)
- NPCI (3)
- Number Verification (1)
- Nutrition (1)
- Nutrition Facts (1)
- Nutrition Tips (1)
- Object Lambda (1)
- Object Messaging (1)
- Offline Payments (1)
- Offline Productivity (1)
- One-to-Many (7)
- OneDrive (1)
- Online Fraud (1)
- Online Fraud Prevention (1)
- Online Payments (2)
- Online Privacy (6)
- Online Protection (1)
- Online Safety (19)
- Online Scams (2)
- Online Security (4)
- Online Shopping (1)
- oogle Pay (1)
- Open Connect (4)
- OpenAPI (1)
- Opera GX (1)
- Oracle (10)
- OTP Guide (1)
- OTP Integration (1)
- Pagination (1)
- PAN Card (1)
- Parallel Processing (1)
- Parenting Tips (1)
- Parents Healthcare (1)
- Part-Time Jobs (1)
- Partition Rebalancing (2)
- Partition Strategy (1)
- Passive Income (4)
- Password Manager (1)
- Password Security (1)
- Pause AutoPay (1)
- Payment Failed (2)
- Payment Methods (1)
- Payments (1)
- Paytm (20)
- Paytm for Business (1)
- Paytm Guide (1)
- Paytm QR Code (1)
- Paytm Refund (1)
- Paytm Review (1)
- Paytm Soundbox (2)
- Paytm Tips (14)
- PC Hardware (1)
- PC Maintenance (2)
- PC Optimization (1)
- PC Performance (2)
- PC Protection (1)
- PC Repair (2)
- PC Security (1)
- PC Speed Up (2)
- PDF vs DOCX (1)
- PED (1)
- Pediatric Health (1)
- Performance (1)
- Performance Test (1)
- Performance Tuning (1)
- Personal Finance (23)
- Personal Health Plan (1)
- Personalized Learning (1)
- Phishing Alerts (1)
- Phone Analogy (1)
- PhonePe (21)
- PhonePe Refund (1)
- Photoshop Lite (1)
- Point-to-Point (2)
- POJO (1)
- POST (2)
- POST Request (1)
- POST vs PUT (1)
- Postman (7)
- Postman Tutorial (1)
- PPC Guide (1)
- Pre-Existing Disease (1)
- Pregnancy (1)
- Pricing (1)
- Primary Keys (1)
- Privacy (6)
- Privacy Protection (1)
- Privacy Settings (1)
- Private Insurance (1)
- Processor (1)
- Producer (1)
- Producer Consumer (2)
- Productivity (13)
- Productivity Hacks (1)
- Professional Development (1)
- Profit Tracking (1)
- Programming (4)
- Programming for Beginners (1)
- Programming Foundation (1)
- Programming Guides (1)
- Programming Model (1)
- Programming Tips (1)
- Programming Tutorial (2)
- Programming Tutorials (1)
- Protocol (1)
- Protocol Differences (1)
- Pub-Sub (1)
- Pub/Sub Messaging (1)
- Publish-Subscribe (1)
- PUT (2)
- PuTTY (1)
- PuTTYgen (1)
- PWA (1)
- Python (1)
- QR Code (1)
- QR Code Safety (1)
- QR Code Setup (1)
- Query Parameters (2)
- Queues vs Topics (1)
- Quit Smoking (1)
- RabbitListener (1)
- RabbitMQ (23)
- RabbitMQ Tutorial (11)
- Ram N Java (346)
- Ransomware Attack (1)
- RBI Rules (2)
- RDS (1)
- Real Time Streaming (1)
- Real-Time Data (1)
- Recovery Guide (1)
- Recurring Payments (4)
- Redrive Allow Policy (1)
- Refund Guide (1)
- Refunds (3)
- Reliability (4)
- Resource URIs (1)
- Resources (1)
- ResponseEntity (1)
- REST API (57)
- REST Client (2)
- REST vs SOAP (1)
- RESTful API (1)
- RESTful Architecture (1)
- RESTful Web Services (3)
- RestTemplate (2)
- Retail Technology (1)
- Retry Policy (1)
- Reversible Disease (1)
- Revoke Mandate (2)
- ROI Guide (1)
- Routing Key (1)
- S3 (11)
- S3 Bucket (1)
- S3 Hosting (1)
- S3 Select (1)
- S3 Versioning (1)
- Safari (1)
- Safari vs Chrome (1)
- Safe Browsing (1)
- Saga Pattern (3)
- SAML (1)
- SAML Protocol (1)
- Save Money (1)
- Saving Tips (5)
- Savings Tips (1)
- Scalability (9)
- Scam Alerts (2)
- Scrum Tutorial (6)
- SDK (1)
- SDLC (1)
- Security (8)
- Security Tips (2)
- SEM vs SMM (1)
- Senior Citizens (1)
- Sequence Diagram (2)
- Sequence Diagrams (1)
- Serialization (6)
- Server vs Cloud (1)
- Serverless (4)
- Service Discovery (2)
- Service Discovery in Microservices (2)
- Service Layer (1)
- Service Provider (1)
- Servlets (150)
- Servlets Tutorial (1)
- SES (1)
- Session Management (1)
- Setup Guide (3)
- SFTP (1)
- Shop Owner Tips (1)
- Shopkeeper Guide (1)
- Shopping Tips (1)
- Short Polling (1)
- Side Hustle (3)
- Single Sign On (6)
- SIP (1)
- SIP Failure (1)
- Small Business (3)
- Small Business Growth (1)
- Small Business Guide (1)
- Small Business Tips (2)
- SMS Integration (1)
- SMS Marketing (1)
- SMS Tutorial (3)
- SNS (7)
- SOA (1)
- SOAP (6)
- SOAP 1.1 (1)
- SOAP 1.2 (1)
- SOAP Protocol (1)
- SOAP Request (1)
- SoapUI (2)
- SoapUI Tutorial (2)
- Software Architecture (21)
- Software Development (2)
- Software Development Life Cycle (SDLC) (6)
- Software Engineering (6)
- Software Guide (2)
- Software Install (1)
- Software Integration (1)
- Software Setup (1)
- Software Testing (1)
- Software Update (3)
- Spreadsheet Basics (1)
- Spring (285)
- Spring Boot (237)
- Spring Boot Deployment (1)
- Spring Boot Tutorial (1)
- Spring Cloud AWS (2)
- Spring Cloud Sleuth (1)
- Spring Data JPA (5)
- Spring Data REST (4)
- Spring Framework (1)
- Spring JMS (3)
- Spring Security (4)
- Spring Tutorial (1)
- Spyware Explained (1)
- SQL (62)
- SQL vs NoSQL (1)
- SQS (5)
- SQS Tutorial (10)
- SQS Wait Time (1)
- SSH (2)
- SSL (1)
- SSL TLS Explained (6)
- SSO (5)
- SSO Analogy (1)
- SSO Architecture (1)
- SSO for Beginners (1)
- SSO Simplified (1)
- SSO Tutorial (2)
- Standard Queue (1)
- Static Website (1)
- Stent vs Bypass (1)
- Stocks vs Mutual Funds (1)
- Storage (2)
- Storage Guide (1)
- Stress Management (1)
- Stress Relief (1)
- Student Success (1)
- Students (1)
- Sum Insured (1)
- Swagger (1)
- System Administration (1)
- System Architecture (1)
- System Design (31)
- Tech (8)
- Tech Analogy (1)
- Tech Basics (10)
- Tech Breakdown (1)
- Tech Comparison (7)
- Tech Education (5)
- Tech Explained (18)
- Tech for Beginners (2)
- Tech Guide (9)
- Tech Hacks (1)
- Tech Help (1)
- Tech Review (1)
- Tech Reviews (2)
- Tech Simplified (1)
- Tech Support (1)
- Tech Tips (77)
- Tech Trends (1)
- Tech Trends 2026 (1)
- Tech Tutorial (5)
- Tech Tutorials (4)
- Technology (10)
- Technology Risks (1)
- Technology Trends (1)
- Testing (2)
- The Ultimate Guide to Forward & Reverse Proxies (5)
- Time Management (1)
- TLS (1)
- Token Based Auth (2)
- Top-up vs Super Top-up (1)
- Topic Exchange (1)
- Traditional Servers (1)
- Train Booking (2)
- Transaction Failed (1)
- Transaction History (1)
- Transaction Limits (1)
- Translation (1)
- Travel Guide (2)
- Trojan Virus (1)
- Troubleshooting (7)
- Tutorial (84)
- Tutorials (13)
- Two Phase Commit (1)
- Ubuntu (2)
- UDDI (1)
- UIDAI (1)
- Ultrasound Guide (1)
- Understanding Firewalls | Firewall Tutorial (8)
- Uninstall Java (4)
- Uninstallation (2)
- Unit Testing (1)
- Universal AI Standard (1)
- UPI (19)
- UPI Apps (1)
- UPI AutoPay (12)
- UPI AutoPay Refund (1)
- UPI Collect Request (1)
- UPI Dispute (1)
- UPI Error (2)
- UPI Explained (2)
- UPI Fraud (2)
- UPI Guide (7)
- UPI Help (1)
- UPI ID (1)
- UPI Limit Increase (1)
- UPI Limits (1)
- UPI Lite (9)
- UPI Mistakes (1)
- UPI Payments (2)
- UPI Pending (1)
- UPI PIN (2)
- UPI PIN Reset (1)
- UPI Problems (1)
- UPI Refund (1)
- UPI Safety (7)
- UPI Scams (2)
- UPI Security (2)
- UPI Setup (2)
- UPI Tips (3)
- UPI Troubleshooting (1)
- UPI Tutorial (9)
- UPI vs Cards (2)
- UPI vs Wallet (1)
- URI (1)
- USB Flash Drive (1)
- User Sign-up (1)
- Utility Bills (1)
- Validation (1)
- Verified Badge (1)
- Virus Guide (1)
- Visibility Timeout (2)
- VPN Basics: Understanding Virtual Private Networks (5)
- Waiting Period (1)
- Wealth Building (6)
- Web Browser Guide (1)
- Web Browsers (4)
- Web Browsing Tips (1)
- Web Development (55)
- Web Security (11)
- Web Services (11)
- Web Services Tutorial (4)
- Wellness (11)
- Wellness Education (2)
- Wellness Guides (1)
- Wellness Myths (1)
- Wellness Tips (3)
- WhatsApp (4)
- WhatsApp Architecture (2)
- WhatsApp Web (1)
- Wi-Fi vs Ethernet (1)
- Wildcards (1)
- Windows (1)
- Windows 10 (1)
- Windows 11 (11)
- Windows Defender (1)
- Windows Fix (1)
- Windows Fixes (1)
- Windows Installation (2)
- Windows Paint (1)
- Windows Tips (2)
- WinSCP (2)
- Word Tutorial (1)
- Wrong Deduction (1)
- WSDL (2)
- XML (19)
- XML Response (1)
- XMPP (2)
- YUM (1)
- Zero Investment (1)
- Zookeeper (7)















