download - HrOUG
download - HrOUG download - HrOUG
Configuring the Cache• Default: objects read are cached and trusted• Configuration by entity type important– Volatility of data within application and through otherapplications– Shared nature of data between application clients• Configuration Parameters– Cache isolation, type and size– Refreshing• By query (use-case) or descriptor (always)• Expiry/Invalidation– Cache Coordination• Locking is the only way to avoid potential datacorruption in concurrent write scenariosHrOUG0726
Concurrency Protection: Locking• Prevent data corruption !!!• Java Developers think of locking at the object level• Databases may need to manage locking across manyapplications• TopLink is able to respect and participate in locks atdatabase level– Optimistic: Numeric, Timestamp, All fields, Selected fields,Changed field– PessimisticHrOUG0727
- Page 3: Business Services Choices• TopLin
- Page 6 and 7: ADF Business Components• Declarat
- Page 8 and 9: Business DomainComponents- Entity O
- Page 10 and 11: Business Logic ValidationClient tie
- Page 12 and 13: Value of TopLink• Performance and
- Page 14 and 15: Over 12 Year HistoryHrOUG0714
- Page 16 and 17: TopLink Capabilities• Object-Rela
- Page 18 and 19: TopLink ORM in an ApplicationPresen
- Page 20 and 21: TopLink Design TimeMapping EditorPe
- Page 22 and 23: TopLink Query ExecutionSQLTopLinkSt
- Page 24 and 25: Caching ArchitectureSessionIsolated
- Page 28 and 29: Transactions• Java apps typically
- Page 30 and 31: Transactions and the Cache• Clien
- Page 32 and 33: Performance and Tuning OptionsMinim
- Page 34 and 35: Oracle DB Features• Oracle native
- Page 36 and 37: EJB 3.0 Java Persistence API• JSR
- Page 38 and 39: Entity == POJO@Entity@Table(name=
- Page 40 and 41: Configuration by Exception@Entity@T
- Page 42 and 43: TopLink Essentials: JPA RI• Open
- Page 44 and 45: TopLink JAXB• Provides complete O
- Page 46 and 47: Combining ORM and JAXB• TopLink
- Page 48 and 49: Oracle ADF and TopLink• JDevelope
- Page 50 and 51: TopLink Summary• TopLink ORM- Any
- Page 52 and 53: TopLink and ADF BC• TopLink- Pers
- Page 54 and 55: TopLink and ADF BC• Both Products
Configuring the Cache• Default: objects read are cached and trusted• Configuration by entity type important– Volatility of data within application and through otherapplications– Shared nature of data between application clients• Configuration Parameters– Cache isolation, type and size– Refreshing• By query (use-case) or descriptor (always)• Expiry/Invalidation– Cache Coordination• Locking is the only way to avoid potential datacorruption in concurrent write scenarios<strong>HrOUG</strong>0726