Spring Interview Questions - 11 | Snaprecruit.com

Spring Interview Questions - 11 | Snaprecruit.com

Spring interview questions part 11

Spring interview questions part 11

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

Total Questions: 20

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

Correct Answer is : SMTP port 25

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

Correct Answer is : JndiObjectFactoryBean

3. MIME is supported by JavaMail through the:-

Correct Answer is : javax.mail.internet.MimeMessage

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

Correct Answer is : TRUE

5. Quartz supports several types of triggers:-

Correct Answer is : All of the mentioned

6. SimpleTrigger allows you to set trigger properties:-

Correct Answer is : all of the mentioned

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

Correct Answer is : TRUE

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

Correct Answer is : TRUE

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

Correct Answer is : SimpleTriggerBean

10. Spring 3.0 debuts new support for configuring:-

Correct Answer is : All of the mentioned

11. x with Spring”. 1. Key technology in developing distributed applications, especially multi-tier enterprise applications.

Correct Answer is : All of the mentioned

12. Java-based remoting technology that allows two Java applications running in different JVMs to communicate with each other.

Correct Answer is : RMI

13. To expose a service through RMI, you have to create the service interface that extends:-

Correct Answer is : java.rmi.Remote

14. To call the methods on a remote service:-

Correct Answer is : java.rmi.RemoteException

15. Spring remoting facilities can significantly simplify the RMI usage on both the server and client sides.

Correct Answer is : TRUE

16. There are several properties you must configure for an RmiServiceExporter instance:-

Correct Answer is : all of the mentioned

17. By default, RmiServiceExporter attempts to look up an RMI registry at localhost port 1099.

Correct Answer is : TRUE

18. The Spring support classes facilitate building session beans:-

Correct Answer is : all of the mentioned

19. Spring EJB Support Classes for Different Types of EJB:-

Correct Answer is : All of the mentioned

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

Correct Answer is : TRUE

Similar Interview Questions

    Search for latest jobs

    Icon
    Icon