Home » Archives for Nitin Kumar

Author Archives: Nitin Kumar

Nitin Kumar works as a Software Architect , predominately focus on Agile, TDD, Service Oriented Architecture, Grails and JEE. Besides working in software development, He writes technical articles and watches and studies new technologies

Apache Kafka Consumer Rebalance

java-interview-questions-answers

Consumer rebalance decide which consumer is responsible for which subset of all available partitions for some topic(s). For example, you might have a topic with 20 partitions and 10 consumers; at the end of a rebalance, you might expect each consumer to be reading from 2 partitions. If you shut down 10 of those consumers, you might expect each consumer ...

Read More »

Kafka – Exactly-Once Semantics

java-interview-questions-answers

In distributed environment failure is a very common scenario that can be happened any time. In the Kafka environment, the broker can crash, network failure, failure in processing, failure while publishing message or failure to consume messages, etc. These different scenarios introduced a different kind of data loss and duplication. Failure scenarios A (Ack Failed): Producer published message successfully with retry>1 ...

Read More »

Java Interview Reference Guide – Part 1

JAVA Object Oriented Concepts Java in based on Object Oriented concepts, which permits higher level of abstraction to solve any problem in realistic way. Object oriented approach conceptualize the problem solution in real-world object which are easier to reuse across the application. For example Chair, Fan, Dog, computer etc. In Java, a class is a blueprints, template or prototype that ...

Read More »

Spring Integration: A lightweight integration Approach

spring-interview-questions-answers

Today’s application expects access of all business in enterprise environment regardless of application technologies, which require, seamless integration with desperate systems. This integration can be achieved through wiring of desperate systems using Middleware technologies. Integration platform enables environment for applications to share information with each other to make architecture high interoperable. Spring Integration provides a mediation framework to build lightweight ...

Read More »

How to create JQuery DataTable using JSON and servlet

In this article I’ll introduce the basic coding that require to create JQuery DataTable using JSON passed by simple servlet. DataTable is very powerful JQuery based grid with advance features which can be build in short span of time with customize features.             Installation Download Latest JQuery DataTable download Above download will provide two JQuery ...

Read More »

Grails – GORM Tutorial

Grails is known as domain driven language that means we can build application using bottom to top approach which is more nearer to object oriented programming. GORM (Grail Object Relational Mapping) uses intern Hibernate to map the domain with table which gives life to Domain modeling. If we combined everything just only based on domain we could build the whole ...

Read More »

SOA and REST with Grails

I discussed on my previous article about REST and how to leverage RESTful web services on Grails platform. We will further discuss Grails on SOA & REST and try to visualize architecture in details. REST and SOA are different architecture pattern with lots of commonality to make application highly interoperable. As per Thomas Erl SOA is “SOA is a term ...

Read More »

Grails – RESTful Webservice using JAX-RS plugin

I discussed about RESTful architecture consideration and how to build RESTful web services using Jersey JAX-RS [JSR 311]  in JAVA. Today I am going to discuss how to build the RESTful web services using Grails framework. GRAILs framework is the platform which provides end to end solution to build web application from scratch to advance intuitive RIA web application. Grails ...

Read More »

RESTful Webservices with Jersey

java-interview-questions-answers

I have discussed my earlier article about architectural consideration<<link>> to become a RESTful system on distributed environment that are usable my system/machines. This article we are going to discuss how to build web services based on REST architecture consideration. This tutorial explains how to develop RESTful web services in Java with the Tomcat 6, Eclipse and Jersey a JAX-RS (JSR ...

Read More »