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

enterprise-java-logo

Basic Injection / Qualifiers, Scope

This is a continuation of the DI/CDI Basics tackled last week  - in this post, I’ll be discussing Basic Injection, Qualifiers and Scope. In our last topic, there we’re a great deal of information regarding the concepts of DI/ ...
apache-camel-logo

Getting started with Apache Camel using Java

Apache Camel is a very useful library that helps you process events or messages from many different sources. You may move these messages through many different protocols such as between VM, HTTP, FTP, JMS, or even DIRECTORY/FILE, ...
java-logo

Throwing Exceptions – slow and ugly

This post is about a historical experience in conjunction with recently applied performance optimization techniques. Years ago I was swearing at a particular application where I had to discover the undocumented behaviour buried un ...
enterprise-java-logo

Servlet Exception and Error Handling Example Tutorial

Sometime back I wrote a post about Exception Handling in Java but when it comes to web application, we need more than normal exception handling in java. Servlet Exception If you notice, doGet() and doPost() methods throw ServletEx ...
java-logo

10 Subtle Best Practices when Coding Java

This is a list of 10 best practices that are more subtle than your average Josh Bloch Effective Java rule. While Josh Bloch’s list is very easy to learn and concerns everyday situations, this list here contains less common situa ...
enterprise-java-logo

How To Implement Input Validation For REST resources

How To Implement Input Validation For REST resources The SaaS platform I’m working on has a RESTful interface that accepts XML payloads. Implementing REST Resources For a Java shop like us, it makes sense to use JAX-B to genera ...
slf4j-logo

How to configure SLF4J with different logger implementations

There are many good benefits in using slf4j library as your Java application logging API layer. Here I will show few examples on how to use and configure it with different loggers. You can think of slf4j as an Java interface, and ...
apache-camel-logo

Apache Camel 2.12 – Backoff support for less aggressive polling routes

This is another blog post about some upcoming improvements and new features in the next Apache Camel 2.12 release. In the last blog I spoke about cron expressions directly supported in the routes. This blog post is related as we h ...
apache-tomcat-logo

Long Polling Tomcat with Spring

“Ooh err Missus” as comedian Frankie Howerd would have said, but enough of British innuendo and double entendre because Long Polling Tomcat isn’t some kind of sexual deviance with next door’s moggy, it̵ ...
apache-hadoop-mapreduce-logo

Writing a Hadoop MapReduce task in Java

Although Hadoop Framework itself is created with Java the MapReduce jobs can be written in many different languages. In this post I show how to create a MapReduce job in Java based on a Maven project like any other Java project. & ...
Java Code Geeks and all content copyright © 2010-2014, Exelixis Media Ltd | Terms of Use
All trademarks and registered trademarks appearing on Java Code Geeks are the property of their respective owners.
Java is a trademark or registered trademark of Oracle Corporation in the United States and other countries.
Java Code Geeks is not connected to Oracle Corporation and is not sponsored by Oracle Corporation.

Sign up for our Newsletter

15,153 insiders are already enjoying weekly updates and complimentary whitepapers! Join them now to gain exclusive access to the latest news in the Java world, as well as insights about Android, Scala, Groovy and other related technologies.

As an extra bonus, by joining you will get our brand new e-books, published by Java Code Geeks and their JCG partners for your reading pleasure! Enter your info and stay on top of things,

  • Fresh trends
  • Cases and examples
  • Research and insights
  • Two complimentary e-books
Get tutored by the Geeks! JCG Academy is a fact... Join Now
Hello. Add your message here.