Correct option is A
A. JNDI (Java Naming and Directory Interface): JNDI provides an API for directory and naming services. It allows Java applications to discover and lookup resources using names.
Correct Mapping: II (The API in support of naming and directory services).
B. RMI (Remote Method Invocation): RMI is a Java API that allows the execution of methods across JVMs (Java Virtual Machines), supporting remote method calls.
Correct Mapping: III (The methods provided by the Java development kit and runtime support for calling remote methods).
C. JDK (Java Development Kit): The JDK is a software development environment that includes tools such as a compiler, debugger, and libraries needed to develop Java applications.
Correct Mapping: IV (The compiler and class libraries to develop Java applications).
D. JRE (Java Runtime Environment): The JRE provides the runtime environment needed to execute Java applications. It includes the JVM (Java Virtual Machine) and runtime libraries.
Correct Mapping: I (Runtime support for running Java programs).
Information Booster
1.
JNDI (Java Naming and Directory Interface):
· Allows applications to interact with naming and directory services.
· Commonly used with LDAP (Lightweight Directory Access Protocol) and DNS.
2.
RMI (Remote Method Invocation):
· Supports distributed computing in Java.
· Enables communication between objects in different JVMs.
3.
JDK (Java Development Kit):
· Includes tools like javac (compiler), jar (archiver), and javadoc (documentation generator).
· Essential for Java application development.
4.
JRE (Java Runtime Environment):
· Includes the Java Virtual Machine (JVM) and core libraries.
· Required to run Java applications but does not include development tools.
Additional Knowledge
·
JVM (Java Virtual Machine): Responsible for running Java bytecode on different platforms.
·
Java SE vs Java EE:
·
Java SE (Standard Edition): Includes core libraries for desktop and server-side applications.
·
Java EE (Enterprise Edition): Adds libraries and APIs for enterprise applications, such as Servlets and EJBs.