Advanced Java / Java EE Technologies

Covers enterprise Java technologies including EJB, RMI, JSP, web services, XML processing (JAXP, SAX), JNDI, LDAP, and transaction management

15 Questions Published

Questions

Question 1 Multiple Choice (Single Answer)

In web services terminology, SOAP stands for

  1. Simple Object Access Procedure
  2. Standard Object Access Procedure
  3. Simple Object Access Protocol
  4. Standard Object Access Protocol
  5. None of these
Question 2 Multiple Choice (Single Answer)

In MCV architecture, 'view' components are basically

  1. EJB
  2. Java Beans
  3. HTML
  4. JSPs
  5. None of these
Question 3 Multiple Choice (Single Answer)

Which of the following is equivalent to the given EJB sql expression p.age between 20 and 30?

  1. p.age >=20 AND p.age <=30
  2. p.age >20 AND p.age <30
  3. p.age >=20 AND p.age <30
  4. p.age >20 AND p.age <=30
  5. none of these
Question 4 Multiple Choice (Single Answer)

What is the name of RMI architecture layer in which Java Remote Method Protocol (JRMP) runs?

  1. Transport layer
  2. Network layer
  3. Remote reference layer
  4. Hardware interface layer
  5. None of these
Question 5 Multiple Choice (Single Answer)

Stub is a member of

  1. JINI
  2. JDO
  3. JAXB
  4. RMI
  5. None of these
Question 6 Multiple Choice (Single Answer)

Which of the following protocols is stateless in nature?

  1. HTTP
  2. FTP
  3. FTPI
  4. TCP
  5. None of these
Question 7 Multiple Choice (Single Answer)

Which of the following best define(s) lazy loading of beans?

  1. Whole bean is loaded late.
  2. Container loads every bean at start.
  3. Only starts loading on first call of getter methods.
  4. Only 2 and 3.
  5. None of these
Question 8 Multiple Choice (Single Answer)

EJB technology uses Java Remote Method Invocation for
i) communication between an enterprise bean and a client
ii) communication between two enterprise beans
iii) binding a name with an enterprise bean

  1. Only (i) and (ii)
  2. Only (i)
  3. Only (ii)
  4. Only (iii)
  5. None of these
Question 9 Multiple Choice (Single Answer)

XML file is
i) Binary file
ii) ASCII text file
iii) HTML file

  1. Only (i)
  2. Only (ii)
  3. Only (i) and (ii)
  4. Only (i) and (iii)
  5. None of these
Question 10 Multiple Choice (Single Answer)

Which technology provides the flexibility to swap between XML processors with no application code change?

  1. JAXP
  2. SAX
  3. HTML
  4. DOM
  5. None of these
Question 11 Multiple Choice (Single Answer)

Which of the following is not an XML parser?

  1. SAX
  2. XML
  3. XERCES
  4. Both 2 and 3
  5. None of these
Question 12 Multiple Choice (Single Answer)

What is the full form of LDAP?

  1. Lightweight Directory Access Protocol
  2. Lightweight Domain Access Protocol
  3. Lightweight Directory Access Program
  4. Longweight Directory Access Protocol
  5. None of these
Question 13 Multiple Choice (Single Answer)

Which of the following is an application programming interface?

  1. RMI
  2. JNDI
  3. JINI
  4. LDAP
  5. None of these
Question 14 Multiple Choice (Single Answer)

DCOM is equivalent to
i) HTML
ii) RMI
iii) JSP
iv) EJB

  1. Only (i)
  2. Only (ii)
  3. Only (iii)
  4. Only (iv)
  5. None of these
Question 15 Multiple Choice (Single Answer)

Which of the following is not a transaction isolation level in EJB?

  1. Transaction_read_uncommitted
  2. Transaction_read_committed
  3. Transaction_repeatable_read
  4. Transaction _Synchronous
  5. None of these