FizzBuzz is a fun game mostly played in elementary school. The rules are simple: when your turn arrives, you say the next number. However, if that number is a multiple of five, you should say the word “fizz” (preferably with a French accent) instead. If the number is a multiple of seven, you should say […]
Association, Aggregation and Composition are three relationships which classes can have in object oriented programming. Let’s understand their difference.
In this example, we will learn to format XMLGregorianCalendar class to string in multiple patterns e.g. ‘MM/dd/yyyy hh:mm a z’. XMLGregorianCalendar to String in Date/TimeStamp Pattern In below code sample, I am creating instance of XMLGregorianCalendar with current Date object. Then I am formatting it to String format in given pattern. Output: 01/27/2017 01:32 PM […]
To disable or bypass SSL Certificate checking is never a recommended solution for SSL issues, but at test environment – sometimes you may need this.
Spring boot is sub-project developed by developers of spring framework – to create stand-alone, production-grade application with minimum configuration possible. Spring boot applications are typically bundled as fat/uber jar files and can be deployed in any platform as a simple jar file. This is why spring boot applications are a good candidate for building microservices in java.
Microservices is latest buzzword in industry and everyone seems to be talking about it, in one way or another. Let’s understand what are microservices? In this tutorial, we will try to understand the definition, concepts and principles of microservices. Table of Contents Definition of Microservices Principles of Microservices Benefits of Microservices Conclusion Definition of Microservices […]
In this tutorial, we will learn to secure vaadin application behind basic authentication security provided by spring security module.
Using java 8 stream API, you can use stream.distinct() method to filter or collect all distinct elements from a collection. Let’s learn how to find distinct elements with java stream API.
In this tutorial, we will learn to work with Vaadin ComboBox UI component including setting values, filtering, adding new values and event handling.