EJB3 constructor throws an exception?
What happens if the EJB3 stateless / stateless constructor bean no args throws an exception? For example, class A has DI:
@EJB
B b;
and B throws an exception in the constructor? I didn't find any mention of this in the EJB3 specs. My guess is that the isntance of class A is discarded because it really doesn't have the means to accomplish its task.
+1
a source to share