how to handled exceptions & erros in ejb?

Answer Posted / ss

The primary exceptions of ejb is EJBException and
RemoteException. Generaly those exceptions are handeled by
throws list. Other type of exceptions are handled by
try..catch block as like other java programs

Is This Answer Correct ?    4 Yes 0 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

Which of the following is not an isolation level in the JDBC

1878


Explain about wait() method?

773


How many types of design patterns are there?

781


What are the types of inner classes (non-static nested class) used in java?

799


Difference between throw and throws?

861


Can we create a constructor in abstract class?

757


1.IN CASE OF DYNAMIC METHOD DISPATCH WHY WE USE REFERENCE VARIABLE,WE CAN USE THE DIFFERENT DEFINED OBJECT DIRECTLY TO ACCESS THE DATA MEMBER AND MEMBER FUNCTION OF THAT RESPECTIVE CLASS?WHAT IS THE MAIN FUNCTION OF "REFERENCE VARIABLE" HERE?

4370


What is the use of arrays tostring () in java?

730


What is singleton class in java and how can we make a class singleton?

813


Can we write a class without main method in java?

682


What is identifier in java?

772


What is serialization in java?

779


What is the difference between multitasking and multithreading in Java

957


What is thread life cycle?

712


What is close method? How it's different from Finalize & Dispose?

783