Which of the following are true about Passive Replication? A Primary Service and all replicas respond to all requestsB Primary Service randomly delegates requests to one of the secondary replicasC Primary service handles all requestsD
Choices C, D and F are correct. In Passive Replication, the primary service handles all requests. The state of the replicas is periodically synchronized. In the event that the primary service
CORBA is a standard for A Messaging using virtual channels called QueuesB Standardized development practicesC Messaging using virtual channels called topicsD Accessing distributed object
Choice D is correct. Common Object Request Broker Architecture (CORBA) is a standard for distributed communication involving applications written using different languages. Hence choice D is
RMI-IIOP does not provide which of the following capabilities? A Remote Method InvocationB Stub DownloadsC Objects pass by value (state only)D Distributed Garbage Collection
Choices B and D are correct. RMI-IIOP does not support Stub downloads and distributed garbage collection. Hence choices B and D are correct.Both Remote Method Invocation and Objects pass by
Undefined Primary Keys refers to? A Refers to Entity Beans that do not use Primary KeysB Primary Keys that are defined during developmentC Primary Keys that remain undefined until the bean is deployedD
Choice C is correct. One problem with container-managed persistence in EJB 1.0 was that the bean developer had to define the primary key during development. This forced the developer to make
Which of the following are valid life cycle states for a Stateless Session Bean? A Does not ExistB Pooled StateC Method Ready PoolD Passive
Choices A and C are correct. The two valid states in a Stateless Session Bean's life cycle are 'Does Not Exist' and 'Method Ready Pool.' When Beans are not instantiated
A session bean called SomeBean has a method called someMethod(), which calls someOtherMethod (same bean) followed by someOtherBeanMethod() of SomeOtherBean. SomeOtherBean is an Entity Bean with CMT. Which of the following is true? A SomeOtherBean has no control on the transaction since it is a CMT bean.B SomeOtherBean has full access
Choice C is correct. Only BMT beans have access to the User-Transaction from the EJBContext. The EJBContext provides the methods setRollbackOnly() and getRollbackOnly(), to provide CMT beans
Which of the following are invalid states in the life of a Stateful Session Bean? A Does Not ExistB Method Ready PoolC Method Ready in TransactionD Method ReadyE
Choices B, E and F are correct. The valid life cycle states of a Stateful Session Bean are 'Does Not Exist', 'Method Ready', 'Method Ready in Transaction' and 'Passive'.
What is the sequence of steps in the life cycle of a Stateless Session Bean? A class.newInstance(), setSessionContext (ctx), ejbCreate()B ejbCreate(), setSessionContext (ctx), class.newInstance()C class.newInstance(), ejbCreate(), setSessionContext (ctx)D
Choice A is correct. When Stateless Session Beans transition from 'Does Not Exist' to 'Method Ready Pool', the container invokes newInstance(), setSessionContext() and ejbCreate()
HTTP is A Connection LessB Connection BaseC StatefulD StatelessE Secure
Choice B and D are correct. HTTP (HyperText Transfer Protocol) is a transport mechanism for MIME (Multipurpose Internet Mail Extensions) documents. MIME documents often contain HTML (HyperText
Which of the following is not part of the Messaging architecture: A Decentralized messaging using IP MulticastingB Decentralized messaging using Secure Sockets Layer (SSL)C Use of virtual channels called QueuesD
Choice B is correct. Only choice B is not a standard paradigm in messaging architecture. Hence choice B is correct.IP Multicasting can be used as a technique for decentralized messaging. Queues