In the tutorial, JavaSampleApproach will help you understand Hibernate Lazy Fetch Type and Eager Fetch Type by sample code with Spring Boot & MySql database.
When using Hibernate for saving a large number of entities to database, You can meet an OutOfMemoryException. The tutorial will show the case and resolve it with Hibernate Batch processing.
– How to start development with Hibernate – XML Mapping File Hibernate
This tutorial will guide you through the steps of configuring Spring JPA One to One relationship with Spring Boot and MySql.
Java 9 defines a minimal logging API which platform classes can use to log messages, together with a service interface for consumers of those messages. In this tutorial, we’re gonna take a look at new Java 9 Platform Logging API and an example that implements LoggerFinder service which can route platform log messages to the logging framework for application logger instead of system logger.
Hibernate is an Java Object-Relational Mapping framework to map classes’ objects and database tables’s records. Hibernate provides API to save and select database’s records by Java objects. In the tutorial, JavaSampleApproach will show you way to start Hibernate by Java sample code.
JDK 9 provides a concrete Publisher named SubmissionPublisher that acts as a compliant Reactive Streams Publisher relying on drop handling and/or blocking for flow control. In this tutorial, we’re gonna take a look at SubmissionPublisher and an example that generates items for Subscribers.
This tutorial will guide you through the steps of configuring Spring JPA One to Many relationship with Spring Boot and MySql.
– Spring JPA – Many to Many relationship
– How to configure Spring JPA One to One Relationship – SpringBoot
– Spring Data Rest – JPA One-to-Many relational entities | SpringBoot + MySql + HAL Browser
– Kotlin SpringJPA Hibernate One-To-Many relationship
In previous post, we have general knowledge about Reactive Streams and Java 9 Flow API Components and Behaviour. In this tutorial, we’re gonna look at an example that implements Publisher, Subscriber with Processor as a bridge for reactive programming.
Remember-me authentication is a solution for websites to remember the identity of a user between sessions. In the tutorial, JavaSampleApppoach will show you how to configure persistent token remember-me authentication with Spring Boot.
In previous post, we have general knowledge about Reactive Streams and Java 9 Flow API Components and Behaviour. In this tutorial, we’re gonna look at an example that implements Publisher and Subscriber for reactive programming.
Java 9 introduces Reactive Streams under
java.util.concurrent.Flow that supports an interoperable publish-subscribe framework. In the tutorial, we’re gonna look at a general view of Reactive Streams and how it comes to Java 9 with some new Flow API Components.
Remember-me authentication is a solution for web sites to remember the identity of a user between sessions. In the tutorial, JavaSampleApppoach will show you way to configure remember-me by Hash-Based Token Approach (Cookie-based tokens) with Spring Boot.
– How to configure Persistent Token Remember Me authentication Approach
– Spring Security – Config Security for Web MVC by Spring Boot
Spring Framework provides JavaMailSender interface & Spring Boot provides auto-configuration for it. So in the tutorial, JavaSampleApproach will introduce how to configure JavaMailSender to send a gmail by a sample code.
Elasticsearch is a distributed, full-text search engine based on Lucene with JSON schema. In the tutorial, JavaSampleApproach will show you how to start SpringBoot ElasticSearch by sample code.
– Apache Solr – How to start Spring Data Solr with SpringBoot
Netflix Zuul is a proxy solution to forward requests to microservices. In the tutorial, JavaSampleApproach will show you way to configure SpringBoot Zuul with routing & filtering.
In the tutorial, JavaSampleApproach will show you way to create a SpringBoot XML REST Service.
The tutorial is a guide to traditional deployment problem: “How to create a Spring Boot Web App War file with Maven then deploys it on Tomcat server”
Java 9 provides a common logging system for JVM components with extremely detailed level, an infrastructure to do the logging. With new command-line option
-Xlog for all logging followed settings, Unified JVM Logging gives us a precise, easy-to-configure tool to do a root cause analysis of complex system-level JVM components.
Javadoc is the tool that can generate documentation for API in HTML format. In previous version of JDK, it’s HTML 4.01 – an old standard. JDK 9 Javadoc now supports to generate HTML5 markup, improves search capability and Doclint.
Internationalization Enhancements for JDK 9 include: Unicode 8.0, UTF-8 Properties Files and enabling CLDR Locale Data by Default.
In earlier version of Java, Image I/O Framework
javax.imageio provides a standard way to plug-in image codecs for some formats such as PNG and JPEG. But TIFF is still missing from this set. It was packaged in
com.sun.media.imageio.plugins.tiff before. Java 9 TIFF Image I/O plugins has a new package called
javax.imageio.plugins.tiff which is renamed from
In this article, we’re gonna take a look at that package and test a simple example.