List/Grid Java Subscribe to the RSS feed of category Java

Running Map-Reduce Job in Apache Hadoop (Multinode Cluster)
We will describe here the process to run MapReduce Job in Apache Hadoop in multinode cluster. To set up Apache Hadoop in Multinode Cluster, one can read Setting up Apache Hadoop Multi ...

Java EE CDI programmatic dependency disambiguation example – Injection Point inspection
In this tutorial we will see how to implement Java EE CDI dependency disambiguation in a programmatic (or dynamic) way by inspecting injection points. The same applies for programmatic ...

Reducing memory consumption by 20x
This is going to be another story sharing our recent experience with memory-related problems. The case is extracted from a recent customer support case, where we faced a badly behaving ...

5 Reasons to use Guava
Guava is an open source library containing many classes for Java and written by Google. It’s a potentially useful source of miscellaneous utility functions and classes that I’m ...

Goodbye Guvnor. Hello Drools Workbench.
Many things are changing for Drools 6.0. Along with the functional and feature changes we have restructured the Guvnor github repository to better reflect our new architecture. Guvnor ...

JPA 2 | EntityManagers, Transactions and everything around it
Introduction One of the most confusing and unclear thing for me, as a Java Developer has been the mystery surrounding the Transaction Management in general and how JPA handles transaction ...

Creating Internal DSLs in Java, Java 8- Adopting Martin Fowler’s approach
Currently I am reading this wonderful book on DSLs- Domain Specific Languages by Martin Fowler. The buzz around the DSLs, around the languages which support creation of DSLs with ease, ...

Invoking Async method call using Future object in Spring
The next example will demonstrate an async method call inside the Spring container. Why do we need async method calls? In some cases we don’t really know if replay is expected or ...

Design Patterns: Prototype
The one of creational design patterns is a Prototype design pattern. Despite that the Prototype is the creational pattern it distinguishes from other patterns by a concept. I mean that ...

Multiple dynamic includes with one JSF tag
Every JSF developer knows the ui:include and ui:param tags. You can include a facelet (XHTML file) and pass an object, which will be available in the included facelet, as follows: <ui:include ...


