In this article, you are going to learn how and also why you should always synchronize both sides of an entity relationship, no matter if it’s OneToMany, OneToOne or ManyToMany.
#java #db #hibernate
https://vladmihalcea.com/jpa-hibernate-synchronize-bidirectional-entity-associations/
#java #db #hibernate
https://vladmihalcea.com/jpa-hibernate-synchronize-bidirectional-entity-associations/
Vlad Mihalcea
How to synchronize bidirectional entity associations with JPA and Hibernate - Vlad Mihalcea
Learn how to synchronize bidirectional @OneToMany, @OneToOne, and @ManyToMany entity associations when using JPA (Java Persistence API) and Hibernate.
Removing serialization is a long-term goal and is part of Project Amber, which is focused on productivity-oriented Java language features.
#java #news
https://www.infoworld.com/article/3275924/java/oracle-plans-to-dump-risky-java-serialization.html
#java #news
https://www.infoworld.com/article/3275924/java/oracle-plans-to-dump-risky-java-serialization.html
InfoWorld
Oracle plans to dump risky Java serialization
A “horrible mistake” from 1997, the Java object serialization capability for encoding objects has serious security issues
New releases from the last week: IntelliJ IDEA 2018.2 EAP2 and Spring Cloud Data Flow 1.5.0
#releases #ide #spring
https://blog.jetbrains.com/idea/2018/05/intellij-idea-2018-2-eap2-breakpoint-intentions-enhancements-in-code-refactoring-and-more/
https://spring.io/blog/2018/05/16/spring-cloud-data-flow-1-5-0-released
#releases #ide #spring
https://blog.jetbrains.com/idea/2018/05/intellij-idea-2018-2-eap2-breakpoint-intentions-enhancements-in-code-refactoring-and-more/
https://spring.io/blog/2018/05/16/spring-cloud-data-flow-1-5-0-released
spring.io
Spring Cloud Data Flow 1.5.0 Released
The Spring Cloud Data Flow team is pleased to announce the 1.5.0 GA release. Follow the Getting Started guides for Local Server, Cloud Foundry, and Kubernetes.
Here are the highlights:
UI Improvements
Spring Boot, Spring Cloud…
Here are the highlights:
UI Improvements
Spring Boot, Spring Cloud…
In this article you will explore most common mistakes in microservices that cause technical debt as well as suggestions of what you could be doing instead.
#architecture #microservices #middle
https://www.e4developer.com/2018/02/11/common-technical-debt-in-microservices/
#architecture #microservices #middle
https://www.e4developer.com/2018/02/11/common-technical-debt-in-microservices/
In this article, you will explore some strategies for dealing with optional parameters in Java. You can take a look at the strengths and weaknesses of each approach and check the trade-offs involved with selecting one strategy over another.
#java #patterns #junior #middle
https://stackify.com/optional-parameters-java/
#java #patterns #junior #middle
https://stackify.com/optional-parameters-java/
Stackify
Optional Parameters in Java: Common Strategies and Approaches
Learn how to structure your code and build objects with a large number of optional parameters, in a readable and well-structured manner.
A good thing to know for any Java dev working with Excel spreadsheets, let's see how the Apache POI library can help you programatically read and write Excel files with little overhead.
#java #io
https://dzone.com/articles/introduction-to-apache-poi-library
#java #io
https://dzone.com/articles/introduction-to-apache-poi-library
DZone
Introduction to the Apache POI Library
See how to use the Apache POI library to programmatically read and write Excel spreadsheets, including various options to keep your memory footprint low.
Microservices are eating the world! One of the many other challenges that Microservices brings, is the way we test changes made on them. Learn how you can utilise Consumer-Driven Contract Testing with Spring Cloud Contract to deal with this challenge.
#spring #architecture #microservices
https://aboullaite.me/a-practical-introduction-to-spring-cloud-contract/
#spring #architecture #microservices
https://aboullaite.me/a-practical-introduction-to-spring-cloud-contract/
Aboullaite Med
A practical introduction to Spring Cloud Contract
Microservices are eating the world! The arrival of this concept changed not only the way we're designing our software architecture, but also how teams are formed, how they're organized and how they work together. One of the many other challenges that Microservices…
Explore how in Kotlin you can avoid equality, data class, switch, assignment, override and null related defects!
#kotlin #java #middle
https://proandroiddev.com/kotlin-avoids-entire-categories-of-java-defects-89f160ba4671
#kotlin #java #middle
https://proandroiddev.com/kotlin-avoids-entire-categories-of-java-defects-89f160ba4671
Medium
Kotlin avoids entire categories of Java defects
This article looks at many categories of Java bugs that Kotlin prevents in addition to null safety.
In this article it is demonstrated how you can achieve instant startup for Netty, a non-blocking I/O Java networking framework. You can do this by compiling the Netty application into a native executable with GraalVM. Read more to get all the details.
#java #graalvm #netty #middle #senior
https://medium.com/graalvm/instant-netty-startup-using-graalvm-native-image-generation-ed6f14ff7692
#java #graalvm #netty #middle #senior
https://medium.com/graalvm/instant-netty-startup-using-graalvm-native-image-generation-ed6f14ff7692
Medium
Instant Netty Startup using GraalVM Native Image Generation
In this article we show how you can get instant startup for a Netty application by compiling it into a native executable using GraalVM.
There are two types of drivers in the world: those who try to avoid accidents by driving very carefully in extra safe cars and those who prepare to deal with them when they happen by taking out a robust insurance policy. These contrasting approaches are also found in many different fields and IT is no exception.
#architecture #junior #middle
https://devskiller.com/techblog/2018/04/04/Safe-to-fail-vs-fail-safe/
#architecture #junior #middle
https://devskiller.com/techblog/2018/04/04/Safe-to-fail-vs-fail-safe/
Devskiller
Safe to fail vs fail safe
Devskiller Tech Blog
From its creation, Java has supported key concurrency
concepts such as threads and locks. This amazing Refcard will help
you working with multi-threaded programs to
understand core concurrency concepts and how to apply them.
#java #concurrency #middle
https://dzone.com/storage/assets/7862400-dzone-rc061-corejavaconcurrency.pdf
concepts such as threads and locks. This amazing Refcard will help
you working with multi-threaded programs to
understand core concurrency concepts and how to apply them.
#java #concurrency #middle
https://dzone.com/storage/assets/7862400-dzone-rc061-corejavaconcurrency.pdf
In this article you will read about testing message-driven applications in distributed systems. Systems which use messaging as transport mechanism (first five tips) and event sourcing.
#testing #spring #middle
https://pillopl.github.io/testing-messaging/
#testing #spring #middle
https://pillopl.github.io/testing-messaging/
pillopl.github.io
How To Test Your Distributed Message-Driven Application With Spring?
Messaging is cool. It allows to deal with a broad set of various problems that developers face on a daily basis. It is not a silver bullet though. One must assess if their architectural drivers fit this pattern. A list of tips that might help you with this…
Handling checked exceptions in Java makes our programs more verbose and there are cases we do not want to catch them at all. In this article, the author will walk you through how to go about ignoring checked exceptions in Java.
#java #junior #middle
https://dzone.com/articles/ignore-exceptions-in-java
#java #junior #middle
https://dzone.com/articles/ignore-exceptions-in-java
dzone.com
Ignoring Exceptions in Java - DZone Java
A Java developer demonstrates how to programmatically ignoring check exceptions in your Java code, discusses why this is important, and gives some libraries.
TestContainers are just awesome, they provide you a very convenient way to start up and cleanly tear down docker containers in JUnit tests. This feature is very useful for integration testing of applications against real databases and any other resource for which a docker image is available.
#java #testing #springboot #middle
http://www.java-allandsundry.com/2018/05/testcontainers-and-spring-boot.html
#java #testing #springboot #middle
http://www.java-allandsundry.com/2018/05/testcontainers-and-spring-boot.html
Java-Allandsundry
TestContainers and Spring Boot
A blog with observations on Java and Enterprise Java based technologies
Three more JEPs are proposed for JKD 11!
Take a look at the proposals for Nests which will remove the workarounds with bridge methods related to nested classes, improved performance for Aarch64 architectures and the new experimental ZGC garbage collector.
#java #java11 #jep #news
https://dzone.com/articles/jeps-181-315-and-333-proposed-to-target-jdk-11
Take a look at the proposals for Nests which will remove the workarounds with bridge methods related to nested classes, improved performance for Aarch64 architectures and the new experimental ZGC garbage collector.
#java #java11 #jep #news
https://dzone.com/articles/jeps-181-315-and-333-proposed-to-target-jdk-11
dzone.com
JEPs 181, 315, and 333 Proposed to Target JDK 11 - DZone Java
Time to look at three more JEPs being proposed for Java 11. From nest-based access control to garbage collection, let's see what this means for you.
You love Kotlin's inherent support for creating DSLs? Let's take a look at a few different approaches you can take when building a domain-specific language.
#kotlin #dsl #middle
https://dzone.com/articles/kotlin-dsl-basics
#kotlin #dsl #middle
https://dzone.com/articles/kotlin-dsl-basics
dzone.com
Kotlin DSLs: The Basics - DZone Java
Kotlin's DSL support is well-known, so let's look at how to build one with lambdas with receivers, invoke functions, and other tips.
Check out this comparison between two of the most popular solutions for internal services implementation when it comes to low latency - Flow API and LMAX Disruptor.
#java #architecture #middle #senior
https://dzone.com/articles/java-9-flow-api-vs-lmax-disruptor
#java #architecture #middle #senior
https://dzone.com/articles/java-9-flow-api-vs-lmax-disruptor
dzone.com
Java 9 Flow API vs. LMAX Disruptor - DZone Java
This article compares the processes of Flow API and LMAX Disruptor, focusing on their functionality, syntax, memory usage, and performance benchmarks.
This is your starting point if you are a beginner with JPA. Read on how to effectively utilize JPQL to fetch data and fill your gaps about the various features supported.
#Java #jpa #hibernate #sql #junior
https://www.thoughts-on-java.org/jpql/
#Java #jpa #hibernate #sql #junior
https://www.thoughts-on-java.org/jpql/
Thorben Janssen
JPQL - How to Define Queries in JPA and Hibernate
JPQL allows you to define database queries based on your entity model. Learn how to use all its features to build powerful queries with JPA and Hibernate.
Analyze your heapdumps online with this amazing tool! It will help you discover memory leaks, regressions in memory usage and it also provides tips to reduce the overall memory usage. It is totally free so just give it a try!
#java #android #tools #middle #senior
http://heaphero.io/index.jsp
#java #android #tools #middle #senior
http://heaphero.io/index.jsp
heaphero.io
Brilliant Graphs, metrics and heap dump analysis
anti-patterns reported
anti-patterns reported
Identify memory wasted due to wrong memory size settings, inefficient collections, duplicate Objects, duplicate arrays, inefficient arrays, finalization, boxed numbers, object headers
Take your very first steps with machine learning with Deeplearning4j - a modern and powerful tool for machine learning even if you do not have the fundamentals for a well-grounded ML engineer.
#java #ml
http://www.baeldung.com/deeplearning4j
#java #ml
http://www.baeldung.com/deeplearning4j
Baeldung
A Guide to Deeplearning4j | Baeldung
See how to create a simple neural network using deeplearning4j library in Java.
This detailed and expansive post on Kubernetes will give you plenty of information about the features that have made it the most popular container orchestrator.
#kubernetes #architecture #junior #middle
https://dzone.com/articles/a-beginners-guide-to-kubernetes
#kubernetes #architecture #junior #middle
https://dzone.com/articles/a-beginners-guide-to-kubernetes
DZone
A Beginner’s Guide to Kubernetes
Learn all about the background of Kubernetes, what has made it such a popular container orchastration platform, and the effect it's had on the dev community.