In this tutorial I am going to explain how to change the log level details in your WebSphere Application Server (WAS). If you are deploying your application to production server, it is always good practice to keep the log level as FATAL or ERROR. We can configure the log levels in Application Server (which will …
Java
Suppressed Exceptions in Java 7
At any point of time only one exception can be thrown by a method per execution. In cases when more than one exception would be thrown from the method, one of them will be suppressed and not thrown by the compiler. This exception is known as the suppressed exceptions in Java. Additional Reading : Java …
Java Exceptions Tutorial
In this tutorial I am going to explain Java exceptions in details and how to use them in the real applications. One of the important measure to assess the quality of your Java code is to review the exception handling and how exceptions scenarios are handled. If you have to write an efficient exception handling, …
Adapter Design Pattern
In this tutorial I am going to explain about the adapter design pattern as part of the design patterns in Java series. Adapter design pattern is one of the structural design pattern because adapter design deals with how we make / structure an object. The primary problem this pattern trying to solve is to make …
Builder Design Pattern
In this tutorial I am going to explain about builder design pattern, this is one of the most widely used design pattern in Java. Builder design pattern comes under the creational design pattern since builder design pattern helps in creating an object using step-by-step approach. Subscribe to our future updates. Builder design pattern solves the problem …
Default Keyword in Java
This tutorial explains how to use default keyword in Java and explains with suitable examples. Default Keyword The following are the scenarios where default keyword can be used in Java : Can optionally be used in switch statement. Can be used to declare default value in Java annotation. From Java 8 on wards ,can be …
Ehcache Example
Ehcache is most widely used Java open source cache implementation. The great advantage of this cache is that it easily integrates with any other libraries. In this tutorial I will write very basic example using the Ehcache library. The latest version: The latest version of ehcache is 2.10.1. You can download the latest distributations of …
Jasper Reports : org.codehaus.groovy.control.CompilationFailedException
This blog post guide you to solve a specific problem / exception encountered while working with Jasper Reports and Java frameworks. If this blog post helps you to solve your problem, please post your comment in the comments section. If not, please write us your problem and Jasper Reports exception with more details. If you …