Header Sep
Java Tips, Tricks & Code
我的评分 用户评价
登录票选本页

August 2003
Understanding Networking in CLDC

[Back]

Connected Limited Device Configuration (CLDC) defines a set of classes that together constitute the Generic Connection Framework (GCF). The GCF abstracts the concepts of input/output and networking into simple classes. It basically provides the same functionality as the java.io and java.net with some restrictions. CLDC does not provide functionality for any specific network protocols. Such implementations are left to Mobile Information Device Profile (MIDP), which only mandates support for HTTP (Hyper Text Transfer Protocol) 1.1 protocol.

Smart Ticket 1.2 is a sample application from Sun. It is a good illustration of how a J2ME client can communicate with a J2EE server to provide a wireless to enterprise server solution. This is also a good example of the Model View Controller (MVC) architecture. The guidelines discuss why MVC benefits outweigh the cost of increased code size.

 

我的评分 用户评价
登录票选本页