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 […]

Adding methods to an Enum

java-thumbnail

Enums introduced in Java 5.0 are just compiled java classes with some extra behavior. So you can basically do whatever you can in a normal java class inside an enum as well. That includes adding methods , class level variables and constructors to an enum. Adding methods to an enum works just like adding methods […]

What is transient keyword in Java?

java-thumbnail

This article explains about the transient variable and when it will be used in the Java programming. Another important fact is that, this question is most frequently asked in the Java interviews for checking the basic knowledge of a programmer. Another point is that this keyword is not frequently used by programmer in the normal […]

Ordering Queue Using Comparator Interface and PriorityQueue

java-thumbnail

The basic use of Queue class is to provide a data structure which allows storing objects in a First in First out(FIFO) format. But sometimes one wants to maintain the ordering, based on some other metric. This is exactly the purpose of PriorityQueue, another Queue implementation. You provide it a Comparator, and it does the […]