AOSD Conference  
Program Overview
Technical Program
Industry Track
Exhibitions
Keynotes
Workshops
Tutorials
Demonstrations
BOFs
Student Extravaganza
Conference Venue
Maps
Chicago Photos
Chicago History
Student Volunteers
AOSD-Europe Sponsorships
 

Industry track

Invited Talk: Hibernate Integration with AspectJ

Wednesday, March 16, 4:30 pm – 5:00 pm

Nicholas Lesiecki, VMS, Coauthor Mastering AspectJ

Abstract

Hibernate, though simpler in many respects than a heavyweight persistence container, demands more vigilance on the part of the developer: to manage sessions/transactions, to enlist persistent objects appropriately, and to manage relationships between persistent objects. This talk will describe a set of aspects VMS used in production to manage these issues and to reduce the development effort required to extend and maintain a Hibernate persistence model. Attendees will learn about:

  • Declarative transactions managed with AspectJ
  • Bidirectional relationship propagation
  • Automatic enlistment of new persistent objects with the currently open session (along with an interesting solution to the problem of relationships initiated in the constructor)
  • Flushing database changes automatically before query operations
  • Implementing common persistence features with static crosscutting


 
 
Edited by the AOSD Conference Committee.  Send comments to: webmasteraosd.net