In Java 8, PermGen space on the heap is replaced by Metaspace on native memory. The main difference between them is, Metaspace by default auto increases its size up to the memory provided by the Operating System, while PermGen always had a fixed maximum size. So, there will be fewer chances to get the OutOfMemoryError. When PermGen was initially introduced there was no dynamic class loading/unloading, so when the class was loaded it was there
Read more 0java 8
What is Spring Boot? Spring is a popular Java-based framework for building web and enterprise grade application. spring framework provides various modern features via its various projects. Spring team created Spring Boot project to create standalone, production-ready spring based executable applications. Most of the spring boot application requires minimal spring configuration. Why Spring Boot? In a traditional monolithic approach for developing web/RESTful application, a WAR is created and deployed on a web server like: Tomcat,
Read more 0Spring Boot is been created for Rapid development. In this article will go through the steps to create first basic REST API using Spring Boot. We will see the more advanced version of this application in upcoming articles on microservices. Prerequisite: 1. Maven 3.X 2. Java 1.8/1.7 Getting Started - Step by Step guide The best way to bootstrap your Spring Boot projects is to use Spring Initializr It allows you to bootstrap various type
Read more 0In mathematical logic, a predicate is commonly understood to be a Boolean-valued function P: X→ {true, false}, called the predicate on X. Informally, a predicate is a statement that may be true or false depending on the values of its variables. It can be thought of as an operator or function that returns a value that is either true or false. For example, predicates are sometimes used to indicate set membership: when talking about sets,
Read more 0Java has always been an Object Oriented programming language, it means we can't have a function without its class. Other programming languages like C++, PHP, Python, JavaScript and many more, where we write functions and use anywhere, all these languages support functional programming along with Object Oriented programming. Java introduced Functional interface & Lambda Expressions in Java 8, to leverage functional programming to reduce verbosity. What is functional Interface? A Functional Interface is an interface
Read more 1