java.lang.OutOfMemoryError: PermGen space

java-thumbnail

We encountered the dreaded java.lang.OutOfMemoryError: PermGen spaceerror What does it means – Permgen Space is the space where the class files are all loaded for the first time and there after they are loaded or referenced from there. This error means there is a hell lot of duplicate classes being loaded and not all are […]

java.lang.OutOfMemoryError: Java heap space

java-thumbnail

We encountered the dreaded java.lang.OutOfMemoryError: Java heap space error. How often do we hit this error and look in bewilderment. What does it means Means there is a hell lot of objects being created and not all are being marked for GC. These stray objects are cluttering the heap space and resulting in this error. […]

Pentaho Reporting 3.5 for Java Developers

java-thumbnail

Pentaho Reporting lets you create, generate, and distribute rich and sophisticated report content from different data sources. Knowing how to use it quickly and efficiently gives you the edge in producing reports from your database. If you have been looking for a book that has plenty of easy-to-understand instructions and also contains lots of examples […]

Developing Apache Geronimo Plugins

java-thumbnail

Apache Geronimo is an open source application server that is suitable for use on everything from development environments to enterprise-level deployments. Geronimo brings together the best-of-breed open source technologies to deliver full Java EE 5 compliance. Distributed under the ASL2.0 license, one of the most liberal open source licenses, Geronimo becomes an application server of choice […]

JasperReports 3.5 for Java developers

java-thumbnail

JasperReports 3.5 for Java developers If you want to create easily understood, professional, and powerful reports from disordered, scattered data using a free, open source Java class library, this book on JasperReports is what you are looking for. JasperReports is the world’s most popular embeddable Java open source reporting library, providing Java developers with the […]

Java Vs. JavaScript

java-thumbnail

Java or JavaScript? Which should you learn? Which should you use? These two may seem similar, but there are some very key differences between the two programming languages. A quick look at what makes them similar and what sets them apart may help you decide which one is right for you. also read: Java Tutorials […]

New Features in Java 7.0 – Part 1

java-thumbnail

This article discusses the new features that are available in Java 7.0. Java 7.0 comes with bunch of new features – language level changes as well as API level changes and this article concentrates on the new API features such as Cache API, New Date and Time API and New IO 2 as well as […]

Volatile keyword in Java

java-thumbnail

This tips explains the use of volatile keyword in Java. The keyword volatile is used in the multithreaded environment. also read: Java Tutorials Java EE Tutorials Design Patterns Tutorials Java File IO Tutorials Local Variables in the Thread If you are working with the multithreaded programming, the volatile keyword will be more useful. When multiple […]

Working with arrays : java.util.Arrays class

java-thumbnail

The java.util.Arrays class is basically a set of static methods that are all useful for working with arrays. The Arrays class contains various methods for manipulating arrays (such as sorting and searching). In addition to that, it has got many utility methods for using with arrays such as a method for viewing arrays as lists […]

How to use Enum in Switch?

java-thumbnail

Enums introduced in Java 5.0 (Read: New features in Java 5.0) allows switching to be done based on the enums values. It is one of the greatest new features introduced from the version 5.0. Prior to Java 1.4, switch only worked with int, short, char, and byte values. However, since enums have a finite set of […]