|
Understanding J2ME Application Models |
|
|
|
|
Friday, 27 July 2007 |
|
Page 1 of 4 The management of an application - how it's started and stopped, when it can access system resources, how it discovers its initialization parameters - is shared between the operating system (or other system-level software) and the application itself. The application model defines how an application is managed and how management responsibilities are divided between the application and the underlying system. The Java 2 Platform, Micro Edition (J2ME) currently supports four different application models. This article describes each of them.
The Traditional Application ModelThe simplest is the traditional application model. The entry point to the application is a static method called main(), as in this example: public class MyClass { public static void main( String[] args ){ // application starts here } }
|
|
Last Updated ( Tuesday, 14 August 2007 )
|