Advanced Java(Engineering > Computer Science And Engineering > Spring > Grid > Jbpm > Spring ) Questions and Answers
Question 1. The company, Terracotta, has also recently become the corporate sponsor of:-
Ehcache
Quartz
All of the mentioned
None of the mentioned
Explanation:-
Answer: Option C. -> All of the mentioned
The company, Terracotta, has also recently become the corporate sponsor of the Ehcache and Quartz projects.
Question 2. void addRecipients(Message.RecipientType type, Address[] addresses) Parameter:- type: This would be set to:-
TO
CC
BCC
All of the mentioned
Explanation:-
Answer: Option D. -> All of the mentioned
Question 3. On top of Spring Dynamic Modules, SpringSource built SpringSource dm Server, which is a server wired from top to bottom with OSGi and Spring.
True
False
Error
None of the above
Explanation:-
Answer: Option A. -> True
SpringSource dm Server supports dynamic deployment, enhanced tooling, HTTP, and native .war deployment.
Question 4. The business process file's name needs to end in :-
jpdl
xml
jpdl.xml
none of the mentioned
Explanation:-
Answer: Option C. -> jpdl.xml
The business process file's name needs to end in jpdl.xml; otherwise, jBPM won't deploy it.
Question 5. It's not too difficult to get jBPM working on JBoss's EJB environment.
True
False
Error
None of the above
Explanation:-
Answer: Option B. -> False
As it's written using Hibernate, it's not too difficult to get it working on JBoss's EJB environment.
Question 6. To build a parallelized solution for a problem that's intrinsically better-suited to parallelization or that, for want of resources, needs to be chunked.
map
reduce
all of the mentioned
none of the mentioned
Explanation:-
Answer: Option C. -> all of the mentioned
Use map/reduce to approach the problem concurrently.
Question 7. Classes which are high-level streams that contain the methods for serializing and deserializing an object.
ObjectInputStream
ObjectOutputStream
All of the mentioned
None of the mentioned
Explanation:-
Answer: Option C. -> All of the mentioned
Classes ObjectInputStream and ObjectOutputStream are high-level streams that contain the methods for serializing and deserializing an object.
Question 8. Element to export the bean as an OSGi service, classified by the interface we specify.
osgix
osgi:service
all of the mentioned
none of the mentioned
Explanation:-
Answer: Option B. -> osgi:service
We'll use the osgi:service element to export the bean as an OSGi service, classified by the interface we specify.
Question 9. In this method, you can access the request XML element, whose type is org.dom4j.Element, and the response document, whose type is org.dom4j.Document, as method arguments.
invoke
invokeInterval
invokeInternal
none of the mentioned
Explanation:-
Answer: Option C. -> invokeInternal
The core method defined in this class that you must override is invokeInternal().
Question 10. OSGi doesn't solve framework concerns, instead focusing on infrastructure requirements for Java applications.
True
False
Error
None of the above
Explanation:-
Answer: Option A. -> True
Spring Dynamic Modules provides functionality that sits on top of those implementations, providing very powerful runtime sophistication for developers looking to produce and consume OSGi services in a Spring-friendly fashion.