Spring Questions and Answers – JMX MBeans

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “JMX MBeans”. 1. There are two main options for scheduling tasks on the Java platform:- a) JDK Timer b) Quartz Scheduler c) All of the mentioned d) None of the mentioned 2. Spring supports JMX by allowing you to export any beans … Read more

advertisement

Spring Questions and Answers – Web Services with XML Marshalling and service endpoints

This set of Java Spring online test focuses on “Web Services with XML Marshalling and service endpoints”. 1. Spring-WS supports using XML marshalling technology to marshal and unmarshal objects to and from XML documents. a) True b) False 2. To implement endpoints with an XML marshalling technology, you have to extend the:- a) AbstractMarshallingPayload b) … Read more

advertisement

Spring Questions and Answers – Web Services Using spring-questions-answers-WS

This set of Java Spring Multiple Choice Questions & Answers focuses on “Web Services Using spring-questions-answers-WS”. 1. The concept of an endpoint in web services is much like that of a controller in web applications. a) True b) False 2. Spring-WS provides various abstract endpoint classes for you to process the request. a) org.springframework.ws.server.endpoint b) … Read more

advertisement

Spring Questions and Answers – SOAP Web Service

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “SOAP Web Service”. 1. A web service contract is described using :- a) Web Services Description Language b) Web Services Description c) All of the mentioned d) None of the mentioned 2. There are two approaches to developing a web service, depending … Read more

advertisement

Spring Questions and Answers – EJB 3.0 with Spring

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “EJB 3.0 with Spring”. 1. Interceptor to let Spring configure @Autowired elements on your EJB. a) org.springframework.ejb.interceptor.SpringBeanAutowiringInterceptor b) org.springframework.ejb.interceptor.SpringBeanAutowiring c) org.springframework.ejb.interceptor.SpringBean d) none of the mentioned 2. A remote stateless session bean requires annotations:- a) @Remote b) @Stateless c) All of the … Read more

advertisement

Spring Questions and Answers – EJB 2.x with Spring

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “EJB 2.x with Spring”. 1. Key technology in developing distributed applications, especially multi-tier enterprise applications. a) Remoting b) EJB c) RMI d) All of the mentioned 2. Java-based remoting technology that allows two Java applications running in different JVMs to communicate with … Read more

advertisement

Spring Questions and Answers – Setting the Transaction Attribute

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Setting the Transaction Attribute”. 1. A transaction propagation behavior can be specified by the:- a) propagation b) consistency c) isolation d) All of the mentioned 2. Transaction propagation behavior are defined in the:- a) org.springframework.transaction.Transaction b) org.springframework.transaction.TransactionDefinition c) all of the mentioned … Read more

advertisement

Spring Questions and Answers – Transaction Management

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “Transaction Management”. 1. Transactions can be described with key properties:- a) Atomicity b) Consistency c) Isolation d) All of the mentioned 2. To access a database running on the Derby server, you have to add:- a) Derby client library b) Tomcat client … Read more

advertisement

Spring Questions and Answers – Hibernate and JPA Contextual Sessions

This set of Java Spring MCQs focuses on “Hibernate and JPA’s Contextual Sessions”. 1. Spring HibernateTemplate can simplify your DAO implementation by managing sessions and transactions for you. a) True b) False 2. An alternative to Spring HibernateTemplate is:- a) HibernateContext b) Hibernate contextual sessions c) All of the mentioned d) None of the mentioned … Read more

advertisement

Spring Questions and Answers – ORM Frameworks

This set of Java Spring Multiple Choice Questions & Answers (MCQs) focuses on “ORM Frameworks”. 1. Class which represents a real-world entity and its instances will be persisted to a database. a) entity b) persistent c) all of the mentioned d) none of the mentioned 2. Each entity class to be persisted by an ORM … Read more

advertisement
Subscribe to our Newsletters (Subject-wise). Participate in the Sanfoundry Certification contest to get free Certificate of Merit. Join our social networks below and stay updated with latest contests, videos, internships and jobs!

Youtube | Telegram | LinkedIn | Instagram | Facebook | Twitter | Pinterest
Manish Bhojasia - Founder & CTO at Sanfoundry
Manish Bhojasia, a technology veteran with 20+ years @ Cisco & Wipro, is Founder and CTO at Sanfoundry. He lives in Bangalore, and focuses on development of Linux Kernel, SAN Technologies, Advanced C, Data Structures & Alogrithms. Stay connected with him at LinkedIn.

Subscribe to his free Masterclasses at Youtube & discussions at Telegram SanfoundryClasses.