أنشئ حسابًا أو سجّل الدخول للانضمام إلى مجتمعك المهني.
Basic Purpose of Static initializer block is to initialize some static fields before any execution of method or we can say creation of object. According to EJB Spec it’s a violation if static field are used and they are non final .