This quiz was created by TeoGol29.
Remember, concepts are what really matter.
Data can be exchanged between various applications and different platforms
To resolve interoperability issues
Applications to function between two different operating systems server
All of the above
Rate this question:
JPQL
REST
JPA
XML-RPC
Rate this question:
REST is more simple and easy to use than SOAP web services
REST uses HTTP protocol for producing or consuming web services while SOAP uses XML
REST is lighweight as compared to SOAP
All of the above.
Rate this question:
This attribute will should not be serialized by the EJB container
This attribute will should not be persisted by the EJB container.
This attribute will should not be garbage collected by the EJB container
Rate this question:
New
Managed
Synchronized
Detached
Removed
Rate this question:
XML and SOAP
SOAP, UDDI, WSDL
WSDL and UDDI
Eb-XML and WSDL
Rate this question:
SOAP
Web Page
UDDI
WSDL
Rate this question:
Invoke the persist() method of the entity manager on the instance
Invoke the merge() method of the entity manager on the instance
Invoke the manage() method of the entity manager on the instance
Invoke the remove() method of the entity manager on the instance
Rate this question:
A protocol.
A software architectural paradigm
A standard API.
Rate this question:
Web service implementing client components.
Web service protocol stack
Web service supporting repository
Web service supporting request and respone components
Rate this question:
Application can make a call to the web service and then continue to perform the needed task
A service notifies the application when it is ready
Application has to wait until execution is completed.
None of the above.
Rate this question:
Synchronize
Flush
Refresh
Persist
Rate this question:
There are two fetch modes : EAGER and LAZY.
The default fetching mode for a field in an Entity bean annotated by @OneToMany is LAZY.
The default fetching mode for a field in an Entity bean annotated by @Basic is LAZY.
@Lob annotation does not have a default fetch mode.
Rate this question:
To read use HTTP get method.
To delete use HTTP delete method.
To create use HTTP post method.
To update use HTTP put method
Rate this question:
Persist
Flush
Contains
Detach
Find
Rate this question:
Write a private final Entity class named after the mapped table
Annotate the class with @Entity
Annotate the primary key attribute or its getter method with @Id
Define private attributes to map the table columns.
Write the finalize method
Rate this question:
Synchronize
Flush
Refresh
Persist
Rate this question:
Cascade mode attributes can be specified for the association annotaions (like @OneToMany) in an entity bean.
The cascading direction is from the target entity to the source entity.
PERSIST, DELETE and REFRESH are cascading mode attributes.
Refresh cascade causes to refresh the target entities of a relationship when refresh is invoked on the source entity of the relationship
Rate this question:
When client-server communication bandwidth is limited.
When the web service interface must be predefined in a concrete contract.
When a web based application utilizes AJAX components which consume the web service.
When asynchronous invocation is required.
Rate this question:
Quiz Review Timeline (Updated): Mar 22, 2023 +
Our quizzes are rigorously reviewed, monitored and continuously updated by our expert board to maintain accuracy, relevance, and timeliness.
Wait!
Here's an interesting quiz for you.