Book Review: RESTful Web Services with Dropwizard by Alexandros Dallas

RESTful Web Services with Dropwizard` by Alexandros Dallas is a good guide to get started with dropwizard. The author covers most of the features of dropwizard which includes creating RESTful End points, Database access, Authentication, Creating views by means of developing a sample Phonebook application. The book is not an exhaustive guide to dropwizard and … Read more

Book Review: RabbitMQ Essentials by David Dossot

I have been working on integrating with RabbitMQ to implement the messaging architecture. All the time I made use of the basic tutorials available on RabbitMQ site to wade through understanding different concepts around AMQP and RabbitMQ. Yesterday I got to read the RabbitMQ Essentials by David Dossot. Its a pretty short and totally hands … Read more

Parameterized Test Runner in JUnit

We all have written unit tests where in a single test tests for different possible input-output combinations. Lets look how its done by taking a simple fibonacci series example. The below code computes the fibonacci series for number of elements mentioned Lets see the conventional way of testing the above code with multiple input values … Read more

Simple Aspect Oriented Programming (AOP) using CDI in JavaEE

We write service APIs which cater to certain business logic. There are few cross-cutting concerns that cover all service APIs like Security, Logging, Auditing, Measuring Latencies and so on. This is a repetitive non-business code which can be reused among other methods. One way to reuse is to move these repetitive code into its own … Read more

Book Review: Java Performance by Charlie Hunt and Binu John

If you want to: – learn about commands used for OS monitoring – understand about different components of JVM – monitor and tune JVM to improve its performance. then, Java Performance is the book you should be picking. This book covers : – command line tools for OS monitoring. – JVM overview. – tools used … Read more

Getting started with Mocking in Java using Mockito

We all write unit tests but the challenge we face at times is that the unit under test might be dependent on other components. And configuring other components for unit testing is definitely an overkill. Instead we can make use of Mocks in place of the other components and continue with the unit testing. To … Read more

Book Review: Peopleware

Peopleware is a must read for Managers who want to explore and learn about different managerial responsibilities and learn about what not to be done while executing those responsibilities. The content is presented with a touch of humour so you need not be surprised if you are found laughing while you are reading. The authors … Read more

JSON Processing support in JavaEE 7 and JSR-353

JSON processing is not supported out of the box in Java. One would have to make use of 3rd part libraries to enable JSON processing. But with JSR 353 and its reference implementation JSON processing is being brought into the Java language. JavaEE 7 has already included the reference implementation. I wrote a series of … Read more

[Promo]Explore something new this Columbus Day with Packt’s biggest ever sale

Packt Publishing is giving everyone the chance to explore its full range of over 1600 DRM-free eBooks this Columbus Day at a massive 50% off at http://www.packtpub.com, for 4 whole days. Customers simply use the code COL50 in their cart – as many times as they like until Monday October 21st. The offer even extends … Read more