java

  • submit to reddit

Java.lang.OutOfMemory: PermGen Space - Garbage Collecting a Classloader

We recently ran into the "java.lang.OutOfMemory: PermGen space" issue. The experience has been a real eye opener.  In SMART we use Classloader isolation...

2 replies - 21384 views - 10/16/13 by Raji Sankar in Articles

TestNG @Test Annotation – using expectedExceptions Attribute

@Test Annotation provides an attribute “expectedExceptions” allowing the user to specify the type of exceptions that are expected to be thrown by a test...

0 replies - 2858 views - 10/15/13 by Jagadeesh Motamarri in Articles

getCaller() hack

Disclaimer: the following is a devious hack, it should only be used if you know what you’re doing. As developers, we should only call public APIs....

0 replies - 3561 views - 10/15/13 by Nicolas Frankel in Articles

Apache Camel Messaging Systems: 2nd New Camel Book from Packt

0 replies - 3236 views - 10/11/13 by Kai Wähner in Book Reviews

Will SkyNET control our schedule if the computer optimizes it for us?

Not every organization is comfortable with letting a computer program, such as OptaPlanner (java, open source planning engine), optimize their schedules. Let's...

0 replies - 528 views - 10/11/13 by Geoffrey De Smet in Announcements

Review of Getting Started with Google Guava

0 replies - 1143 views - 10/07/13 by Stephen Kitt in Book Reviews

A Dive into the Builder Pattern

The Builder pattern has been described in the Gang of Four “Design Patterns” book: The builder pattern is a design pattern that allows for the...

8 replies - 14236 views - 10/06/13 by Nicolas Frankel in Articles

Getting Started with Google Guava

0 replies - 6281 views - 10/06/13 by Matthew Nohr in Book Reviews

Is Ceylon Enterprise Ready?

Not since GW-Basic printed "Hello World" on an IBM PC-AT have I been this excited about a programming language.  OK, there was Java and the servlet...

11 replies - 12370 views - 10/04/13 by Akber Choudhry in Articles

Template engine Mixer2 - Let's write view of MVC by java and XHTML

Mixer2 is a XHTML dedicated template engine. You can use it as an alternative technology for JSP or Velocity. Also, you can use Mixer2 for non-web...

0 replies - 891 views - 10/03/13 by Nabedge Watanabe in Announcements

Wiring-in-the-Large: The Missing Technology for Java Cloud Applications

Have you ever wondered why dependency injection in most Java frameworks is only for local, in-process services as opposed to distributed services?I recently...

0 replies - 3892 views - 10/02/13 by Jim Marino in Articles

Java Memory Leak

Java has a garbage collector and therefore there is no such thing as a memory leak. WRONG. This is wrong on many different levels. Although it is...

1 replies - 22501 views - 09/30/13 by Peter Verhas in Articles

Java and XML - Part 2 (JDOM2)

In my first article, I mentioned some terms and posted links about Java and XML in general. In this article, I want to write something about the DOM parsing...

0 replies - 4897 views - 09/24/13 by Kosta Stojanovski in Articles

Creating Custom JavaFX Components with Scene Builder and FXML.

One of the goals of our development with our JavaFX application is to try to keep as much of the UI design as possible within the Scene Builder UI design...

0 replies - 32619 views - 09/24/13 by Rob Terpilowski in Articles

Monitoring and Detecting Memory Leaks in Your Java Application

So your application is running out of memory, you’re spending days and nights analyzing your application hoping to catch the memory holes in your objects....

0 replies - 16297 views - 09/24/13 by Idan Fridman in Articles

Survey Results: Java/JVM Servers and Their Roles in the Cloud

Back on May 29th we sent around a survey on our community mailing list, "Friends of jClarity", asking our members about what infrastructure they were...

1 replies - 3101 views - 09/19/13 by Martijn Verburg in Articles

A Painless Introduction to Java's ThreadLocal Storage

In my last blog post we explored WeakHashMap, which is based on WeakReference in Java. Now let’s look at some best practices for using another powerful...

0 replies - 27474 views - 09/16/13 by Patson Luk in Articles

Bean Manipulation using Dozer Framework

Introduction As you know you can copy file or folder from source location to destination location in any operating system. Have you ever thought about copy...

0 replies - 3206 views - 09/09/13 by Debadatta Mishra in Articles

Restlet Framework - Hello World Example

 Restlet is a lightweight, comprehensive, open source REST framework for the Java platform. Restlet is suitable for both server and client Web...

0 replies - 5603 views - 09/09/13 by Sunil Gulabani in Announcements

Trimou Templates Introduction

Trimou is a simple to use and easy to extend templating engine for any Java SE or Java EE application. It is a Mustache template implementation available...

2 replies - 3676 views - 09/07/13 by Martin Kouba in Articles