Delivered once every Week. No Spam Ever.

Issue - 6


Worthy Read

EqualsVerifier 2.0 requires Java 7 or higher. EqualsVerifier 1.x requires Java 6 or higher.

Security is of great concern in any web application. If you are looking for a proven and industry standard solution to secure your Java/J2ee based application, then widely used and highly customizable authentication and access control framework - Spring Security is well worth considering.
Spring

In order to improve startup times, the tiered compilation starts interpreting the code and then quickly moves to tiers 1, 2, or 3 where the methods are compiled at the client compilation level (but with different profiling information) and then finally moves to the server compilation level (for more information on this please refer the above article). But even with the improvements in the compilation levels, HotSpot still starts interpreting its bytecode and then moves on to JIT-ting it.

The Architecture of Hibernate Includes many Mappings Files and Configuration Files to run for it and Different types of object that we use for fetching data and also having interfaces and Classes for generating Sessions to work within Application. Similarly we are having Configuration, Session factory, Session, Transaction Object, Connection Provider, Query Object Etc.

The Combinator Pattern is well known in functional programming. The idea is to combine primitives into more complex structures

Bootique improves on the prior art of container-less app launchers. It allows you to write Java apps that look like commands and are made of modules.

On the market since the year 2000, Excelsior JET is a compliant Java SE technology implementation, designed from the ground up around an optimizing Ahead?Of?Time (AOT) Java to native code compiler.

In this article, we will be reading about Hadoop Map Reduce. As we all know, to perform faster processing, we need to process the data in parallel. That's what Hadoop Map Reduce provides us.

In this screencast I created Java EE 7 application with installed CORS filter and exposed a String array as JSON. Finally, I created a react application in ES2015 and used plain, old XMLHttpRequest to access the backend service. The output was rendered as HTML list.

When we create objects in Java, the computer stores them in its memory. To be able to locate an object, the computer assigns it an address in the memory. Every new object you create gets a new address.

Code generation has a long and mixed history. At times it’s been used to try to hide complexity that should have been removed in a language or framework. Sometimes it has resulted in a mess of magical code that humans are forbidden to modify. Yet it has proven its value time and time again, from Rails scaffolding to Yeoman generators to Spring Initializr, to the recent Create React App.

One of the key questions you have to ask yourself is if you need to perform a lot of complex queries because JPQL supports only a subset of SQL. SQL is, therefore, often a better fit for complex queries.
Hibernate

There has been a support for complex state hierarchy from a day one but trouble was that everything had to be defined in a same state configuration. New submachine support adds a feature where a state can be associated with other machine which allows some level of re-use and makes configuration more clean.
Spring

The non-blocking API standard aims to never have any user thread blocks. It is an alternate API for database access – not an extension or replacement for the current JDBC API.

Load Balancing automatically distributes incoming application traffic between two or more computers. It enables you to achieve fault tolerance in your applications, seamlessly providing the required amount of load balancing capacity needed to route application traffic. Load balancing aims to optimize resource use, maximize throughput, minimize response time, and avoid overload of any single resource. Using multiple components with load balancing instead of a single component may increase reliability and availability through redundancy.
load balancer

Scenario : you have to parse a large CSV file ( ~ 90MB ) , practically read the file , and create one java object for each of the lines . In real life , the CSV file contains around 380,000 lines.Assumption : you already know the path of the CSV file before using the code below .

Lambdas, serious type inference, and the Streams API changed my Java code so deeply that it feels like a new language. I can't remember a single for-loop that I had to write with Java 8 (well, except within a Spliterator — more on that later). However, the API won't let you forget one thing: its first and foremost concern is parallelization. This entailed some tough, potentially dangerous compromises.

Anyone that writes Java code is an API designer! It does not matter if the coders share their code with others or not, the code is still used; either by others, by themselves or both. Thus, it becomes important for all Java developer to know the fundamentals of good API design.

Reactor 3 provides a powerful and efficient reactive programming model for Java 8 based applications. The model builds upon the experience of both Reactor 2 and RxJava 1 and introduces a fluent way to compose asynchronous backpressure-ready event processing. Spring Framework 5 uses Reactor 3 to build and eventually expose a complete reactive story.

Creating a localized version of a software can become problematic and unwieldy when changes need to be implemented across multiple versions. The alternative to customizing software for each region is called internationalization. Internationalization is also known as I18N, because there are 18 letters between the first “i” and the last “n.” I18N is used to define a set of source code and binary used to support all of the markets that will be sold. An example of a software that uses internationalization is Microsoft Office. Microsoft Office 97 was shipped as separate binaries, however, MS 2000 has one source code with language packs available as an add-on.

This article explores some options of running Spring Boot applications as a service. Firstly, we are going to explain web applications’ packaging options and system services. In the subsequent sections, we explore different alternatives we have when setting up a service for both Linux as Windows based systems. Finally, we will conclude with some references to additional sources of information
Spring


Projects

spring-loaded - 1339 Stars, 265 Fork
Spring Loaded is a JVM agent for reloading class file changes whilst a JVM is running. It transforms classes at loadtime to make them amenable to later reloading. Unlike 'hot code replace' which only allows simple changes once a JVM is running (e.g. changes to method bodies), Spring Loaded allows you to add/modify/delete methods/fields/constructors. The annotations on types/methods/fields/constructors can also be modified and it is possible to add/remove/change values in enum types. Spring Loaded is usable on any bytecode that may run on a JVM, and is actually the reloading system used in Grails 2.

json-schema-validator - 604 Stars, 231 Fork
This is an implementation with complete validation support for the latest JSON Schema draft (v4, including hyperschema syntax support) and the previous draft (v3 -- no hyperschema support though). Its list of features would be too long to enumerate here; please refer to the links above! Should you wonder about it, this library is reported to work on Android. Starting with version 2.2.x, all APK conflicts have been resolved, so you can use this in this context as well.

Lambada Framework (BETA) - 126 Stars, 16 Fork
Lambada framework is a REST framework that implements JAX-RS API and lets you deploy your applications to AWS Lambda and API Gateway in a serverless fashion. With Lambada you can migrate the existing JAX-RS applications with a very little effort and build scalable applications without having to deal with servers.