Question - Is having static initializer blocks legal in EJB?
Answer -
It is legal technically, but static initializer blocks have been used in executing pieces of code before the final execution of any method or constructor when a class is instantiated.