Category Archives: Java

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 , , , , , | 1 Comment

Connecting To Presto via JDBC


Hi Guys, In this blog we’ll be discussing about how to make a connection to presto server using JDBC, but before we get started let’s discuss what Presto is. What is Presto ? So, Presto is an open source distributed … Continue reading

Posted in big data, database, Java, Scala, sql | Tagged | Leave a comment

Working with Hadoop Filesystem Api


Reading data from and writing data to Hadoop Distributed File System (HDFS) can be done in a number of ways. Now let us start understanding how this can be done by using the FileSystem API, to create and write to … Continue reading

Posted in Java | Tagged , , | Leave a comment

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 | 4 Comments