Learn J2EE MCQs

Prepare J2EE MCQs (Multiple choice Questions) for exam and job interviews.

What does J2EE stand for?

1) Java 2 Platform, Enterprise Edition

2) Java 2 Enterprise Engine

3) Java 2 Environment Enterprise

4) Java 2 Execution Environment

Answer : Java 2 Platform, Enterprise Edition

Which of the following is a core component of J2EE?

1) Servlets

2) Thread

3) AWT

4) Swing

Answer : Servlets

What is the use of the `JSP` technology in J2EE?

1) Dynamic content creation

2) Database management

3) Security

4) Networking

Answer : Dynamic content creation

Which protocol is used by RMI in J2EE?

1) JRMP

2) HTTP

3) TCP/IP

4) UDP

Answer : JRMP

What is the full form of `EJB`?

1) Enterprise JavaBeans

2) Enterprise JavaBase

3) Extended Java Beans

4) Enterprise JDBC Beans

Answer : Enterprise JavaBeans

Which of the following is an API used for database connectivity in J2EE?

1) JDBC

2) RMI

3) JSP

4) JavaBeans

Answer : JDBC

Which of these is a J2EE design pattern?

1) Singleton

2) Adapter

3) Proxy

4) Facade

Answer : Singleton

What is the main purpose of `JNDI` in J2EE?

1) Naming and directory services

2) Session management

3) Object serialization

4) Database connectivity

Answer : Naming and directory services

Which of the following is a J2EE component?

1) Web container

2) Thread

3) FileInputStream

4) BufferedReader

Answer : Web container

Which J2EE technology provides a messaging standard?

1) JMS

2) JMX

3) JDBC

4) RMI

Answer : JMS