For a HessianServiceExporter instance, you have to configure a service object to export and its service interface.
1. True
2.False
3.none
4.all the mentoined
If you want to expose EJB component for local access within an enterprise application, the preceding two interfaces should extend EJBLocalObject and EJBLocalHome.
1.True
2.False
3.none
4.all the mentoined
Interceptor to let Spring configure @Autowired elements on your EJB.
1.org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor
2.org.springframework.ejb.interceptor.SpringBeanAutowiring
3.org.springframework.ejb.interceptor.SpringBean
4. none of the mentioned
Key technology in developing distributed applications, especially multi-tier enterprise applications.
1.Remoting
2.EJB
3.RMI
4.All of the mentioned
Service exporters that can export a bean as a remote service based on the :-
1.RMI
2.Hessian
3.Burlap
4.All of the mentioned
Spring framework itself also offers a remoting technology called HTTP Invoker.
1. True
2.False
3.none
4.all the mentoined
The ejbCreate() method is the EJB hook for initialization of state, much as a JSR-250 annotated @PostConstruct() method or afterPropertiesSet() method work in Java EE 5 and Spring.
1.True
2.False
3.none
4.all the mentoined
The exceptions that cause a transaction to roll back or not can be specified by attribute:-
1. rollback
2.commit
3.serialize
4.None of the mentioned
A remote stateless session bean requires annotations:-
1.@Remote
2.@Stateless
3. All of the mentioned
4.None of the mentioned
A web service contract is described using :-
1.Web Services Description Language
2.Web Services Description
3.All of the mentioned
4. none of the mentioned
Annotation which decorates the PostageServiceBean:-
1. @Interceptors
2.@Autowire
3.@Wire
4.@Mention
By default, BeanNameUrlHandlerMapping is preconfigured for a Spring MVC application.
1.True
2.False
3.none
4.None of the mentioned
By default, RmiServiceExporter attempts to look up an RMI registry at localhost port 1099.
1. True
2.False
3.none
4.all the mentoined
CXF represents the consolidation of the Celtix and XFire projects, which each had useful SOAP support.
1.True
2. False
3.none
4.all the mentoined
EJB interface is a simple Java interface whose methods don’t throw RemoteException.
1.True
2.False
3.none
4.all the mentoined
EJB support classes provide access to the Spring IoC container for you to implement your business logic in POJOs and wrap them with EJB components.
1. True
2.False
3.none
4.all the mentoined
Exposing a stand-alone SOAP endpoint using the:-
1.SimpleJaxWsServiceExporter
2. JAX-WS
3.All of the mentioned
4.None of the mentioned
f you are using the JAX-RS Reference Implementation, this intermediary step will involve a tool called wsgen.
1.True
2.False
3.none
4.all the mentoined
Factory to use our Spring bean as the implementation:-
1. jaxws:end
2. jaxws:endpoint
3.all of the mentioned
4.None of the mentioned
For two transactions T1 and T2, T1 reads a field and then T2 updates the field.
1. Dirty Read
2.Nonrepeatable read
3.Phantom read
4. Lost Updates
For two transactions T1 and T2, T1 reads some rows from a table and then T2 inserts new rows into the table.
1. Dirty Read
2.Nonrepeatable read
3.Phantom read
4.Lost Updates
For two transactions T1 and T2, they both select a row for update, and based on the state of that row, make an update to it.
1.Dirty Read
2.Nonrepeatable read
3.Phantom read
4.Lost Updates
If you are deploying into a Java EE 5 (or better) container, you may simply create a bean that is annotated with:-
1.javax.jws.WebService
2.javax.jws.WebServiceProvider
3.all of the mentioned
4.None of the mentioned
In contrast, the contract-first approach encourages you to think of the service contract first in terms of :-
1. XML
2.XML Schema(.xsd)
3. WSDL
4.All of the mentioned
In some cases, it’s also hard to map an object to XML (e.g., an object graph with cyclic references) because there’s actually an impedance mismatch between an object model and an XML model.
1.True
2.False
3.none
4.All of the mentioned
Invoking a Burlap service:-
1.HessianProxyFactoryBean
2.BurlapProxyFactoryBean
3.BurlapProxyFactory
4.BurlapProxy
Isolation Levels Supported by Spring:-
1.DEFAULT
2.READ COMMITTED
3.READ UNCOMMITTED
4. all of the mentioned
Java-based remoting technology that allows two Java applications running in different JVMs to communicate with each other.
1.Burlap
2.EJB
3.RMI
4.All of the mentioned
OpenEJB 3.1.1 supports:-
1.EJB 2.x components
2.EJB 3.0 and EJB 3.1 components
3. All of the mentioned
4.None of the mentioned
Proxying Spring services with EJB3s, injecting custom resources configured in Spring, or even using Spring to isolate your EJBs from acquiring references to other distributed resources such as a REST endpoint or an RMI endpoint.
1.SpringBeanAutowiringInterceptor
2.SpringBeanAutowiring
3.SpringBean
4.SpringBeanInterceptor
Spring comes with a service exporter that can export a bean as a SOAP web service.
1.True
2.False
3.all of the mentioned
4.None of the mentioned
Spring EJB Support Classes for Different Types of EJB:-
1.AbstractStatelessSessionBean
2.AbstractStatefulSessionBean
3.AbstractMessageDrivenBean
4.All of the mentioned
Spring provides a factory that can export beans annotated with:-
1.javax.jws.WebService
2.javax.jws.WebServiceProvider
3.all of the mentioned
4.None of the mentioned
Spring remoting facilities can significantly simplify the RMI usage on both the server and client sides.
1.True
2. False
3.none
4.all the mentoined
The concept of an endpoint in web services is much like that of a controller in web applications.
1.True
2.False
3.none
4.all the mentoined
The default JNDI name for a remote EJB 3.0 component is the EJB class name with Remote as its suffix .
1.True
2.False
3.none
4.all the mentoined
The interceptor obtains beans, by default, from a ContextSingletonBeanFactoryLocation.
1. True
2.False
3.none
4.all the mentoined
The Spring support classes facilitate building session beans:-
1.stateful session beans (SFSBs)
2.stateless session beans (SLSBs)
3.message-driven beans (MDBs)
4.All of the mentioned
The standard for deploying web services on the Java EE platform as of Java EE 1.4:-
1. JAX-RPC
2.JAX
3.RPC
4.None of the mentioned
There are several properties you must configure for an RmiServiceExporter instance:-
1.service name
2.service interface
3.service object
4. all of the mentioned
There are two approaches to developing a web service, depending on whether you define the contract first or last.
1.True
2. False
3.none
4.all the mentoined
To call the methods on a remote service:-
1.java.rmi.Remote
2. java.rmi.RemoteException
3. all of the mentioned
4.None of the mentioned
To declare a JNDI object reference in the Spring IoC container.
1.JndiObjectFactory
2. JndiObjectFactoryBean
3. JndiObject
4.JndiFactoryBean
To expose a Hessian or Burlap service, you have to add the:-
1.Hessian library
2.Burlap library
3.All of the mentioned
4.None of the mentioned
To expose a service through RMI, you have to create the service interface that extends:-
1.java.rmi.Remote
2.java.rmi.RemoteException
3.all of the mentioned
4.None of the mentioned
To send objects across the wire, beans need to be encoded using the Java Architecture for XML Binding (JAXB).
1.True
2.False
3.none
4.all the mentoined
To start the OpenEJB container, you first set environment variable:-
1.EJB_HOME
2.OPENEJB_HOME
3.Bashrc
4.None of the mentioned
To use Spring EJB support for your EJB implementation classes, you have to include a few Spring framework JARs:-
1.spring-beans
2.spring-core
3. spring-context
4.all of the mentioned
Tomcat doesn’t support JAX-WS by itself.
1.True
2.False
3.none
4.all the mentoined
You can configure the JNDI details for factory bean in:-
1.jndiEnvironment
2. jndiName
3.all of the mentioned
4.none of the mentioned