Category Archives: Java

Building Microservices Based Enterprise Applications in Java Using Lagom – Part I


As we know, now days, most of the enterprise applications design as a “Microservices Architecture” because of scalability, sharding, loosely-coupling and many others reasons are there. On the other hand  JavaEE help us for building an Enterprise Applications. As we … Continue reading

Posted in Akka, Java, Microservices, Scala | Tagged , , , , , , , , , , | 2 Comments

Application compatibility for different Spark versions


Recently spark version 2.1 was released and there is a significant difference between the 2 versions. Spark 1.6 has DataFrame and SparkContext while 2.1 has Dataset and SparkSession. Now the question arises how to write code so that both the versions of … Continue reading

Posted in apache spark, Java, Scala, Spark | Tagged , , , , | 3 Comments

Kafka – Sending Object as a message


Kafka lets us publish and subscribe to streams of records and the records can be of any type, it can be JSON, String, POJO, etc. Kafka gives user the ability to creates our own serializer and deserializer so that we … Continue reading

Posted in Apache Kafka, Java | 1 Comment

Introduction to JAXB 2.0


JAXB stands for Java Architecture for XML Binding. It provides mechanism to write java objects into XML and read XML into object. Simply, you can say it is used to convert java object into XML and vice-versa. JAXB provides a … Continue reading

Posted in Java, Scala | Tagged , , , | 1 Comment

Creating A High Order Function From A BiFunction And Predicate In Java8


In this Blog we will be reading about creating a high order function from a bifunction and predicate in java8.Firstly a brief introduction to bifunction,predicate,high order function in java8 Predicate:Predicate in java 8 is used to apply a filter to a … Continue reading

Posted in Java, Scala | 1 Comment

Knolx : Realm Mobile Database


Hi guys, Knoldus organized a knolx session on the topic : Realm Mobile Database. A better mobile database means better apps. Realm is a mobile database that runs directly inside phones, tablets or wearables. It saves data in minutes so … Continue reading

Posted in database, Java | Leave a comment

Introduction to Jenkins


What is Jenkins Jenkins is a powerful application that allows continuous integration and continuous delivery of projects, regardless of the platform you are working on. It is a free source that can handle any kind of build or continuous integration. … Continue reading

Posted in Java, Scala, Test, testing, web application | 3 Comments

Upgrading to Selenium 3 with Gecko Driver


In this blog I will be discussing about the latest version of selenium i.e Selenium 3 . To use selenium 3 , we need Gecko driver to run the test cases in Mozilla browser. So,the first question that arises in … Continue reading

Posted in Java, JavaScript, sbt, Test, testing, tests, Web, web application | Tagged , , , , | Leave a comment

Kick-Off Java 9 (Project Jigsaw & ServiceLoader) Part – II


Java  comes with major changes and new surprises for developers. Major changes came in  Java 5 and Java 8, but now Java 9 will come with new mysteries and changes. In the last post we were discussing about Java 9 … Continue reading

Posted in Java, Scala | Tagged , , , , , , | Leave a comment

Play With Java ServiceLoader forget about Dependency Injection(DI) Frameworks


In most of the applications we are using Dependency Injection for loosely couple of our code. Some time, we just require simple DI, nothing else, for those, we need to include some of our DI frameworks like Spring, Google Guice … Continue reading

Posted in Java, Scala | Tagged , , , , | 3 Comments