Planning to go in for the microservice paradigm or already took over it? Learn about the different types of microservices patterns, synchronous and asynchronous, and the strengths and trade-offs of each.
#atchitecture #microservices #middle
https://dzone.com/articles/patterns-for-microservices-sync-vs-async
#atchitecture #microservices #middle
https://dzone.com/articles/patterns-for-microservices-sync-vs-async
DZone
Patterns for Microservices — Sync vs. Async
Learn about the different types of microservices patterns in software architecture, synchronous and asynchronous, and the strengths and trade-offs of each.
You are probably tired of JPA native queries as it is not comfortable to provide yours as a simple String or to handle the differences between the various database dialects yourself. Other libraries are much better suited to implement complex SQL queries. One of them is jOOQ and if you are planning to benefit from it, you can jump in this getting-started article.
#java #sql #junior #middle
https://www.thoughts-on-java.org/getting-started-with-jooq/
#java #sql #junior #middle
https://www.thoughts-on-java.org/getting-started-with-jooq/
Thorben Janssen
Getting Started with jOOQ - Building SQL Queries in Java
jOOQ provides you with a Java DSL that enables you to build SQL queries in a comfortable and type-safe way. Here is all you need to get started.
Learn why commit messages are so important for organizing your Git repo and discover methods for keeping your logs in order.
#git #cvs #junior #middle
https://dzone.com/articles/how-and-why-to-keep-your-git-commit-history-clean
#git #cvs #junior #middle
https://dzone.com/articles/how-and-why-to-keep-your-git-commit-history-clean
DZone
How (and Why!) to Keep Your Git Commit History Clean
Learn why commit messages are so important for organizing and understanding your Git repository and several methods to keep your commit logs in order.
One of the major benefits of JPMS is that it unlocks new options for tooling on top of it.
Want to learn more about how to visualize Java Module Graphs? Click this tutorial to learn how step-by-step!
#java
https://dzone.com/articles/how-to-visualize-jigsaw-module-graph
Want to learn more about how to visualize Java Module Graphs? Click this tutorial to learn how step-by-step!
#java
https://dzone.com/articles/how-to-visualize-jigsaw-module-graph
dzone.com
How to Visualize Java Module Graphs - DZone Java
This tutorial demonstrates how to visualize a Jigsaw module graph in a Java application, which can be performed with a few basic commands.
This amazing Refcard will help you working with multi-threaded programs to understand core concurrency concepts and how to apply them. You can also use it as a reference of the core library.
#java #concurrency #magazine #middle #senior
https://dzone.com/refcardz/core-java-concurrency?chapter=1
#java #concurrency #magazine #middle #senior
https://dzone.com/refcardz/core-java-concurrency?chapter=1
dzone.com
Core Java Concurrency - DZone Refcards
Contents Include: About Java Concurrency, Concepts, Protecting Shared Data, Concurrent Collections, Threads, Threads Coordination and more...
Want to learn how to read a thread dump? Click here to learn more about thread dumps in Java applications and how to decipher them.
#java #middle #senior
https://dzone.com/articles/how-to-read-a-thread-dump
#java #middle #senior
https://dzone.com/articles/how-to-read-a-thread-dump
DZone
How to Read a Thread Dump
This tutorial explores how to read a thread dump in Java applications by outlining important terminology, providing examples, and guiding you in creating your own.
The new Spring Cloud Finchley GA release is jam-packed with good stuff and represents a major milestone in the journey to reactive microservices. Learn how to utilize reactive programming in Spring WebFlux, Spring Cloud Stream, Spring Dat, Spring Cloud Gateway and Spring Cloud Function!
#spring #middle
https://spring.io/blog/2018/06/20/the-road-to-reactive-spring-cloud
#spring #middle
https://spring.io/blog/2018/06/20/the-road-to-reactive-spring-cloud
spring.io
The Road to Reactive Spring Cloud
<p>The new <a href="https://spring.io/blog/2018/06/19/spring-cloud-finchley-release-is-available">Spring Cloud Finchley GA release</a> is jam-packed with good stuff and represents a major milestone in the journey to reactive microservices. I couldn’t possibly…
#java #tools #ide #middle #senior
Get started with profiling of your Java applications! You will learn how to utilize IntelliJ Idea and VisualVM to get most of it.
https://medium.com/@oleg.vashenkov/profiling-java-app-or-unit-test-in-jetbrains-idea-and-visualvm-6df1653354c2
Get started with profiling of your Java applications! You will learn how to utilize IntelliJ Idea and VisualVM to get most of it.
https://medium.com/@oleg.vashenkov/profiling-java-app-or-unit-test-in-jetbrains-idea-and-visualvm-6df1653354c2
Medium
Profiling java app or unit test in Jetbrains Idea and VisualVM
In this article I’ll cover local CPU profiling of sample java app with IntelliJ Idea 2017, VisualVM and VisualVM Launcher plugin.
Let's take a look at legacy code and how to deal with legacy code using characterization tests and the broken window theory.
#java #junior #middle
https://dzone.com/articles/lets-deal-with-legacy-code
#java #junior #middle
https://dzone.com/articles/lets-deal-with-legacy-code
dzone.com
How to Deal With Legacy Code - DZone Java
This tutorial demonstrates how to use legacy code and some of its new features with an hypothetical application, characterization tests, and the broken windows theory.
This november, the way you view scripting in Java will change. This change is the consequence of JEP 330: Launch Single-File Source-Code Programs.
#java #java11
https://medium.com/@afinlay/new-java-11-feature-launch-single-file-source-code-programs-fadd698abf54
#java #java11
https://medium.com/@afinlay/new-java-11-feature-launch-single-file-source-code-programs-fadd698abf54
Medium
New Java 11 Feature: Launch Single-File Source-Code Programs
This november, the way you view scripting in Java will change. This change is the consequence of JEP 330: Launch Single-File Source-Code…
Oracle has revamped its commercial support program for Java SE opting for a subscription model instead starting in July 2018. (Personal, non-commercial usage continues to be free and does not require a subscription.)
#java #news
https://www.infoworld.com/article/3284164/java/oracle-now-requires-a-subscription-to-use-java-se.html
#java #news
https://www.infoworld.com/article/3284164/java/oracle-now-requires-a-subscription-to-use-java-se.html
InfoWorld
Oracle now requires a subscription to use Java SE
One-time licenses won’t be available for Java SE 8 or later, but separate support contracts also go away
New releases from the last week:
Updated Inspections and Intentions in IntelliJ IDEA 2018.2
#releases
https://blog.jetbrains.com/idea/2018/06/updated-inspections-in-intellij-idea-2018-2/
Updated Inspections and Intentions in IntelliJ IDEA 2018.2
#releases
https://blog.jetbrains.com/idea/2018/06/updated-inspections-in-intellij-idea-2018-2/
JDK 11’s Rampdown Phase One is here. So, what does this mean for the next Java version? The lineup is set – JDK 11 is locked in with 17 new JEPs for you to tool around and explore. JDK 11 is on track for a general release in September.
#java #java11 #news #middle #senior
https://jaxenter.com/jdk-11-rampdown-phase-one-146293.html
#java #java11 #news #middle #senior
https://jaxenter.com/jdk-11-rampdown-phase-one-146293.html
JAXenter
JDK 11 is in Rampdown Phase One - JAXenter
JDK 11’s Rampdown Phase One is here. The lineup is set – JDK 11 is locked in with 17 new JEPs for developers to tool around and explore.
In this post, the author explains some Java performance optimization tips. They can only be really applicable in some specific high-performance scenarios, but in those, however, they could make a considerable difference.
#java #performance #middle
https://raygun.com/blog/java-performance-optimization-tips/
#java #performance #middle
https://raygun.com/blog/java-performance-optimization-tips/
Raygun Blog
Java performance optimization tips: How to avoid common pitfalls
Learn how to optimize your Java programs with our essential optimization tips, avoiding common mistakes that can hamper your code’s performance.
Get started with these amazing Registration series if you're interested in building a registration flow, and understanding some of the frameworks basics.
Then, explore the topics you're most interested in, related to security.
Finally, have a look at some of the more advanced topics, such as the OAuth support.
#java #spring #security #middle
http://www.baeldung.com/security-spring
Then, explore the topics you're most interested in, related to security.
Finally, have a look at some of the more advanced topics, such as the OAuth support.
#java #spring #security #middle
http://www.baeldung.com/security-spring
Baeldung
Security with Spring Series | Baeldung
Security with Spring Tutorial - how to Secure an MVC project, Login and Logout, how to Secure a REST Service using OAuth.
Managing the lifecycle of Spring Boot Application is very important for your production-ready system. In this write-up the author emphasizes on the destruction phase and will take you through the different ways to shut down a Spring Boot Application.
#spring #springboot #junior #middle
http://www.baeldung.com/spring-boot-shutdown
#spring #springboot #junior #middle
http://www.baeldung.com/spring-boot-shutdown
Baeldung
Shutdown a Spring Boot Application | Baeldung
Have a look at different ways to shut down a Spring Boot Application.
Although hidden from the Java library code, the sun.misc.Unsafe package is Java's magic sauce. Do not miss this article to find out why!
#java #history #statistics #forfun
https://dzone.com/articles/javas-magic-sauce
#java #history #statistics #forfun
https://dzone.com/articles/javas-magic-sauce
dzone.com
Java’s Magic Sauce - DZone Java
This post looks at the sun.misc.Unsafe package. While this package was hidden from the code library, it is essential to Java's success for memory access and atomic operations.
Java is often criticized by its heavy syntax which makes you write longer code than while using other modern programming languages. This is true but more important here is that there are several ways you can improve by it’s essential functionality. Annotation Processing is definitely the one you’ll like.
#java #middle #senior
https://medium.com/@jintin/annotation-processing-in-java-3621cb05343a
#java #middle #senior
https://medium.com/@jintin/annotation-processing-in-java-3621cb05343a
Medium
Annotation Processing in Java
Java is often criticized by its heavy syntax which make you to write longer code than other modern programming languages. Which is true but…
Functional programming advocates for programs with no state. Dive into it and find out how to add state to your functions (without turning it into an object) with the help of these practical examples: cache, lazy initialization with memoization, and proving indexes.
#java #middle
https://dzone.com/articles/functionalfun-states-in-functions-cache-lazy-and-c
#java #middle
https://dzone.com/articles/functionalfun-states-in-functions-cache-lazy-and-c
DZone
State in Functions: Cache, Lazy + Memoization, and Counter
See how you can use state and functions together in Java for caching, lazy initialization and memoization, and creating a counter.
New releases from the last week:
#releases
Apache Camel 2.22 Released with Spring Boot 2 Support
https://www.javacodegeeks.com/2018/07/apache-camel-2-22-released-spring-boot-2.html
JUnit 5.3.0-M1
https://junit.org/junit5/docs/snapshot/release-notes/index.html#release-notes-5.3.0-M1
#releases
Apache Camel 2.22 Released with Spring Boot 2 Support
https://www.javacodegeeks.com/2018/07/apache-camel-2-22-released-spring-boot-2.html
JUnit 5.3.0-M1
https://junit.org/junit5/docs/snapshot/release-notes/index.html#release-notes-5.3.0-M1
Java Code Geeks
Apache Camel 2.22 Released with Spring Boot 2 support | Java Code Geeks - 2018
Interested to learn more about Apache Camel 2.22? Then check out our article where the latest Apache Camel has officially fully support of Spring Boot 2!