adplus-dvertising
frame-decoration

Question

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.

a.

True

b.

False

c.

May be

d.

Can't say

Answer: (a).True

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. 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.

Similar Questions

Discover Related MCQs

Q. To start the OpenEJB container, you first set environment variable:-

Q. To use Spring EJB support for your EJB implementation classes, you have to include a few Spring framework JARs:-

Q. Interceptor to let Spring configure @Autowired elements on your EJB.

Q. A remote stateless session bean requires annotations:-

Q. 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.

Q. Annotation which decorates the PostageServiceBean:-

Q. The interceptor obtains beans, by default, from a ContextSingletonBeanFactoryLocation.

Q. EJB interface is a simple Java interface whose methods don’t throw RemoteException.

Q. To declare a JNDI object reference in the Spring IoC container.

Q. The default JNDI name for a remote EJB 3.0 component is the EJB class name with Remote as its suffix .

Q. You can configure the JNDI details for factory bean in:-

Q. Lightweight remoting technologies developed by Caucho Technology.

Q. Spring framework itself also offers a remoting technology called HTTP Invoker.

Q. To expose a Hessian or Burlap service, you have to add the:-

Q. For a HessianServiceExporter instance, you have to configure a service object to export and its service interface.

Q. By default, BeanNameUrlHandlerMapping is preconfigured for a Spring MVC application.

Q. Invoking a Burlap service:-

Q. A web service contract is described using :-

Q. There are two approaches to developing a web service, depending on whether you define the contract first or last.

Q. In contrast, the contract-first approach encourages you to think of the service contract first in terms of :-