What's New Here?

enterprise-java-logo

Java EE Stateful Session Bean (EJB) example

In this article we are going to see how you can use Stateful Session Beans to keep track of state across a client Session in a simple Web Application. 1. Introduction Stateful Session Beans usually hold information about a specifi ...
agile-logo

Agile Mindset for Your Startup

I got to share the stage with the other half last week at Harvard Innovation Lab, when Jeffrey Beir & I took turns presenting dueling views on building your startup. Myself from the product perspective, Jeffrey from the invest ...
mockito-logo

Imbibing the Fluency of Mockito

I recently found myself writing some code to integrate two disparate platforms. One of these systems is Java based and the other, while not written in Java, offers a Java API. I’ll call these systems Foo and Bar, respectively. I ...
agile-logo

Refining a Change Canvas to Represent a Minimum Viable Change

Using a change canvas helps change agents deliver on the first promise of the Lean Change method, that change be negotiated. Following the principle of negotiated change, successful change requires that both change agents and chan ...
devops-logo

HAPROXY up and running in couple of minutes

I tried HAPROXY for my WEBAPP (Hosted on tomcat) -reason for using HAPROXY is that it also supports WEBSOCKETS and my current project uses websockets for server push. As first step, I tested it with bare bone web application -wow, ...
java-logo

Multiple Inheritance in Java and Composition vs Inheritance

Sometime back I wrote few posts about inheritance, interface and composition in java. In this post, we will look into multiple inheritance and then learn about benefits of composition over inheritance. Multiple Inheritance in Java ...
neo4j-logo

neo4j/cypher: Getting the hang of query parameters

For as long as I’ve been using neo4j‘s cypher query language Michael has been telling me to use parameters in my queries but the performance of the queries was always acceptable so I didn’t feel the need. However, recently I ...
neo4j-logo

Graph Processing: Betweeness Centrality – neo4j’s cypher vs graphstream

Last week I wrote about the betweenness centrality algorithm and my attempts to understand it using graphstream and while reading the source I realised that I might be able to put something together using neo4j’s all shortest pa ...
android-logo

Android HTTP Client : Network error and ConnectivityManager

In this post I will show how to handle connection errors or the situation when the connection changes (i.e from UMTS to WI-FI). In all these cases we have to gracefully handle these errors and implement some strategies to try to r ...
spring-logo

Unit Testing of Spring MVC Controllers: REST API

Spring MVC provides an easy way to create REST APIs. However, writing comprehensive and fast unit tests for these APIs has been troublesome. The release of the Spring MVC Test framework gave us the possibility to write unit tests ...
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.