Java example to create subarray from array. Learn to use Java 8 Arrays.copyOfRange() method along with converting the subarray to list object.
Category: Articles
Java Testing Weekly 29 / 2018
There are many software development blogs out there, but many of them don’t publish testing articles on a regular basis. Also, I have noticed that some software developers don’t read blogs written by software testers. That is a shame because I think that we can learn a lot from them. That is why I decided to create a newsletter that shares the best testing articles which I found during the last week. Let’s get started. Technical Stuff Best Practices for Unit Testing in Kotlin is a very helpful blog post that helps you to write idiomatic test code with Kotlin. The Really Valuable Stuff All of us have a test environment is an interesting blog post that introduces five lessons about test environments which the author has learned during the last 25 years. A Practical Guide To Release Testing is an excellent blog post that explains why need a release plan, describes how you can write it, helps you to provide valuable information to different stakeholders, and gives you some ideas that help you to test your releases. Duplicate Automated Tests is a thought-provoking blog post that helps you to identify duplicate test which are either useful or harmful and
Jib – Building docker image for a Spring Boot App
I was pleasantly surprised by how easy it was to create a docker image for a sample Spring Boot appl…
Java String to String[] Example – HowToDoInJava
Java example to convert string into string array using String.split() method and using java.util.regex.Pattern class. Quick Reference: 1) Convert String to String[] 1.1) String.split() Use split() method to split string into tokens by passing a delimiter (or regex) as method argument. 1.2) Pattern.split() In Java, Pattern is the compiled representation of a regular expression. Use …
Java Print 2D Array – Arrays.deepToString() – HowToDoInJava
Java example to print 2d array of primitives or objects in string format in console or server logs.
Gradle multi project build – parent pom like structure
When you come from a maven background most probably you have been used to the parent pom structure….
Do I need to pay for Java now?
This post gives an overview of the new Java release train as it was announced by Oracle. Next to this the article provides some important information and hints how you should handle new Java releas…
A Guide to Formatting Code Snippets in Javadoc
Sometimes you want to add code snippets to our Javadoc comments, especially when developingan API of some kind. But how do you mark the code snippet so that it will be rendered correctlyin the final Javadoc HTML, especially when special characters like ‘<', '>‘ and ‘@’ are involved?Since there are multiple options to do this – each with different results – this blog post gives an overview on these options and a guideline on when to use which.
Easy Java EE Microservices With Payara Micro – DZone Microservices
Learn some tips for building lightweight Java EE microservices and see how you can deploy them to Payara Micro, making Java a simple language to work with.
Caching in Spring Boot with Spring Security
Interested to learn more about spring security? Then check out our article where we caching in spring boot with spring security!
A Guide to Arrays in Java – DZone Java
This post provides a guide to arrays in Java, covering the definition of an array, the array declaration, and a multitude of array properties in Java.
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!
Stack Overflow Answers the Top Java Questions We Didn’t Know We Had
A collection of Stack Overflow questions that you shouldn’t miss out on:It’s no secret; we all u…
Java Singleton Design Pattern – Best Practices with Examples
In this post, we feature a comprehensive Tutorial on Java Singleton Design Pattern. Design Patterns …
WebSphere Liberty and the IBM commitment to Java innovation
IBM is releasing the latest version of WebSphere Liberty, 18.0.0.2, providing commercial support for the technologies we have been incubating.