This article presents a way to structure a Spring Boot application in vertical modules and horizontal layers and shows you how to test the verticals and layers with the testing features provided by Spring Boot.
#java #testing #spring #springboot #junior #middle #senior
https://reflectoring.io/testing-verticals-and-layers-spring-boot/
#java #testing #spring #springboot #junior #middle #senior
https://reflectoring.io/testing-verticals-and-layers-spring-boot/
reflectoring.io
Structuring and Testing Modules and Layers with Spring Boot
Slice your Spring Boot applications into vertical modules and make them testable in isolation using Spring Boot's testing features.
Kotlin is popular, Kotlin is trendy. Kotlin gives you compile-time null-safety and less boilerplate. But is Kotlin better than Java? Check this interesting story of a project being written twice with a lot of evident examples and consider keeping them in mind.
#java #kotlin #middle
https://allegro.tech/2018/05/From-Java-to-Kotlin-and-Back-Again.html
#java #kotlin #middle
https://allegro.tech/2018/05/From-Java-to-Kotlin-and-Back-Again.html
allegro.tech
From Java to Kotlin and Back Again
Due to the high interest and controversy concerning this blog post, we believe that it is worth adding some context
on how we work and make decisions at Allegro. Each of more than 50 development teams at Allegro has the freedom to choose
technologies from…
on how we work and make decisions at Allegro. Each of more than 50 development teams at Allegro has the freedom to choose
technologies from…
Java EE 8 has been released and its release includes a significant amount of changes relevant to server-side Java developers. Take a look at the new tools that came with it, see how the transition to Jakarta EE is going, and what the future of enterprise Java holds for you.
#java #middle #senior
https://dzone.com/articles/java-ee-8-and-the-open-future-of-java-ee
#java #middle #senior
https://dzone.com/articles/java-ee-8-and-the-open-future-of-java-ee
dzone.com
Java EE 8 and the Open Future of Java EE - DZone Java
This walkthrough of Java EE 8 covers the basics of Servlet 4, JSON-B, JSON-P, SSE, the Date-Time API, and how the transition to the open Jakarta EE is going.
If you are tired of all these beautiful patterns and best practices and you want to write something insane - read this one. Maybe you like horror stories but in code - this may appeal to you!
#java #forfun
https://www.e4developer.com/2018/05/13/how-to-write-horrible-java/
#java #forfun
https://www.e4developer.com/2018/05/13/how-to-write-horrible-java/
E4developer
How to write horrible Java | E4developer
I feel horrible today. I am sick- my throat hurts, my head is not working as it should. Hence, I decided I will tell you how to write horrible Java code. If you are tired of all these beautiful…
Collections have seen a lot of changes in the past couple of JDKs. Let's look at how they've improved in Java 9 and Java 10 and what the new ways of creating immutable ones are.
#java #java9 #java10 #collections #junior #middle
https://dzone.com/articles/java-collections-are-evolving
#java #java9 #java10 #collections #junior #middle
https://dzone.com/articles/java-collections-are-evolving
dzone.com
Java Collections Are Evolving - DZone Java
Learn how to create factory methods for Collections as well as create immutable copies of Collections with the changes introduced in Java 9 and Java 10.
Together with the growing popularity of microservices and light-weight REST API, we are witnessing another trend in Java: the rise of Java Microframeworks. Javalin, Micronaut, Spark and many more make building REST APIs a breeze. In this article, the author looks at this exciting space and shares his opinions on their use.
#java
https://www.e4developer.com/2018/06/02/the-rise-of-java-microframeworks/
#java
https://www.e4developer.com/2018/06/02/the-rise-of-java-microframeworks/
E4developer
The rise of Java Microframeworks | E4developer
Together with the growing popularity of microservices and light-weight REST API, we are witnessing another trend in Java: the rise of Java Microframeworks. Javalin, Micronaut, Spark and many more make…
We all know that it is very hard to build that perfect endpoint that satisfies all clients needs. In this blog post it is explained how you can add GraphQL to your existing JAX-RS application, without too much effort.
#graphql #wildfly
https://www.javacodegeeks.com/2018/05/graphql-on-wildfly-swarm.html
#graphql #wildfly
https://www.javacodegeeks.com/2018/05/graphql-on-wildfly-swarm.html
Java Code Geeks
GraphQL on Wildfly swarm | Java Code Geeks - 2018
“GraphQL is a query language for APIs and a runtime for fulfilling those queries with your existing data. GraphQL provides a complete and understandable description of the data in your API, gives clients the power to ask for exactly what they need and nothing…
New releases from the last week:
Elasticsearch 6.3.0 Released
#releases
https://www.elastic.co/blog/elasticsearch-6-3-0-released
Elasticsearch 6.3.0 Released
#releases
https://www.elastic.co/blog/elasticsearch-6-3-0-released
Elastic Blog
Elasticsearch 6.3.0 Released
The return type of a method can influence your code a lot. It is a valuable piece of information for your API, makes it easier to test a functionality and should be considered adequately every time.
#java #middle
https://www.javacodegeeks.com/2018/05/void-methods-as-behavior-black-holes.html
#java #middle
https://www.javacodegeeks.com/2018/05/void-methods-as-behavior-black-holes.html
Java Code Geeks
Void methods as behavior black holes | Java Code Geeks - 2018
Interested to learn more about Void methods? Then check out our detailed article that describes whether or not void methods are considered harmful!
Are you wondering what to read to improve your knowledge of Java or become a better Java developer? In this article you can get familiar with the greatest Java books that have withstood the test of time.
#java #junior #middle
https://dzone.com/articles/10-all-time-great-books-for-java-programmers-best
#java #junior #middle
https://dzone.com/articles/10-all-time-great-books-for-java-programmers-best
dzone.com
Top 10 Books of All-Time for Java Programmers - DZone Java
Here is a list of ten books that are helpful for Java programmers, teaching cleaner code, effective designs, improved performance, and object-oriented design.
Java 11 will soon be upon us in a few months. Let's take a look at some of the upcoming API Methods. Additionally you can check which methods have been removed from Thread class in JDK 11.
#java #java11
https://dzone.com/articles/api-updates-in-java-se-11-189
#java #java11
https://dzone.com/articles/api-updates-in-java-se-11-189
dzone.com
API Updates in Java SE 11 (18.9) - DZone Java
Let's take a look at the new APIs for Java 11's updated String class as well as a few other helpful APIs to be aware of as JDK 11 approaches.
Wondering about the memory impact of your Java collections? To put it differently: if your Java application crashed with the infamous OutOfMemoryError or experienced long GC pauses — did you check its collections for memory waste? Here's how to think about your collections while keeping overhead in mind.
#java #collections #middle #senior
https://dzone.com/articles/preventing-your-java-collections-from-wasting-memo
#java #collections #middle #senior
https://dzone.com/articles/preventing-your-java-collections-from-wasting-memo
DZone
How to Prevent Your Java Collections From Wasting Memory
Here are some tips to high-performance Java collections and advice for making decisions about using collections to keep memory overhead low.
Java 10 brings with it a host of changes and new features, but also some items to watch out for. In this article, you will go over some key ones and understand their impact on your code.
#java #middle #senior
https://dzone.com/articles/jdk-10-pitfalls-for-the-unwary
#java #middle #senior
https://dzone.com/articles/jdk-10-pitfalls-for-the-unwary
dzone.com
JDK 10: Pitfalls for the Unwary - DZone Java
Enjoying Java 10's new features, like local variable type inference and the Process API? Let's look over some JDK 10 pitfalls to keep an eye out for.
Struggling to make your Java application Cloud Native? In this article you can trace some really good advices to decrease memory footprint, improve startup time and in general, create an optimized Docker image using module system step-by-step.
#java #docker #cloud #middle #senior
https://medium.com/criciumadev/create-a-cloud-native-image-using-java-modules-a670be616b29
#java #docker #cloud #middle #senior
https://medium.com/criciumadev/create-a-cloud-native-image-using-java-modules-a670be616b29
Medium
Create a Cloud Native Image using Java Modules
How to create a minimal and optimized Docker image using module system step-by-step
Wondering how to take up Kubernetes and Spring Boot when scalability and elasticity is a big requirement in your architecture? In this article you can learn how to use both to build microservices that are easy to scale up and down.
#java #microservices #kubernetes #spring #springboot
https://dzone.com/articles/building-elastic-microservices-with-kubernetes-and
#java #microservices #kubernetes #spring #springboot
https://dzone.com/articles/building-elastic-microservices-with-kubernetes-and
dzone.com
Building Elastic Microservices With Kubernetes and Spring Boot From the Ground Up - DZone Microservices
In this microservices development tutorial, learn how to use Kubernetes to build microservices that are easy to scale up and down, with the complete code.
How do we define Java? Here is an extensive look at Java SE, JDK, and OpenJDK and how they have evolved with JDK 11.
#java #java11 #junior
https://dzone.com/articles/how-do-we-define-java
#java #java11 #junior
https://dzone.com/articles/how-do-we-define-java
dzone.com
How Do We Define Java? - DZone Java
This article looks closely at the introduction of JDK 11 and how that has redefined and changed modules associated with Java SE, JDK, and OpenJDK.
Building a full-fledged, production-ready registration for your web application is so much more than just putting together a simple registration page. Check these amazing series to get answers to essential questions before assembling a concrete account flow.
#spring #security #middle
http://www.baeldung.com/spring-security-registration
#spring #security #middle
http://www.baeldung.com/spring-security-registration
Baeldung
Spring Security Registration Series | Baeldung
Building a full-fledged, production ready registration for your web app is oh so much more than just putting together a simple registration page.
Need to use your streams over and over again? With this article you will cover three different approaches, their benefits, and their pitfalls when recycling Java streams.
#java #streams #middle #senior
https://dzone.com/articles/how-to-replay-java-streams
#java #streams #middle #senior
https://dzone.com/articles/how-to-replay-java-streams
DZone
How to Reuse Java Streams
Consider three different approaches to reusing Java streams, such as using Suppliers or memoization, while noting each approach's performance and I/O concerns.
There is no doubt that Spring Framework is one of the most popular Java frameworks and makes it really easy to create real-world, enterprise-grade Java applications by providing features like dependency injection and inversion of control. Take one look at Spring's source code, and you can see the thought that went into the framework. Check out some best practices Java devs can learn from Spring.
#java #spring #middle
https://dzone.com/articles/3-best-practices-java-programmers-can-learn-from-s
#java #spring #middle
https://dzone.com/articles/3-best-practices-java-programmers-can-learn-from-s
DZone
3 Best Practices Java Programmers Can Learn From Spring Framework
See the lessons you can learn from Spring, including favoring unchecked exceptions over checked exceptions, coding for interfaces, and using Template Patterns.