Communiquez avec les autres et partagez vos connaissances professionnelles

Inscrivez-vous ou connectez-vous pour rejoindre votre communauté professionnelle.

Suivre

Can we have static initializer Block in EJB ?

user-image
Question ajoutée par Mohd shahnawaz khan , Associate Project , Cognizant Technology Solution
Date de publication: 2014/04/22
ch Abdul Ahad
par ch Abdul Ahad , Java Developer , Clixosoft

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 .

More Questions Like This

Avez-vous besoin d'aide pour créer un CV ayant les mots-clés recherchés par les employeurs?