Do you want to know how to develop your skillset to become a Java Rockstar?
Subscribe to our newsletter to start Rocking right now!
To get you started we give you our best selling eBooks for FREE!
1. JPA Mini Book
2. JVM Troubleshooting Guide
3. JUnit Tutorial for Unit Testing
4. Java Annotations Tutorial
5. Java Interview Questions
and many more ....
I agree to the Terms and Privacy Policy

Java 10 – Local Variable Type Inference

In this article we will see a Java10 feature called Local Variable Type Inference proposed as part of JEP 286. From the first version of Java it is strongly typed language where we need to mention each variable data type. We all were feeling Java is verbose language and expecting precise, compact way of writing Java . Java 8 addressed ...

Read More »

MySQL Replication Tutorial

1. Introduction to MySQL replication In a large scale enterprise system, data consistency and backup is of prime importance. It is equally important to distribute the load on the database server using copies of the database. However, maintaining backup or additional instances is a difficult task especially when you try to copy entire database repeatedly. MySQL replication helps us precisely ...

Read More »

Peeking Inside Java Streams with Stream.peek

For a Java developer new to JDK 8-introduced pipelines and streams, the peek(Consumer) method provided by the Stream interface can be a useful tool to help visualize how streams operations behave. Even Java developers who are more familiar with Java streams and aggregation operations may occasionally find Stream.peek(Consumer) useful for understanding the implications and interactions of complex intermediate stream operations. ...

Read More »

Zuul 2 – Sample filter

Zuul 2 has finally been open sourced. I first heard of Zuul 2 during Spring One 2016 talk by Mikey Cohen is available here, it is good to finally be able to play with it. To quickly touch on the purpose of a Gateway like Zuul 2 – Gateways provide an entry point to an ecosystem of microservices. Since all ...

Read More »

3 Pitfalls Everyone Should Avoid with Hybrid Multicloud (Part 2)

If you already have full control of your on premise data centers, yet can’t stop under utilizing and overpaying for resources, then how can you expect to prevent these costs from rolling over in to your cloud strategy? The daily cloud hype is all around you, yet there are three pitfalls everyone should avoid. From cloud, hybrid cloud, to hybrid ...

Read More »

Thread Methods destroy() and stop(Throwable) Removed in JDK 11

The message “RFR(s): 8204243: remove Thread.destroy() and Thread.stop(Throwable)” by @DrDeprecator (Stuart Marks) on the core-libs-dev OpenJDK mailing list is a request for review (RFR) of a change set associated with JDK-8204243 [“remove Thread.destroy() and Thread.stop(Throwable)”]. Both the bug report and the mailing list message describe the history of these two referenced Thread methods and explain that neither method really does ...

Read More »

[JDK 11] Class Loader Hierarchy Details Coming to jcmd

I’ve been a fan of the diagnostic command-line tool jcmd since hearing about jcmd at JavaOne 2012. I’ve used this tool extensively since then and have blogged multiple times about this tool: jcmd: One JDK Command-Line Tool to Rule Them All Determining the Active HotSpot Garbage Collector Programmatic jcmd Access JavaOne 2012: Diagnosing Your Application on the VM After numerous ...

Read More »