Java articles
237 subscribers
245 links
Channel providing you with the Java and software development industry related content
Download Telegram
In this article, you are going to learn various ways to register your SQL functions with JPA and Hibernate. Follow the examples to go through all of them and compare their advantages and disadvantages.
#java #jpa #hibernate #middle
https://vladmihalcea.com/hibernate-sql-function-jpql-criteria-api-query/
When things are simple, they are easier to understand, easier to extend and easier to modify. They are better. Simplicity is the ultimate compliment you can give to an architecture or a framework. In this article, you are going to look at how four different frameworks- Spring Boot, Javalin, Vert.x and Micronaut; approach this quest for simplicity.
#jvm #java #frameworks #microservices #micronaut #springboot #middle #senior
https://www.e4developer.com/2018/07/08/the-quest-for-simplicity-in-java-microservices
Dive into this article to understand the concepts behind both Fail-safe iterators and Fail-fast iterators. Follow the comprehensive examples to learn their internal working and cover tiny details considering one of the most common operations you do every day.
#java #collections #junior
https://medium.com/@mr.anmolsehgal/fail-fast-and-fail-safe-iterations-in-java-collections-11ce8ca4180e
A lot of developers and architects discuss the application design, traffic load, frameworks, and patterns to apply to code, but very few of them are discussing the shutdown phase. Check the article to learn how to gracefully shutdown Spring Boot apps and install newer versions.
#java #spring #springboot #middle
https://dzone.com/articles/graceful-shutdown-spring-boot-applications
Want to know what's next for Java 11? The big changes are listed as JEPs. In addition, there are many changes outside of the JEPs. Check out this post on the proposed changes to learn more.
#java #java11
https://dzone.com/articles/java-11-api-changes-so-far
Java 10 gave us, container lovers, a more refined and elegant way of handling our applications in Docker. But what do we still need to know? Check this broad explanation with examples of how older JDKs determine ergonomics inside a container to avoid the annoying out of memory conditions.
#jvm #java #containers #docker #middle
https://medium.com/domain-tech/running-jvm-inside-a-container-what-you-need-to-know-aac6fa6c12c8
It’s declarative. It allows the user to test APIs with no code. It is a robust, specification-based framework to test REST and GraphQL (or any HTTP-based) APIs. It is Just-API. Learn how to use it to create test suites for services.
#java #graphql #rest #testing #middle #senior
https://dzone.com/articles/testing-rest-graphql-services
How often have you been faced with declaring entity instances of an extensive data model? You’ve been likely using some builders or, even worse, special utility classes to fill the default values under the hood. How many overridden methods have you had? If these questions stir up nothing but negative feelings, this article is for you.
#kotlin #dsl #middle #senior
https://www.javacodegeeks.com/2018/07/kotlin-dsl-theory-practice.html
One request in your system results some threads and 10,000 requests results a lot more. This will eventually cause your system to run out of threads as more and more requests are in place. So how do we efficiently handle this case? Solution is NIO. Read on to see how to make one thread do another job like sending another request instead of waiting for the response send by a request.
#java #io #nio #middle #senior
https://medium.com/thinkspecial/reactive-nio-non-blocking-input-output-37c5cb44bf07
When you design and build applications at scale, you deal with two significant challenges: scalability and robustness. You should design your service so that even if it is subject to intermittent heavy loads, it continues to operate reliably. Check this amazing article and see how Message Queues, Spring Boot and Kubernetes can change the game.
#architecture #microservices #spring #springboot #kubernetes #middle #senior
https://learnk8s.io/blog/scaling-spring-boot-microservices
Right now JetBrains has 48 hours sales with 50% off the standard 1st year price for all IDEs!
#news #jetbrains #ide
https://www.jetbrains.com/promo/friends/
You love reactive streams. Great. The application you are working on is non-reactive and full of blocking calls. Not so great. In this article you will explore options to bridge reactive and non-reactive code and potentially make applications more performant.
#java #refactoring #middle #senior
https://itnext.io/how-to-make-legacy-code-reactive-2debcb3d0a40
Java Magazine, July/August 2018
Libraries in Java are available today to do almost anything that is required, and for the most part, they’re open source and freely available. To help you navigate such a wide body of work, Java Magazine dedicated an entire issue to them. Learn the mechanics of library operations, look at the most popular one for creating PDF files, see how to convert pre-Java 9 libraries to Java modules and much more.
Don’t miss it!
#java #news #magazine
http://www.javamagazine.mozaicreader.com/JulyAugust2018#&pageSet=0&page=0&contentItem=0
Get familiar with the most important and meaningful DevOps metrics to monitor at your software development organization. Learn how they can assist you to evaluate the success of DevOps usage in your company. Optimizing any of them can help you make releases faster and create products your clients will love.
#devops #metrics #middle
https://dzone.com/articles/8-meaningful-devops-metrics-you-should-trust
When you work with a few thousands of items performance isn't a concern. But, in some extreme situations, when we have to travel over a few millions of items several times, performance will become a pain. In this article on dealing with collections in Java you will learn more about the forEach loop and how it compares to C style and Stream API.
#java #collections #junior #middle
https://dzone.com/articles/iteration-over-java-collections-with-high-performa
Check this analysis from a survey of the DZone community with a lot of detailed diagrams regarding the popularity of microservices, what programming languages are used the most and which are the prevailing frameworks, tools and trends in the microservices world.
#microservices #statistics #trends
https://dzone.com/articles/dzone-research-microservices-priorities-and-trends
The Java concurrent API and the streaming API are very interesting and powerful tools that we all using Java should learn how to use in a responsible way so we can deliver better and more performant applications. It might take some time to get used to these new concepts, especially when starting working with them, but it is just a matter of practice and good engineering techniques until we are experts on these areas.
#java #collections #junior #middle
https://hackernoon.com/collect-or-not-collect-your-java-stream-733821507ce