Spring MVC-ModelAndView object values not showing using EL

What is EL The expression language started out as part of the JavaServer Pages Standard Tag Library (JSTL) and was originally called SPEL (Simplest Possible Expression Language), then just Expression Language (EL). It was a scripting language which allowed access to Java components (JavaBeans) through JSP.[wikipedia.org] That means we can access/retrieve Java objects returning within…

Log4j-Logger vs Root

You may have ever wondered why we need a “Logger” or a “Root”. What is the difference between those? Logger Logger is associated with a package or sometimes with a particular class. Package/class of a logger is defined by the attribute “name“. A logger logs messages in its package and also in all the child packages…

Disable c3p0 logs

This post covers how to disable c3p0 (database connection pooling) logs printing on console or writing in log files even you have configured SLF4J and logback/SLF4j and log4j.

Migrate From log4j2 to SLF4J

In this post, I am going to explain how to migrate from log4j2 to SLF4J. What is SLF4J? As the original documentation says, SLF4J is a simple facade for logging systems allowing the end-user to plug-in the desired logging system at deployment time. More details available from their website. Click here to visit their official website….

Dompdf

Reporting Reporting is a major module in any software project. The developed system should be able to generate reports time to time. There are several ways to represent those generated data. We can use a tabular format or chart. Whatever the format we use to represent data, ultimately, the end users may need to print…

JMS-Java Message Service

What is JMS? Java Message Service API is a Message Oriented Middleware (MOM) API for sending/passing messages between two or more clients. JMS is a Message Oriented Middleware (MOM) Published and maintained by Sun Microsystems First published in August 1998 Loosely coupled communication Asynchronous messaging Reliable delivery

REST-Coding Examples

Okay, hope now you have some knowledge about REST. I assume you have gone through my previous post covering the basics of REST. If not, click here to go to that post. From where to start??? Well, let’s see what we need. As the slideshow of the previous post mentioned, first of all we need…

REST-Representational State Transfer

REST is an architecture style for designing networked applications which uses HTTP protocol. Here are some details about the REST. Later I will show you how to work on REST. This post will cover just an introduction to REST, next post I will explain the concept using code examples. Also, I have added an slideshow…

Database Connection Pooling With c3p0

Database connection creation consumes more resources. I have described it in a programming tutorial as well. Database connection pooling is an option to address this case. We can integrate a connection pooler to our program. c3p0 is a such database connection pooler helps us to create connection pools.

Simple Login (Maven/MySQL)-Part II

In the previous tutorial we have developed a simple login using maven. if you did not go through it yet, click here to browse that post. In this part we are going to modify the same code. There the connection has initiated when user clicks the login button (if he do more in the application,…

Simple Login (Maven/MySQL)-Part I

Here we are going to start our first coding task. Here I’m going to create a simple web application using maven. I’m using IntelliJ Idea Ultimate as IDE. I assume you have went through the Java Server Pages slideshow and have some knowledge in JSP. We are going to improve this project over the time.

Java Server Pages (JSP) & Java Servlets

Before starting to talk about JSP and Servlets. At the end of the page you will see a slide show describing more about JSP. Later on we will add some coding examples to understand the concepts of JSP. You may need an IDE (Integrated Development Environment) to practice the codes. We are using IntelliJ Idea…