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/
#java #jpa #hibernate #middle
https://vladmihalcea.com/hibernate-sql-function-jpql-criteria-api-query/
Vlad Mihalcea
How to use SQL functions in JPQL or Criteria API queries
Learn how to register and call any SQL function in JPQL, HQL or JPA Criteria API queries with JPA and Hibernate.
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
#jvm #java #frameworks #microservices #micronaut #springboot #middle #senior
https://www.e4developer.com/2018/07/08/the-quest-for-simplicity-in-java-microservices
E4developer
The Quest for Simplicity in Java Microservices | E4developer
There is great value in simplicity. 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…
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
#java #collections #junior
https://medium.com/@mr.anmolsehgal/fail-fast-and-fail-safe-iterations-in-java-collections-11ce8ca4180e
Medium
Fail-fast and Fail-safe iterations in Java Collections
Using iterations we can traverse over the collections objects. The iterators can be either fail-safe or fail-fast. Fail-safe iterators…
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
#java #spring #springboot #middle
https://dzone.com/articles/graceful-shutdown-spring-boot-applications
DZone
Graceful Shutdown Spring Boot Applications
This post looks at shutting down Spring Boot apps without loosing all connections in the process. All you will need is JDK 1.8, Maven 3.0+, and your favorite text editor!
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 #java11
https://dzone.com/articles/java-11-api-changes-so-far
dzone.com
Java 11 API Change Proposals - DZone Java
Check out this detailed list of the proposed Java 11 API changes, including changes to String, CharSequence, Character, Path, Reader, Writer, and more!
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
#jvm #java #containers #docker #middle
https://medium.com/domain-tech/running-jvm-inside-a-container-what-you-need-to-know-aac6fa6c12c8
Medium
Running a JVM inside a container; What you need to know
For most of my career, an infrastructure team has been responsible for managing the runtime environment of the applications I’ve worked on…
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
#java #graphql #rest #testing #middle #senior
https://dzone.com/articles/testing-rest-graphql-services
dzone.com
Testing REST and GraphQL Services With Just-API - DZone DevOps
Learn how to use Just-API, a specification-based framework for testing REST and GraphQL APIs, to create test suites for services, in this testing tutorial.
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
#kotlin #dsl #middle #senior
https://www.javacodegeeks.com/2018/07/kotlin-dsl-theory-practice.html
Java Code Geeks
Kotlin DSL: from Theory to Practice - Java Code Geeks - 2022
Interested to learn more about Kotlin DSL? Then check out our article deals with building an “embedded” DSL in Kotlin implemented on the languages syntax!
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
#java #io #nio #middle #senior
https://medium.com/thinkspecial/reactive-nio-non-blocking-input-output-37c5cb44bf07
Medium
Reactive NIO (Non Blocking Input/Output)
Plugging and playing with AOL Cyclops in a Springboot application. ♻️
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
#architecture #microservices #spring #springboot #kubernetes #middle #senior
https://learnk8s.io/blog/scaling-spring-boot-microservices
Learnk8s
Scaling SpringBoot with Message Queues and Kubernetes
You should design your service so that even if it is subject to intermittent heavy loads, it continues to operate reliably. But how do you build such applications? And how do you deploy an application that scales dynamically?
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/
#news #jetbrains #ide
https://www.jetbrains.com/promo/friends/
JetBrains
Monthly and yearly plans with JetBrains Toolbox
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 #refactoring #middle #senior
https://itnext.io/how-to-make-legacy-code-reactive-2debcb3d0a40
Medium
How to Make Legacy Code Reactive
You love reactive streams. Great. The application you are working on is non-reactive and full of blocking calls. Not so great. In this…
The use of if..else chaining in some cases may not be considered the cleanest code you have ever come with. In this article the author will take you through some alternatives and how to end up with an elegant looking block using Optionals.
#java #refactoring #middle
https://codeburst.io/replace-your-if-else-if-nested-if-not-null-then-get-blocks-with-java-8-optional-s-ed9695a6331e
#java #refactoring #middle
https://codeburst.io/replace-your-if-else-if-nested-if-not-null-then-get-blocks-with-java-8-optional-s-ed9695a6331e
Medium
Replace your if..else if…/ nested if-not-null -then-get blocks with Java 8 Optional(s)
Optional is a welcome inclusion in Java 8, famously as an alternative for null values. The main intent of Optional was supplying non-null…
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
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
Mozaicreader
Java Magazine, July/August 2018
View the digital edition of Java Magazine: July/August 2018.
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
#devops #metrics #middle
https://dzone.com/articles/8-meaningful-devops-metrics-you-should-trust
dzone.com
8 Meaningful DevOps Metrics You Should Trust - DZone DevOps
Learn about the eight most important and meaningful DevOps metrics to monitor at your software development company, like deployment frequency and lead time.
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
#java #collections #junior #middle
https://dzone.com/articles/iteration-over-java-collections-with-high-performa
DZone
Iteration Over Java Collections With High Performance
This post looks at collections in Java, specifically the forEach loop and how it compares to C style and Stream API, concluding that rewriting loops is most effective.
Learn about Zipkin and Jaeger, how they work to add request tracing to your logging routine, and how to choose which one is the right fit for you.
#debug #testing #jaeger #zipkin #middle #senior
https://dzone.com/articles/zipkin-vs-jaeger-getting-started-with-tracing
#debug #testing #jaeger #zipkin #middle #senior
https://dzone.com/articles/zipkin-vs-jaeger-getting-started-with-tracing
dzone.com
Zipkin vs. Jaeger: Getting Started With Tracing - DZone Microservices
Learn about Zipkin and Jaeger, how they work to add request tracing to your logging and monitoring, and how to choose which one is right for your microservices.
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
#microservices #statistics #trends
https://dzone.com/articles/dzone-research-microservices-priorities-and-trends
DZone
[DZone Research] Microservices Priorities and Trends
This research from DZone's 2018 user survey looks at trends in tools, frameworks, and more for developing applications with microservices architecture
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
#java #collections #junior #middle
https://hackernoon.com/collect-or-not-collect-your-java-stream-733821507ce
Hackernoon
Collect or not Collect your Java Stream?
New releases from the last time:
#releases #spring #hibernate
Spring Framework 5.1
https://spring.io/blog/2018/07/26/spring-framework-5-1-goes-rc1
Hibernate 5.3
https://www.thoughts-on-java.org/hibernate-5-3/
#releases #spring #hibernate
Spring Framework 5.1
https://spring.io/blog/2018/07/26/spring-framework-5-1-goes-rc1
Hibernate 5.3
https://www.thoughts-on-java.org/hibernate-5-3/
Spring Framework 5.1 goes RC1
Level up your Java code and explore what Spring can do for you.