As Ryan described in his recent blog, we now have support for Java SE clients in the Mobility Platform. Mahesh Sharma, a student and Sun ambassador in India, has been working on a port of this library to the Android platform. As part of his work, Mahesh also ported the UI of our MusicDb demo and has proven that Android is a great plaform to run SGMP applications.
In the first installment of these series we've looked at the architecture of a MEP connector and briefly discuss the main abstractions in the ECBO (Enterprise Connector Business Object) API: BusinessObject and BusinessObject provider. In this second part, we'll discuss an actual implementation of the BusinessObject abstraction used to create a connector that synchronizes data against a relational database.
Developing an application using the Sun Java Mobile Enterprise Platform (MEP) requires writing two components: a sync client application that runs on the mobile device and an enterprise connector that enables the MEP gateway to access the back-end system where the data is located. Ryan has already provided an intro on the architecture and features of the client SDK, so in this blog entry I'll introduce the Enterprise Connector Business Object (ECBO) API which is part of the server SDK and can be used to write enterprise connectors.