What's New Here?Subscribe to RSS feed

10 XML Interview questions and answers for Java Programmer
XML Interview questions are very popular in various programming job interviews, including Java interviews for web developer. XML is a matured technology and often used as standard for ...

When git ignores your… .gitignore?
I feel like I should start this post saying that I absolutely love git. If you’ve never heard of it, is a source control system like CVS or Subversion but, unlike those two, is a ...

Java Memory Model and optimisation
Overview Many developers of multi-threaded code are familiar with the idea that different threads can have a different view of a value they are holding, this not the only reason a thread ...

Scala: Collections 1
This post contains some info on Scala’s collections. Problem? We want a function that will take an List of Rugby players as input and return those players names that play for ...

Speeding Up Your Website with Varnish
Varnish Cache is a popular caching HTTP reverse proxy. Awhile back, I wrote about using nginx as a reverse proxy. But while nginx is great as a reverse proxy, it doesn’t perform caching. ...

Structural (or) Type Safe Duck Typing in Scala
Structural typing as defined by Wikipedia “A structural type system (or property-based type system) is a major classof type system, in which type compatibility and equivalence are ...

Loan pattern in Java (a.k.a lender lendee pattern)
This post is about implementing loan pattern in Java. Use Case Implement separation between the code that holds resource from that of accessing it such that the accessing code doesn’t ...

SpiderMonkey to V8 for MongoDB and mongometer
With 10gen switching the default JavaScript engine for MongoDB 2.3/2.4 from SpiderMonkey to V8 I thought I’d take the opportunity to compare the relative performances of the releases ...

Spring MVC 3: Upload multiple files
It was just another long day at office with the database not available and one of the team members lagging by a week now. So, we had to work as a team to get it delivered. In Spring ...

Spring Data JDBC generic DAO implementation – most lightweight ORM ever
I am thrilled to announce first version of my Spring Data JDBC repository project. The purpose of this open source library is to provide generic, lightweight and easy to use DAO implementation ...




