Delivered once every Week. No Spam Ever.

Issue - 7


Worthy Read

Java 8 Resources - This is NOT the official website of Java.
JAVA 8

This document describes the style guide, tag and image conventions we use in documentation comments for Java programs written at Java Software, Oracle. It does not rehash related material covered elsewhere:

avOSize is a newly released platform that brings monitoring, diagnosing and unique repair capabilities together in a single pane of glass. javOSize is not an APM tool. javOSize is not a profiler. javOSize is just the tool you need to keep your java applications up, running and fully functional.

When Java was first launched it came with a [fairly limited] set of class libraries. If you search on the Oracle website you will find archived copies of the JDK going all the way back to JDK 1.1, but it seems they no longer maintain a link to JDK 1.0. After some digging through the vast sea of data I’ve collected over the last twenty-plus years, I found a copy of the JDK 1.0.2 source code. Having unpacked it I found that there were 215 classes and interfaces in the standard class libraries (compare that to over 4,500 in JDK 8!).

Inheritance is one of the key concepts in Java, and it’s used in most domain models. That often becomes an issue, if you try to map these models to a relational database. SQL doesn’t support this kind of relationship and Hibernate, or any other JPA implementation has to map it to a supported concept. You can choose between 4 strategies which map the inheritance structure of your domain model to different table structures. Each of these strategies has its advantages and disadvantages. It’s, therefore, important to understand the different concepts and to choose the one that fits best.

This article aims to explain various techniques for controlling the UPDATE SQL statement that is executed whenever an entity is modified by the data access layer.
Hibernate

Music fans who were hoping to dance to the tunes of Beyonce, Radiohead and Lady Gaga (according to rumours) at the 2017 Glastonbury Music were in for a disappointment. Not only did all tickets sell out in 50 minutes, but the ticket website and the official website (the only way to order tickets) couldn’t handle the load and both crashed. The unavailable service due to high levels of traffic left many music lovers unable to connect to the site, or unable to complete their transaction, rendering them ticketless and without access to hearing their favorite melodies live.
testing
,
performance

Java annotation processors to generate simple, safe and consistent value objects. Do not repeat yourself, try Immutables, the most comprehensive tool in this field! Get started!

In this tip, we’ll look at enterprise application integration with Spring Integration and the Spring Integration Java Config DSL.
Spring

There are a lot of frameworks (Coherence, Terracota, Redisson, GridGain, Hazelcast, Infinispan, etc.) nowadays that offer Java the ability to access distributed in-memory utility data types such as Map, Cache, etc.

Robot Framework is a generic test automation framework for acceptance testing and acceptance test-driven development (ATDD). It has easy-to-use tabular test data syntax and it utilizes the keyword-driven testing approach. Its testing capabilities can be extended by test libraries implemented either with Python or Java, and users can create new higher-level keywords from existing ones using the same syntax that is used for creating test cases.
framework

At some point , I bumped into PDFs that were using old and obscure Adobe font formats , which we didn ’ t support quite yet . So , I started Googling about old Adobe font formats and found out if I wanted a pure Java implementation I was on my own , kid.I decided to break off the new font features to a project that goes by the catchy name of FontVerter,and I learned a few ugly things about how fonts work .

Elasticsearch has taken the world by storm. Elasticsearch is a search engine, which provides a distributed, multitenant-capable full-text search engine. It stores data in the form of JSON documents and provides native Java APIs or Rest APIs for integration; underlying it uses inverted index structure. Along with search capabilities, it also provides good analytics capabilities. Together with its open source Logstash product for server-side log tailing and its popular open source visualization tool Kibana, Elastic’s ELK analytics stack is gaining momentum in the market.

Microservices have recently attracted a lot of attention for being the architecture of choice for companies like Uber, Netflix, Spotify, and Amazon. Undoubtedly, this architectural approach has distinct impacts across the SDLC. Many of the core benefits associated with the adoption of microservices actually introduce significant quality challenges.
microservices

The artifact org.springframework.integration:spring-integration-java-dsl:1.2.0.RELEASE is available in the Release repo and Maven Central.
Spring

Basically, we want to move the JPA XML mappings outside of the application JAR so that we can change the mapping without affecting the jar file.
Hibernate

The InjectionPoint class is a new feature that you can use in @Bean producer methods. It is specifically useful in @Bean methods that produces prototype scoped beans. And with it, you can get detailed information about the “places” into which your beans are injected.
Spring

Pivotal recently released updates of their Spring Boot project to versions 1.3.8 and 1.4.1. Version 1.3.8 features 35 bux fixes and dependency upgrades such as Spring Framework, Spring Data, Jetty, and Tomcat. Version 1.4.1, the first maintenance release since version 1.4, features over 150 bug fixes and dependency upgrades such as Spring Integration, Hibernate, Jackson, and Hazelcast.
Spring
,
Spring Boot


Projects

Retrofit - 16176 Stars, 1150 Fork
Type-safe HTTP client for Android and Java by Square, Inc.

AdvancedLuban - 478 Stars, 69 Fork
An Advanced Compress Image Library for Android

tablesaw - 354 Stars, 54 Fork
Tablesaw is the easiest way to do data science in Java. It includes a data-frame, an embedded column-store, and hundreds of methods to transform, summarize, or filter data. If you work with data in Java, it will probably save you time and effort. It also includes support for descriptive statistics, data visualization, and machine learning. There are other, more elaborate platforms for data science in Java. They were designed to work with vast amounts of data, and that requires a big stack: Spark, Hadoop, HDFS, Pig, Yarn, maybe.

Material-ViewPagerIndicator - 221 Stars, 29 Fork
Dot-based Android ViewPager indicator with Material Design animations.

SPRING BOOT ANGULAR 2 STARTER - 203 Stars, 29 Fork
This sample project demonstrates how to integrate Spring Boot application with Angular 2. It could be used as base for your future Angular2 Java projects. Node and npm are installed as part of maven build. Also webpack build and karma tests runs with maven. It also uses Spring Cloud microservices and Spring Security with Oauth2 JWT tokens.

face-detector - 36 Stars, 9 Fork
This application contains all the code from my article on the FaceDetector API.

flowable-engine - 22 Stars, 9 Fork
A compact and highly efficient workflow and Business Process Management (BPM) platform for developers, system admins and business users.

AWACS - 11 Stars, 3 Fork
AWACS is a non-intrusive APM for Java platform.

async-expandable-list - 4 Stars, 0 Fork
async-expandable-list

This example shows how you can use the Spring 4.3 hidden gem: InjectionPoint.