Consider following trivial JavaEE application:
Sample JavaEE application with module FooBean we want to test
We want to test
FooBean uses database or a distributed cache (e.g. Infinispan) or even another EJB bean. I.e. it depends on expensive component.
Another couple of OpenGL commands which is hard to distinct is glClientWaitSync and glWaitSync. Below are mnemonic helpers to get the distinction.
Had always a problem to remember a distinction between
glFlush calls. To fight the issue I’ve created two pictures which serve as a mnemonic helper.