| Snaprecruit.com

| Snaprecruit.com

Interview question based on skill :

Take as many assements as you can to improve your validate your skill rating

Total Questions: 20

1. OpenEJB 3.1.1 supports:-

Correct Answer is : All of the mentioned

2. If you want to expose EJB component for local access within an enterprise application, the preceding two interfaces should extend EJBLocalObject and EJBLocalHome.

Correct Answer is : TRUE

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

Correct Answer is : TRUE

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

Correct Answer is : OPENEJB_HOME

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

Correct Answer is : all of the mentioned

6. A remote stateless session bean requires annotations:-

Correct Answer is : All of the mentioned

7. 0 with Spring”. 1. Interceptor to let Spring configure @Autowired elements on your EJB.

Correct Answer is : org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor

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

Correct Answer is : SpringBeanAutowiringInterceptor

9. Annotation which decorates the PostageServiceBean:-

Correct Answer is : @Interceptors

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

Correct Answer is : TRUE

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

Correct Answer is : TRUE

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

Correct Answer is : JndiObjectFactoryBean

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

Correct Answer is : TRUE

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

Correct Answer is : all of the mentioned

15. Lightweight remoting technologies developed by Caucho Technology.

Correct Answer is : All of the mentioned

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

Correct Answer is : TRUE

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

Correct Answer is : All of the mentioned

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

Correct Answer is : TRUE

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

Correct Answer is : TRUE

20. Invoking a Burlap service:-

Correct Answer is : BurlapProxyFactoryBean