Tag Archives: java

Finagle : Controlling the Future Of RPC systems


In this blog we’ll use Finagle to build a very simple HTTP server that is also an HTTP client — an HTTP proxy. So Let’s Begin With Some Introduction to the Finagle. Finagle is an extensible Remote Procedure Call (RPC … Continue reading

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

Solr with Java: A basic hands-on with SolrJ


What is Apache Solr: Apache Solr is a search sever that includes the full-text search engine called Apache Lucene. It takes the piece of information (called documents) that are indexed according to the cores. When a query is performed, solr … Continue reading

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

Lightbend Monitoring: Lagom


Lightbend Monitoring provides insight into applications built with Lightbend technologies. It does so by instrumentation of frameworks like Akka and Lagom. The instrumentation is done by a Java agent (called Cinnamon) that runs when your application is starting up. It … Continue reading

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

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

How to integrate your MAVEN project with SonarQube


So, You want to integrate your project to SonarQube for managing the source code quality of your project. That’s indeed a wonderful idea. If you are wondering and excited to learn How to go about it, just keep calm and … Continue reading

Posted in Scala | Tagged , , , , , , , | 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

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

Kick-Off Java 9 (Project Jigsaw) Part – I


Now a day’s monolithic applications comes into micro batches. Every micro batch independent from each others and deploy. Now the Java will come in this flavor using project Jigsaw Java 9 comes with great feature called “Jigsaw“, which modularize monolithic … Continue reading

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

Java Executor Vs Scala ExecutionContext


Java supports low-level of concurrency and some of rich api’s which is just a wrapper of low-level constructs like wait, notify, synchronize etc, But with Java concurrent packages Scala have high level concurrency frameworks for “which goal to achieve, rather … Continue reading

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