Question
a.
java.rmi.Remote
b.
java.rmi.RemoteException
c.
all of the mentioned
d.
none of the mentioned
Posted under Java Spring Framework
Engage with the Community - Add Your Comment
Confused About the Answer? Ask for Details Here.
Know the Explanation? Add it Here.
Q. To expose a service through RMI, you have to create the service interface that extends:-
Similar Questions
Discover Related MCQs
Q. To call the methods on a remote service:-
View solution
Q. Spring remoting facilities can significantly simplify the RMI usage on both the server and client sides.
View solution
Q. There are several properties you must configure for an RmiServiceExporter instance:-
View solution
Q. By default, RmiServiceExporter attempts to look up an RMI registry at localhost port 1099.
View solution
Q. The Spring support classes facilitate building session beans:-
View solution
Q. Spring EJB Support Classes for Different Types of EJB:-
View solution
Q. 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.
View solution
Q. OpenEJB 3.1.1 supports:-
View solution
Q. If you want to expose EJB component for local access within an enterprise application, the preceding two interfaces should extend EJBLocalObject and EJBLocalHome.
View solution
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.
View solution
Q. To start the OpenEJB container, you first set environment variable:-
View solution
Q. To use Spring EJB support for your EJB implementation classes, you have to include a few Spring framework JARs:-
View solution
Q. Interceptor to let Spring configure @Autowired elements on your EJB.
View solution
Q. A remote stateless session bean requires annotations:-
View solution
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.
View solution
Q. Annotation which decorates the PostageServiceBean:-
View solution
Q. The interceptor obtains beans, by default, from a ContextSingletonBeanFactoryLocation.
View solution
Q. EJB interface is a simple Java interface whose methods don’t throw RemoteException.
View solution
Q. To declare a JNDI object reference in the Spring IoC container.
View solution
Q. The default JNDI name for a remote EJB 3.0 component is the EJB class name with Remote as its suffix .
View solution
Suggested Topics
Are you eager to expand your knowledge beyond Java Spring Framework? We've curated a selection of related categories that you might find intriguing.
Click on the categories below to discover a wealth of MCQs and enrich your understanding of Computer Science. Happy exploring!