adplus-dvertising
frame-decoration

Question

? should be replaced by:-
<beans ...>
	...
	<bean id="rmiRegistry"
	class="org.springframework.remoting.rmi.RmiRegistryFactoryBean" />
	<bean id="connectorServer"
	class="org.springframework.jmx.support.ConnectorServerFactoryBean"
	depends-on="rmiRegistry">
	<property name="serviceUrl" value=? />
	</bean>
</beans>

a.

service:jmx:rmi://localhost/jndi/rmi://localhost:1099/replicator

b.

service:jmx:rmi://localhost/jndi/rmi://localhost:1099/

c.

service:jmx:rmi://localhost/jndi//localhost:1099/replicator

d.

none of the mentioned

Answer: (a).service:jmx:rmi://localhost/jndi/rmi://localhost:1099/replicator

Engage with the Community - Add Your Comment

Confused About the Answer? Ask for Details Here.

Know the Explanation? Add it Here.

Q. ? should be replaced by:-

Similar Questions

Discover Related MCQs

Q. If no RMI registry has been created externally, you should create one by using:-

Q. The simplest MBean assembler in Spring is, which allows you to specify the names of the methods to export.

Q. Spring allows your beans to publish JMX notifications through:-

Q. The core interface of Spring email support is:-

Q. The JavaMailSender interface is a subinterface of MailSender that includes specialized JavaMail features:-

Q. Before you implement the ErroNotifier interface in this way, you may need a local email server that supports the Simple Mail Transfer Protocol (SMTP) for testing purposes.

Q. You can implement the interface to send email notifications in case of errors.

Q. You send the email by making a call to:-

Q. The default port used by JavaMailSenderImpl is the:-

Q. If you have a JavaMail session configured in your Java EE application server, you can first look it up with the help of:-

Q. MIME is supported by JavaMail through the:-

Q. The JavaMailSenderImpl instance you injected does implement this interface.

Q. Quartz supports several types of triggers:-

Q. SimpleTrigger allows you to set trigger properties:-

Q. CronTrigger accepts a Unix cron expression for you to specify the times to run your job.

Q. Spring also offers MethodInvokingJobDetailFactoryBean for you to define a job that executes a single method of a particular object.

Q. You can configure a Quartz SimpleTrigger object in Spring bean configuration file through:-

Q. Spring 3.0 debuts new support for configuring:-

Q. Template which can send and receive JMS messages with much less code

Q. The template handles the boilerplate tasks for you and also converts the JMS API JMSException hierarchy into Spring runtime exception:-