Advanced Java / Java EE Technologies
Covers enterprise Java technologies including EJB, RMI, JSP, web services, XML processing (JAXP, SAX), JNDI, LDAP, and transaction management
Questions
In web services terminology, SOAP stands for
- Simple Object Access Procedure
- Standard Object Access Procedure
- Simple Object Access Protocol
- Standard Object Access Protocol
- None of these
In MCV architecture, 'view' components are basically
- EJB
- Java Beans
- HTML
- JSPs
- None of these
Which of the following is equivalent to the given EJB sql expression p.age between 20 and 30?
- p.age >=20 AND p.age <=30
- p.age >20 AND p.age <30
- p.age >=20 AND p.age <30
- p.age >20 AND p.age <=30
- none of these
What is the name of RMI architecture layer in which Java Remote Method Protocol (JRMP) runs?
- Transport layer
- Network layer
- Remote reference layer
- Hardware interface layer
- None of these
Stub is a member of
- JINI
- JDO
- JAXB
- RMI
- None of these
Which of the following protocols is stateless in nature?
- HTTP
- FTP
- FTPI
- TCP
- None of these
Which of the following best define(s) lazy loading of beans?
- Whole bean is loaded late.
- Container loads every bean at start.
- Only starts loading on first call of getter methods.
- Only 2 and 3.
- None of these
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
- Only (i) and (ii)
- Only (i)
- Only (ii)
- Only (iii)
- None of these
XML file is
i) Binary file
ii) ASCII text file
iii) HTML file
- Only (i)
- Only (ii)
- Only (i) and (ii)
- Only (i) and (iii)
- None of these
Which technology provides the flexibility to swap between XML processors with no application code change?
- JAXP
- SAX
- HTML
- DOM
- None of these
Which of the following is not an XML parser?
- SAX
- XML
- XERCES
- Both 2 and 3
- None of these
What is the full form of LDAP?
- Lightweight Directory Access Protocol
- Lightweight Domain Access Protocol
- Lightweight Directory Access Program
- Longweight Directory Access Protocol
- None of these
Which of the following is an application programming interface?
- RMI
- JNDI
- JINI
- LDAP
- None of these
DCOM is equivalent to
i) HTML
ii) RMI
iii) JSP
iv) EJB
- Only (i)
- Only (ii)
- Only (iii)
- Only (iv)
- None of these
Which of the following is not a transaction isolation level in EJB?
- Transaction_read_uncommitted
- Transaction_read_committed
- Transaction_repeatable_read
- Transaction _Synchronous
- None of these