Michael Yuan's Windows Mobile Thoughts

Nokia's big plan to beat .Net CF in mobile Web services

This entry is cross-posted from my Java blog due to its relevance to the .Net Compact Framework community. Personally, I think the biggest announcement from JavaOne is that Nokia is building a Service-Oriented Architecture framework on smart mobile phones that could quickly change how an average technology user sees Web services, No, I am not talking about the standard SOAP interfaces between desktop/server applications and telecomm hosted servers (e.g., the MMS messaging server, location server and presence server). They are cool technologies already in use but they are only part of the mobile web service big picture that is about to emerge.

I am talking about integrating mobile clients directly into Service-Oriented Architecture (SOA) based on asynchronous web services!

OK, mobile web service client is not exactly a new idea. I talked about it more than two years ago back in 2002. The .Net Compact Framework has been supporting web services for quite some time now. On the Java side, kSOAP is a J2ME based SOAP parser and the JSR 172 provides a standard set of XML and SOAP APIs on J2ME devices. Tools like Visual Studio, IBM WebSphere Device Developer, JBuilder and SunONE Studio have provided code generators to drastically simply the work for developers. I wrote a kSOAP tutorial in Augest 2002 and also covered both kSOAP and JSR 172 extensively in my "Enterprise J2ME" book. Those are all nice. However, there is a key problem with the current approaches: All the frameworks more or less assumed that the device interact with one service endpoint at a time in a synchronous remote procedure call (RPC) mode. That is to take all the overhead of web service but get little of the promised flexibility, scalability and asynchrony in return. Indeed, most developers opt to implement custom RPC protocols to interface with mobile servers. I recommended building a service facade to hide the backend complexity in this simple scenario.

That is not what Web service is meant to be. As I had discuss two years ago, mobile web service is about the ecosystem where the device could roam in and out, discover and consume services at will. Some of the services are illustrated in the figure below (credit: Forum Nokia). In addition, the framework allows mobile devices to become Web service providers as well and hence enables peer-to-peer mesh service networks. Very cool!

Now, the single most important technical challenge in such a ecosystem is access control. A single sign-on scheme is required to track all the devices and services in the system and decides who has permission to do what. That requires communication protocols more complex than SOAP. Various competing web service standards for single sign-on services have been proposed. The Liberty Alliance led by Sun is one of them. The Nokia framework is currently based on Liberty Alliance and could reach out to other single sign-on communities in the future.

The framework will be available in both J2ME and Symbian C++. It puts Nokia in a competitive position against Microsoft in this race -- the .Net Compact Framework 2.0 would also have some advanced Web service features. All in all, I found this extremely interesting. Cannot wait to try it out!

Posted: Jun 30 2004, 02:54 PM by juntao | with 8 comment(s)
Filed under:

Comments

dsuspense said:

How does this compare, or possibly tie in with the OSGi?
Is this a replacement for what OSGi would provide, or would it possibly be able to build on top of OSGi.
I am speaking in the context of the J2ME devices/framework.
# June 30, 2004 5:24 PM

Michael Yuan said:

I think this framework can be implemented as a service over the OSGi -- similar to the device management service etc.. However, I do not think this is the case. Nokia intend to support MIDP and Symbian C++ in this framework -- both are out of OSGi's scope. In addition, this seems to be a Nokia proprietary framework. OSGi's Java API on mobile devices is being standardized in JSR 232, which is also lead by Nokia.
# June 30, 2004 6:55 PM

TrackBack said:

# July 1, 2004 1:32 AM

TrackBack said:

^_^,Pretty Good!
# April 10, 2005 6:01 AM

Nino.Mobile said:

The Mobile Minute 63

# April 5, 2010 9:46 AM

moviles baratos said:

Thanks for such a great post here. This interview is really great, I noticed many new things by reading it.

# September 19, 2011 5:51 AM

tablet pc precios said:

Many thanks for your sharing

# October 25, 2011 11:11 PM
Leave a Comment

(required) 

(required) 

(optional)

(required)