--:--









Quiz for EJB (Enterprise JavaBeans)

Course: JAVA | Subject: Java | Topic: Java Enterprise Edition



Logo

Q1: What does EJB stand for?

Logo

Q2: Which types of EJBs are available in Java EE?

Logo

Q3: Which annotation marks a class as a stateless session bean?

Logo

Q4: What is the main feature of a stateless bean?

Logo

Q5: Which EJB is best for storing user session data?

Logo

Q6: Which bean is shared across all clients and is instantiated once?

Logo

Q7: Which annotation is used to inject EJBs?

Logo

Q8: Which EJB type is used for asynchronous message handling?

Logo

Q9: What is the default transaction type for EJB methods?

Logo

Q10: Which interface is extended by remote EJBs?

Logo

Q11: Which file was previously required to configure EJBs in older versions?

Logo

Q12: Which container manages EJBs?

Logo

Q13: Which lifecycle method is called after a stateless EJB is created?

Logo

Q14: Which annotation defines a local interface in EJB?

Logo

Q15: What does the @Timeout annotation do in EJB?

Logo

Q16: Which scope applies to a stateless session bean?

Logo

Q17: Which annotation is used to define EJB timers?

Logo

Q18: Which EJB is suitable for sending email on schedule?

Logo

Q19: What is the role of Interceptors in EJB?

Logo

Q20: Which EJB component is best suited for batch message processing?

Are you ready to start test? Set your time limit