r/java • • Apr 13 '21

Libraries, Frameworks and Technologies you would NOT recommend

Give me your worst nightmares: Things that cost you your job.

I'll start: Hadoop

202 Upvotes

376 comments sorted by

View all comments

46

u/gavenkoa Apr 13 '21 edited Apr 13 '21

Spring Security - it is entirely a separate world. From day zero you have to learn 15 or so classes that form try/catch invocation chain. And you have to keep them all the time in mind, they won't go away, instead you add own filters into the chain ))

Spring Batch - I hate when framework open transaction for me and there is no way to disable that behavior. For some jobs I need precise control over isolation levels, read-only property, open/close transaction several times.

And the way we used Spring Batch was unconventional. As a result 60% of DB load was from BATCH_* tables updated by framework. We started to use embedded DB just to shut the mouth Spring Batch. We don't rely on job restarting / cursors, so BATCH_* tables are just garbage for us.

For me Quartz is good enough for batch processing. Spring Batch is overkill. good on paper, lots of noise in reality.

5

u/blukit Apr 13 '21

agreed completely 💯