Introduction to JSTL

What is JSTL? Simply JSTL (JavaServer Pages Standard Tag Library) is a collection of JSP tags. They support tasks such as XML data processing, conditional execution, database access, loops, and internationalization. We can classify JSTL tags as follows. Core Tags This is the most frequently used library in JSTL. For an example, we can use these tags…

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

Configure GlassFish Server Ports

In the previous post I have explained how to download and install GlassFish server properly in your Ubuntu. If haven’t gone through it, please click here and read that blog post. So now I am going to explain how to change the default ports use by GlassFish server. By default GlassFish server listens to port…

Install GlassFish Server

What is GlassFish server? An application server that can be used to handle http requests by acting as a server. Also, kind of a servlet container. It provides many features to work with JavaEE. GlassFish is an Application Server which can also be used as a Web Server (Http Server). Handling HTTP requests (usually from…

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.