General 6 questions
- Define the term persistent data
- Explain the function of the:
- PersistenceManager
- Enhancer
- Extent
- PersistenceManagerFactory
- JDOHelper
- Explain why JDO abstracts the persistent memory medium
- Explain the function of the Query Component
- Explain the function of the Transaction Component
- Explain the advantages and disadvantages of using the interface PersistenceCapable
- Explain the advantages and disadvantages of using an Enhancer
- Identify classes that are not supported to be made persistent
- Explain the difference between the terms persistent and transient
- Explain the terms datastore identity and application identity
- Explain the terms persistent capable and persistent aware
|
0 |
40 |
0 |
|
Data Object Descriptor 2 questions
Use the following tags to store objects:
- <field>
- <class>
- <package>
- <collection>
Identify correct locations and names of the .jdo metadata file.
|
0 |
8 |
0 |
|
Persistence Manager 3 questions
- Use the class PersistenceManagerFactory to get an instance of the class PersistenceManager
- Write code that uses the class PersistenceManager to store objects on the persistent medium
- Write code that uses the class PersistenceManager to delete objectes from the persistent medium
|
0 |
14 |
0 |
|
JDOHelper 1 question
- Use the class to get a reference to a PersistenceManagerFactory
- Use the class to get a reference to a PersistenceManager that is associated with a given persistent object
|
0 |
9 |
0 |
|
Search in the persistent medium 2 questions
- Use the class Extent to seach for all objects of a class
- Use the class Query to search for objects,which fulfil defined conditions
|
0 |
10 |
0 |
|
Transaction 3 questions
- Use the class Transaction to provide basic transactional behavior in your code
- Write code that is able to deactivate transactions
- Write code that uses the different transactional settings and know their impacts on transactions
- Identify the two types of transactions (pessimistic,optimistic)
|
0 |
8 |
0 |
|
JDO-QL 4 questions
- Define queries that use logical and arithmetical operators
- Define queries that declares parameters
- Define queries that uses the JDO-QL API methods
- Identify the required and optional query elements
|
0 |
12 |
0 |
|
PersistenceCapable 1 question
- Write code that implements the interface PersistenceCapable correctly
|
0 |
5 |
0 |
|
InstanceCallbacks 1 question
Write code that implements the interface InstanceCallbacks to react on events in the lifecycle of an persistent object.
|
0 |
5 |
0 |
|