Blog: java specialists

206 blogs updated: 3 min. ago
Issue 276 - Serializing Records
Java 14 Records (JEP359) reduce the boiler plate for simple POJOs. In this newsletter we look at what special magic is used to serialize and...
29-02-2020 08:16:12 java specialists Beginners
Issue 275 - EnhancedStream with Dynamic Proxy
In our previous newsletter we enhanced Java 8 Streams by decorating them with an EnhancedStream class. The code had a lot of repetition, whi...
23-11-2019 15:33:41 java specialists Beginners
Issue 274 - EnhancedStream
Java 8 Streams have a rather narrow-minded view of what makes objects distinct. In this newsletter, we enhance Streams to allow a more flexi...
23-11-2019 08:42:09 java specialists Beginners
Issue 273 - Truly Public Methods
Class.getMethods() returns all the public methods in this class and the classes in its ancestry. However, we cannot necessarily call these m...
01-10-2019 21:24:49 java specialists Beginners
Issue 272 - Hacking Enums Revisited
In a previous newsletter, we looked at how we could dynamically add new enums and also rewire affected switch statements. Due to improvement...
07-09-2019 14:20:56 java specialists Beginners
Issue 271 - HttpClient Executors
Java 11 added the HttpClient to give us a better way to send HTTP requests. It supports asynchronous and synchronous mode. HTTP2 comes out o...
21-08-2019 14:52:49 java specialists Beginners
Issue 270 - Excursions into Deduplication
When are Strings deduplicated? How can we find out whether they are of any benefit in our application? How much does it cost in terms of CPU...
31-05-2019 21:04:13 java specialists Beginners
Issue 269 - Heterogeneous Comparisons
The compareTo() function has three rules. Break any one of them and you might get an exception when you sort. In this newsletter we explore ...
29-04-2019 13:27:48 java specialists Beginners
Issue 268 - Puzzle: Is a Programmer a Person?
In today's puzzle, we want to sort a list of persons. It works in some versions of Java, but not in others. You need to figure out why.
06-03-2019 17:11:02 java specialists Beginners
Issue 267 - Performance Impact of Design Patterns
The Java Development Kit is filled with great examples of how design patterns can be used to make the Java code easier to maintain. But what...
18-02-2019 15:28:09 java specialists Beginners

© Jiri Pinkas | this project on GitHub | related: JavaVids | Maven Central Repository Search | Java školení | Top SQL Blogs | monitored using: sitemonitoring

Top Java Blogs is a Java blog aggregator (with English-written blogs only) focused on Java SE, Java EE, Spring Framework and Hibernate.