Introduction to functional interfaces A functional interface is an interface that has a single abstract method. Functional interfaces can have multiple static and default methods, but they should have only one abstract method to qualify as a functional interface. Functional interfaces were introduced in Java 8 in order to implement lambda expressions.
Posts by "JBT"
Hibernate bootstrapping
In this article, I will introduce you the new native bootstrapping API of Hibernate 5.
Python Generator
This article aims to provide a somewhat gentle introduction to python generator, and hopefully will inspire the reader to find interesting uses for them. It is a somewhat complicated topic with a lot of small details, so we will use the convention below to provide extra information. Feel free to skip over these, as they… Continue reading
Spring Boot 2 Microservices with Netflix Zuul API Gateway
In this lesson, we will demonstrate how we can make a Spring Boot based microservice which will reside behind an authentication service and the Netflix Zuul API Gateway. We will be using the Spring Initializr tool for setting up the project quickly.
Getting Started With Express Part 5
In the last part of this tutorial series, we created two routes to fetch and add books to our bare minimum application. We had already connected MongoDB database in Part 4 by defining a schema and creating a model to connect with the routes. In this part, we are going to work with HTML forms.
History of java
Java is a general, all-purpose computer programming language that is circumstantial, class-based, object-oriented, and specially designed to have few application dependencies as possible. Java was developed initially for interactive television, but it was too advanced technology for the digital cable television industry at the time. It is proposed to let application developers “write once, run… Continue reading
Getting Started With Expressjs Part 2
In Part 1, Getting Started With Expressjs, we did learn a lot about how Expressjs works as a Node.js framework. We built a simple and generic web server in the previous article that had two routes to function. We then discussed other paradigms such as devDependencies, REST services and the general anatomy of an Express… Continue reading
Getting Started With Express Part 4
In the previous article, we learned how we can leverage ODM like Mongoose to connect a database to our Express server web application and define schema and model inside our web application to interact with the MongoDB database. In this tutorial, we are going to work on the controller part of our web server. We… Continue reading
Java Spring Bean Lifecycle
Spring Beans are Instantiated / Managed by Spring IoC Container. These beans can be created by providing bean-specific configuration metadata to the container. Configuration Metadata can be provided in any of the below formats.
Getting Started With Express Part 3
With an Expressjs application, you can make use of all popular databases available to perform several operations such as Create, Read, Update and Delete (CRUD operations). This tutorial will provide you an overview of a database, we are going to use with our Expressjs application, called MongoDB. Further, we will be looking into pragmatic concepts… Continue reading