Core Java
-
Test Doubles: mocks, dummies and stubs
Most classes have collaborators. When unit testing, you usually want to avoid using real implementations of those collaborators to avoid test…
Read More » -
JavaOne 2015 – The Twentieth Edition Ten Takeaways
We have just had the twentieth edition of JavaOne in San Francisco. This would be my twelfth attendance in unbroken…
Read More » -
Smart package structure to improve testability
There are many ways of dividing whole application into packages. Discussions about pros and cons of packaging by feature or…
Read More » -
Java 9 Code Tools: A Hands-on Session with the Java Microbenchmarking Harness
To the naked eye, benchmarking might seem as a simple matter of just timing how long does it take for…
Read More » -
Top 20 Core Java Interview Questions and Answers from Investment Banks
This is a new series of sharing core Java interview questions and answers on the Finance domain and mostly on…
Read More » -
What Might a New @Deprecated Look Like?
JDK Enhancement Proposal (JEP) 277 (“Enhanced Deprecation“) proposes to “revamp the deprecation annotation and provide tools to strengthen the tail…
Read More » -
5 Free OCAJP8, OCPJP8 Mock Exams and Practice questions – 1Z0-808 809 (Java 8 Certification)
In order to do well on Java certifications, you need good books and a reasonable number of practice questions before…
Read More » -
Let’s pause for a Microsecond
A lot of benchmarks in low latency Java applications involve having to measure a system under a certain load. This…
Read More » -
Applying IDE Inspections to Custom Java Annotations
The introduction of annotations with J2SE 5 has changed how we write and process Java. Besides Java SE’s predefined annotations,…
Read More »