Home » Author Archives: Dinuka Arseculeratne

Author Archives: Dinuka Arseculeratne

Few maven tips and tricks

apache-maven-logo

I was working on migrating an existing application that was using WebLogic Workshop (yes you read it right, using an IDE that is out of support) to maven. There were a few gotchas during the journey which i wanted to jot down here for anyone who might find it useful and specially for myself just as a reference. The overall ...

Read More »

Integrating JQGrid with Spring MVC and Gson

spring-interview-questions-answers

I was working on a single page application where i wanted to use the grid functionality in one part of the application which was using Spring MVC. It has been some time since i last used JQGrid and finding the information required to get me up and about was bit of a challenge. On this post, I wanted to collate ...

Read More »

A little bit on the JVM and JIT

java-logo

As you might be aware, the JVM (Java Virtusal Machine) is what makes it possible for Java to adhere to the write-once-run-anywhere paradigm. At its core, the JVM consists of the following components: Heap Stack PermGen and Method Area JIT Compiler Code cache     The heap is where memory is allocated for every new operator you use during the ...

Read More »

Let us write a document style Web Service

java-interview-questions-answers

You might be aware that there are mainly four different styles of web services we can make use of. They are as follows: Document/Literal Document/Literal Wrapped RPC/Encoded RPC/Literal Of course the RPC/Encoded style is now deprecated. If you are interested you can read up on the different styles of web services and their pros on cons on this very comprehensive ...

Read More »

SuperMan bound by Java Monitors

java-logo

Its a dark time in the life of Super Man. Jor-El wants him to go on a voyage to prepare him for his ultimate destiny. Yet the Earth is faced with dooms-day and the Justice League needs their Man of Steel in action to save the world. But you cant do both at the same time since we have just ...

Read More »

Dev vs QA, should there really be a distinction?

software-development-2-logo

We had our scrum of scrum meetings last Wednesday where all scrum masters meet up with our line manager to discuss issues, bottlenecks and success stories of our previous sprint. One issue highlighted was the fact that sometimes the QA(Quality assurance) personnel are clogged up with testing issues that are in the ‘Ready for test’ stage. So one idea that ...

Read More »

Checking out what is new with Servlet 3.0

java-logo

With the JEE6 specification hitting the market, some major changes have taken place with respect to how you would approach developing applications in the enterprise application world. In this article i would be touching upon a few changes that were done with respect to web application development.                 First things first, say good ...

Read More »

How cool is integration testing with Spring and Hibernate

jboss-hibernate-logo

I am guilty of not writing integration testing (At least for database related transactions) up until now. So in order to eradicate the guilt i read up on how one can achieve this with minimal effort during the weekend. Came up with a small example depicting how to achieve this with ease using Spring and Hibernate. With integration testing, you ...

Read More »

Locking with a semaphore : An example

java-logo

Concurrency is one aspect that brings along interesting challenges along with it. If not correctly handled, it brings about race conditions that will baffle people because those issues just pop up from time to time and work flawlessly sometimes. The Java language gives many ways of handling race conditions when dealing with concurrent threads accessing a common resource. Some include; ...

Read More »

Want to take your Java skills to the next level?

Grab our programming books for FREE!

Here are some of the eBooks you will get:

  • Advanced Java Guide
  • Java Design Patterns
  • JMeter Tutorial
  • Java 8 Features Tutorial
  • JUnit Tutorial
  • JSF Programming Cookbook
  • Java Concurrency Essentials