java

  • submit to reddit

Trimou Templates JSON Support

Since version 1.4.0 Trimou has a new extension which delivers some basic JSON support by means of google-gson APIs. In particular, the extension provides a...

0 replies - 568 views - 10/18/13 by Martin Kouba in Announcements

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 - 20875 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 - 2697 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 - 3537 views - 10/15/13 by Nicolas Frankel in Articles

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

0 replies - 3218 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 - 518 views - 10/11/13 by Geoffrey De Smet in Announcements

Review of Getting Started with Google Guava

0 replies - 1119 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 - 13778 views - 10/06/13 by Nicolas Frankel in Articles

Getting Started with Google Guava

0 replies - 6241 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 - 12252 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 - 870 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 - 3837 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 - 21968 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 - 4710 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 - 29752 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 - 15672 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 - 3072 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 - 26429 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 - 2968 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 - 5252 views - 09/09/13 by Sunil Gulabani in Announcements