" ...deployment descriptor values always override annotation values (except structural information such as bean type ... "
If a bean has the following code:
Code: Select all
@javax.ejb.Stateful
public class x019_Teste{
}
and the following DD
Code: Select all
<enterprise-beans>
<session>
<ejb-name>x019_Teste</ejb-name>
<ejb-class>pkg001.x019_Teste</ejb-class>
<session-type>Stateless</session-type>
</session>
<enterprise-beans>
Based on explanation above, it will be a STATEFUL ...but on Glash Fish, it is a STATELESS
So... what should I consider for the exam?