Year: 2017

Last Updated on June 5, 2019 by Michelle Mesiona When developing Spring Boot applications, you need to tell the Spring Framework where to look for Spring components. Using component scan is one method of asking Spring to detect Spring managed components. Spring needs the information to locate and register all the Spring components with the […]Continue reading

Last Updated on October 15, 2024 by jt JSON has become the most preferred way of transmitting data across network connections. JSON being easily readable by machines is one of the many reasons for JSON’s popularity. However, JSON unless formatted well, is not easily readable by a human. Pretty printing a JSON is one common […]Continue reading

Last Updated on October 15, 2024 by jt While developing applications, we often need to generate random numbers. Java provides support to generate random numbers primarily through the java.lang.Math and java.util.Random classes. Java also has the ability to generate secure random with java.security.SecureRandom, and random numbers isolated to the current thread with java.util.concurrent.ThreadLocalRandom. You can […]Continue reading

Jackson is a Java library for processing JSON data, enabling customization of serialization and deserialization through various annotations. These annotations, categorized as General, Serialization, Deserialization, and Polymorphic Type, provide developers control over JSON integration with Java objects. Key annotations like @JsonProperty, @JsonIgnore, and @JsonCreator facilitate precise data handling.

Last Updated on June 21, 2019 by Simanta GSON is a very popular Java library for work with JSON. JavaScript Object Notation (JSON) is a lightweight data exchange format. Like XML, JSON provides a way of representing object that is both human readable and machine processable. In the Java ecosystem, there are several libraries that […]Continue reading

Last Updated on October 21, 2024 by jt Introduction I’m quickly becoming a fan of using CircleCI for CI builds. I’m finding that CircleCI is a very powerful platform. Recently, I configured CircleCI to build a Spring Boot Microservice. The microservice was generated by JHipster. CircleCI is a online resource which uses Docker containers to […]Continue reading

Last Updated on October 22, 2024 by jt The Java Programming language provided support for Annotations from Java 5.0. Leading Java frameworks were quick to adopt annotations and the Spring Framework started using annotations from the release 2.5. Due to the way they are defined, annotations provide a lot of context in their declaration. Prior […]Continue reading

Last Updated on October 21, 2024 by jt @RequestMapping is one of the most common annotation used in Spring Web applications. This annotation maps HTTP requests to handler methods of MVC and REST controllers. In this post, you’ll see how versatile the @RequestMapping annotation is when used to map Spring MVC controller methods. Request Mapping […]Continue reading

Last Updated on June 14, 2019 by Simanta Spring Data MongoDB has been updated to leverage the reactive programming model introduced in Spring Framework 5. This was followed by support for reactive data access for NoSQL databases, such as MongoDB, Cassandra, and Redis. With the rise in popularity of NoSQL databases, MongoDB has rapidly gained […]Continue reading