In a
EJB, there are couple of resources ( including strings) which should be injected.
But, While deploying,In the EJB configuration one can input wrong values for the resources which should be injected or forget to inject something ?
@postconstruct method will be called after the injection, but this method should not throw checked exceptions ( Honestly, don't know the reason, perhaps throwing throwing exception will make EJB deployment to stop, but that is what expected,Isn't it ?)
Is there a way to validate this, at least away to mention some resource as mandatory?