Java/JVMNode.jsSoftware development
Mongoose is an object modelling package for Node that essentially works like an ORM for many popular languages much like Hibernate is for JAVA. Below are some of the mongoose special scenario(s) I stepped upon while working on the project. It took me some time to figure it out. Hopefully below details would prove helpful […]
What is Jxls? Jxls is a Java library developed as a wrapper around existing open source projects known by the name of Apache POI and Java Excel API, to generated Excel reports quickly. Why Jxls, if Apache POI is already there? We often come across a general scenario where we want a report to be highly presentable […]
Automation TestingJava/JVMTechnology
Cucumber is an automation tool based on Behavior Driven Development (BDD) framework which is used to write tests for a web application. It allows users such as Business Analysts, Developers, Testers, etc. to automate the functionality in an easily readable and understandable format (like plain English). Let us explore more about this automation tool. Requirement […]
Type Inference means that the data type of any expression (e.g. method return type or parameter type) can be deduced automatically by the compiler. Groovy language is a good example of programming languages supporting Type Inference. Similarly, Java 8 Lambda expressions also support Type inference. Let’s understand how it works with a few examples. Suppose […]
Java/JVMSoftware developmentTechnology
Lambda expressions come with a standard rule that they can only be assigned to a reference variable which is a Functional Interface i.e. an interface having one and only one abstract method. Besides, a Lambda expression does not care about the name of a function and/ or any access specifier as it tries to infer […]
Problem We had a use case where we needed to use machine learning to make predictions in real time. To give an estimate of what we consider real time – latency less than 10 milliseconds for our predictions. In this blog, we would discuss what is needed to have the kind of latency for machine […]
Java/JVMSoftware developmentTechnology
As we already know that Lambda Expressions are used to support functional programming in Java. The default behaviour of Lambda expressions is to accept only those interfaces as reference variables which have only one abstract method. We call such interfaces Functional Interfaces. You could also name them as SAM, i.e., Single Abstract Method interfaces. Java […]
To understand this topic let us directly start with an example. List<Integer> arrayOfIntegerList[] = new ArrayList<>[10]; // compile time error !! You will find that a simple statement like this will not even compile because the Java compiler does not allow this. To understand the reason, you first need to know two arrays are covariant and generics are invariant. […]
We all have search functionality in our applications. It is one of the most core features you would find ranging from searching for users, products, companies, etc. But are you sure your search functionality is doing exactly what it is supposed to do? You might have written test cases for it as well. But still, there are things […]