The mobile internet consists of several service-enabler APIs for providing different kinds of services, such as charging, SMS, MMS, and location-based services. A distributed application developed on the J2EE platform might need some business logic that involves communication with service-enabler APIs, for example, to send SMS, MMS, or retrieve the positioning information from a positioning gateway. Although EJB provides a good structure for writing business logic, it also restricts the developer to writing specific types of code that might interfere with the EJB container. A few examples of restricted source code in the EJB container, according to EJB specifications, are multithreaded code, Java reflection API, file access, SSL connections, and so on.
For service-enabler APIs, it is quite common to have one or more of these kinds of code, and so should not be accessed from the EJB containers, according to the EJB specifications. The way to overcome the limitations of EJB is to use J2EE Connector Architecture (JCA), by Sun Microsystems.
To access the telecom service layer, different service enablers expose the protocol API, but the problem that developers face is that the API is sometimes not adaptable for the J2EE/EJB platform. The goal of this kit is to guide the developers, step-by-step, on how to adapt their existing API for the J2EE platform.
To ensure developers easily understand the JCA technology, Ericsson developed a resource adapter according to the specifications of J2EE Connector Architecture (JCA) 1.5. The Ericsson MPS (Mobile Positioning System) SDK 6.0.1 was chosen as a service-enabler API. An important consideration for the resource adapter was to develop it in such a way that the EJB clients of the adapter could use the existing API for MPS so that EJB developers did not have to learn a new API to get the same functionality from MPS.
This kit is primarily intended for programmers and other related communities who are moderately experienced in J2EE platform and have a working knowledge of Enterprise Java Beans, and want to make use of the Ericsson MPS SDK to build high-end location-based services leveraging the Enterprise Java Beans. Due to the fact that JCA is not a well-understood technology for most Java developers, this CDK presents an integration solution in an educational style. The knowledge from this CDK could be used to develop adapters for other Enterprise Information Systems inside the telecom world (for example, Charging, SMS, MMS and so on) as well for other systems.
The CDK includes the following:
- Developer's guide with: a technical overview of enterprise application integration (EAI), J2EE Connector Architecture and Ericsson's MPS SDK; design documents for the MPS resource adapter; getting started guide; code descriptions and summary
- MPS resource adapter
- Enterprise client application using MPS resource adapter
- Complete source code and Ant build files