Figure 3. Share Update Events Between Java and .NET
The WinForms app exposes a NotificationRemoting object that lets the Java DAO layer inform the app of a database update. When the notification object is called, it creates a new event handled by the ADO.NET DAO layer. The DAO layer in turn reexposes a new event that the application's business logic can consume. The DAO layer abstracts all the notification and access logic, so the business logic code simply has to take action on the update event.