Behavior is easy, state is hard: Tame inconsistent state in your Java code
DevNation Tech Talks are hosted by the Red Hat technologists who create our products. These sessions include real solutions plus code and sample projects to help you get started. In this talk, you’ll learn the root cause of common inconsistent state-related bugs in your production Java code—and how to solve them—from Edson Yanaga and Burr Sutter.
NullPointerException on a field that was never supposed to be null? A negative value on an “always positive” field? Ever wondered why these bugs happen? You’re not alone. Watch this session to learn the root cause of these common bugs in production Java code, and how to solve them by applying some interesting techniques in your business code.
Watch the entire talk: