Explore ways to view the bytecode of a class file in Java >>>
Yearly Archives: 2020
Circular View Path Error
Learn about the Circular View Path error in a Spring Boot project. >>>
Java Weekly, Issue 337
Distributed caching, Kafka, and Spring Boot – the ecosystem is moving forward. >>>
The Constructor Return Type in Java
Learn about the constructor return type in Java >>>
HTTP Server with Netty
Explore how to implement the HTTP protocol, particularly an HTTP server using Netty. >>>
What Is [Ljava.lang.Object;?
Learn what [Ljava.lang.Object; is and how to better print array objects. >>>
The “Cannot find symbol” Compilation Error
Review what compilation errors are, and then specifically explain what the “cannot find symbol” error is and how it’s caused. >>>
Inject Arrays and Lists From Spring Properties Files
Learn various ways to use @Value and SpEL to inject property values as arrays or lists in Spring >>>
Retrying Failed Requests with Spring Cloud Netflix Ribbon
With a network of webservices in our cloud applications, having a sophisticated fallback and retry mechanism can increase stability. We explore Netflix Ribbon. >>>
Spring @Import Annotation
Learn how and when to use the @Import annotation in Spring and how it’s different from @ComponentScan. >>>
Using Kafka MockProducer
Learn how to use Kafka’s MockProducer to verify common producer operations >>>
<init> and <clinit> Methods in the JVM
See how the compiler and runtime use the init and clinit methods for initialization purposes >>>
Hibernate could not initialize proxy – no Session
Learn how to handle org.hibernate.LazyInitializationException : could not initialize proxy – no Session in Java >>>
Proxies With RestTemplate
Learn how to send a request to a proxy using Apache’s RestTemplate in Java. >>>
OpenAPI JSON Objects as Query Parameters
Learn how to specify JSON objects as query parameters using the OpenAPI specification. >>>
Java Weekly, Issue 336
A nice intro to Amazon’s Deep Java Library for machine learning, and Spring Tools 4.6.2 is released. >>>
Quick Guide to Spring Cloud Open Service Broker
Learn how to implement the Open Service Broker API using Spring Cloud Open Service Broker. >>>
String Concatenation with Invoke Dynamic
Learn about relatively new Java optimization: string concatenation with invokedynamic >>>
What Causes java.lang.OutOfMemoryError: unable to create new native thread
Learn about what causes the java.lang.OutOfMemoryError: unable to create new native thread error. >>>
Partial Data Update With Spring Data
Learn techniques and approaches to performing a partial instead of a full update >>>