9 beliefs of Successful people



Time doesn’t fill me. I fill time.

The people around me or the people I choose.

I have never paid my dues.

Experience is irrelevant. Accomplishments are everything.

Failure is some thing I accomplish; It just doesn’t happen to me.

Volunteers always win.

As long as I’m paid well, it’s all good.

People who pay me always have the right to tell me what to do.

The extra mile is a vast, unpopulated waste land.




10 things reading list …

good Java practices from trenches

1) allocating/freeing; @Before/@After; super  => when implementing logic using before/after, allocate/free, take/return semantics

2) when Providing SPI rememeber the context or the parameter object

3) avoid returning anonymous, local or inner classes => they have reference to the outer class (Make it static or regular top level class)

4) Think of SAM’s (Single Abstract Method “Type” a.ka. Functional Interface)

5) Use Optional more often.

6) Never return null arrays or lists from API methods.

7) Functional vs Stateful API’s

8) short circuit equals()

9) Try to qualify your methods with final or private more often.


Tips for “better” using Java and SQL

1) UNION (actually does Union of Distinct elements – first sorts then compares next element to get rid of dupes) vs UNION ALL (Faster if you can process duplicates).

2) JDBC can be used for paging results.

3) profile your JOIN queries (rarely you need to do it in memory).

4) batching inserts will enhance performance.



10 books for Advanced level: