MCQs>IT & Programming>Java>An online shop employs a stateless session bean (named ‘Eshop’) to process the request. ‘Eshop’ Uses a declarative transaction management system. The following code is from the XML deployment descriptor file of the bean: Eshopcom. solution. EshopHomecom. Solution. Eshopcom. Solution. EshopLocalHome<.local-home> com. Solution. EshopLocalcom. Solution. eshopBean The session and transaction attributes are to be coded in the numbered 10 and 11. Which of the Following options should be used to make the bean work as expected?
Java MCQs
An online shop employs a stateless session bean (named ‘Eshop’) to process the request. ‘Eshop’
Uses a declarative transaction management system. The following code is from the XML deployment descriptor file of the bean:
<ejb-jar>
<enterprise-beans>
<session>
<ejb-name>Eshop</ejb-name>
<home>com. solution. EshopHome</home>
<remote>com. Solution. Eshop</remote>
<local>com. Solution. EshopLocalHome<.local-home>
<local>com. Solution. EshopLocal</local>
<ejb-class>com. Solution. eshopBean</ejb-class>
</session>
</enterprise-beans>
</ejb-jar>
The session and transaction attributes are to be coded in the numbered 10 and 11. Which of the
Following options should be used to make the bean work as expected?