When Application Exception occurs, ejb container intercepts the exception but returns the same to the client as it is. It does not roll back the transaction unless it is specified in code by EJBContext.setRollBackOnly() method. EJB Container does not wrap the exception in case of Application Exception.
When System Exception occurs, ejb container intercepts the exception, rollbacks the transaction and start the clean up tasks. It wraps the exception into RemoteException and throws it to the client.
Posted Date:- 2021-10-12 07:28:29
Why JDBC is needed once we have ODBC in hand?
Explain ODBC its Architecture?
How EJB Container handles exceptions?
What is Application level Exception in EJB?
What is Bean Managed Transactions?
What are the types of Enterprise Bean?
Which types of java classes can be mapped using @Lob annotation?
What are the different JDBC driver types?
What is enterprise information system?
What is Enterprise JavaBeans Query Language?
What is enterprise bean provider?
Define the term DDL, DML and DCL in Database Connectivity?
What is a Stored Procedure in JDBC?
What are the different properties of a Java Bean?
When will JavaBeans be supported on the [fill in the blank] platform/operating system?
What are the security implications for downloading Beans over the Internet?
Why do I get a duplicate name error when loading a JAR file?
What is the relationship between Sun s JFCs and JavaBeans?
Why nobody at Sun wants to read the messages sent to java-beans@java.sun.com?
Are there JavaBeans components available that I can buy today?
What kind of industry support exists for JavaBeans?
Why a component architecture for the Java platform?
Is JavaBeans a complete component architecture?
Is JavaBeans a complete component architecture?
Why are component architectures useful?
What is a Bean? Why is not a Bean an Applet?
Difference between java bean and bean?
What is property editor in java beans?
What are externizable interface?
What is bean persistance property?
Why do I get a NullPointerException when loading a JAR file into the BeanBox?