Using Mockito without static imports with Java 8

How to simplify Mockito usage by removing static imports in Java 8 based projects. Rationale Mockito API is based on static methods aggregated (mostly) in the (BDD)Mockito class followed by extremely fluent, chained method calls. Mock creation, stubbing and call verification can be initiated with mock/spy/given/then/verify static methods: @Test public void shouldVerifyMethodExecution() { //given TacticalStation tsSpy = BDDMockito.spy(TacticalStation.class); BDDMockito.willDoNothing().given(tsSpy).fireTorpedo(2); //when ...

Read More »

Master-Detail data with ADF List View

java-interview-questions-answers

Lately the ADF Faces table component has not been considered cool anymore from UI perspective. List View is supposed to be cool today for displaying data collections. It doesn’t mean that we shouldn’t use af:table at all. In some cases (pretty often :)) a table is far more suitable than a list view. However, the list view component looks really ...

Read More »

The Art of Data Science: The Skills You Need and How to Get Them

The meteoric growth of available data has precipitated the need for data scientists to leverage that surplus of information. This spotlight has caused many industrious people to wonder “can I be a data scientist, and what are the skills I would need?”. The answer to the first question is yes – regardless of your prior experience and education, this role ...

Read More »

Visualizing Java 9 Module Relationships

As I stated in an earlier post, I’ve been running Eclipse Neon on the Java 9 + Jigsaw builds for a little while and haven’t had any issues. I spent a few hours over the weekend tinkering with some modularity tool ideas. I wrote a little plug-in for Eclipse Neon that visualizes the connections between the various modules.       ...

Read More »

The first Application-Centric Unified Monitoring solution for Java

Solve App Problems 10x Faster with AppDynamics – Monitor production apps at code-level depth with minimal overhead. Start a FREE Trial! Earlier today at AppDynamics AppSphere™ 2015, we announced the AppDynamics Winter ’16 Release (4.2) that  brings significant enhancements to our Application Intelligence Platform to provide essential support for businesses’ digital transformation initiatives. The new release extends the capabilities of ...

Read More »

#GeekListener v.5

The last week wasn’t rich in global programming events. So I have no any comments and tweets regarding fresh tech-talks. But as always I have a bunch of developers tweets about everything, starting from a philosophy and finishing with a big data. So let’s start the #GeekListener digest! Our first functional programming lover… khe-khe I mean participant is Michael O. ...

Read More »