Java example to format or convert LocalDateTime instance to String using DateTimeFormatter class.
Category: Articles
Java parse String to Date – HowToDoInJava
Learn to parse dates from string to java.util.Date object. Also see some useful date pattern strings, which will help you in building your own custom date pattern. Useful Date Patterns Pattern Example yyyy-MM-dd (ISO) “2018-07-14” dd-MMM-yyyy “14-Jul-2018” dd/MM/yyyy “14/07/2018” E, MMM dd yyyy “Sat, Jul 14 2018” h:mm a “12:08 PM” EEEE, MMM dd, yyyy …
Java add days to Date and LocalDateTime – HowToDoInJava
Java examples to add or substract days, months or years from java.util.Date and java.time.LocalDateTime classes.
How to Convert List to Map in Java – DZone Java
Check out this tutorial on how to convert list to map in Java. This post looks at how to do make this conversion in both Java 7 or earlier versions and Java 8.
Build your own open source Eclipse MicroProfile – JAXenter
Enterprises taking advantage of the microservices trend: Here’s how developers can build their own open source option for Eclipse MicroProfile.
Convert Date to EST/EDT Timezone
Java supports three timezone constants for Eastern Standard Time i.e. “EST”, “America/New_York” and “EST5EDT”. It is very important to understand difference between them to correctly utilize these constants for converting date or time in Eastern Standard Time values.
How to replace the method with Java 8 streams?
It can be an obvious question but I am thinking how to replace the method below with java 8 streams.private String assembleString(int numberOfCharacters, char character) { StringBuilder
Problems With Inheritance in Java – DZone Java
This tutorial shows how to avoid broken code from the inheritance method in Java, by either removing the setters or constructers methods in the parent class.
Top Five Books to Learn Spring Boot and Spring Cloud for Java Developers – DZone Java
This article looks at the best books for learning Spring Boot and Spring Cloud for Java Developers, particularly for creating microservices and cloud-based apps.
Class sharing in Eclipse OpenJ9
Memory footprint and startup time are important performance metrics for a Java virtual machine (JVM). The memory footprint becomes especially important in the cloud environment since you pay for the memory your application uses. This tutorial shows you how to use the shared classes feature in Eclipse OpenJ9 to reduce the memory footprint and improve your JVM startup time.
Commercial Support for Payara Server – Derived from GlassFish
Our Support Services give you 24/7 support for your production Payara Server environment.
DevOps Certification Training Course
This DevOps certification training online course makes you an expert on DevOps tools-Git, Docker, Jenkins, Puppet & Nagios with 3 real-life projects. Enroll now!
A beginner’s guide to Phantom Read anomaly – Vlad Mihalcea
Phantom Read is a data integrity anomaly that can occur when one transaction observes two successive versions of the same multi-record query.
Java Testing Weekly 28 / 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 Spring Boot Integration Testing with Embedded MongoDB describes how you can write integration tests for a Spring Boot application that uses MongoDB. The Really Valuable Stuff On ending the regression automation fixation is a good blog post that describes why you shouldn’t write end-to-end tests if you want to get started with test automation. Note that even though the author uses the term regression test, the tests he describes seem like end-to-end tests to me. Streamlining your Automated Test Strategy with Risk Maps is a thought-provoking post that describes how you can get the best bang for your buck by identifying the things that can go wrong and writing tests for the riskiest “parts” of the tested feature. What Is Software Testing introduces
Javaアプリケーションを自動的にDockerイメージにビルドしてくれる「Jib」、Googleがオープンソースで公開
Googleは、Javaアプリケーションを自動的にDockerコンテナ化するツール「Jib」をオープンソースで公開しました。 JavaのビルドツールであるMavenもしくはGradleのプラグインとしてJibをインストールすることで、Doc…