Markup compiler that outputs MIDlets
First Claim
Patent Images
1. A computer-implemented method comprising the steps of:
- parsing a specification of said computing application for a mobile information device by using a descriptor element factory, said specification being written in an extended markup language and comprising tags of said markup language corresponding to functions of said application, to create a descriptor object model comprising objects that implement said functions, wherein the parsing comprises reading different ones of said tags with different readers registered in a factory to be instantiated;
processing said objects to generate executable code for said application, said processing step further comprising;
(i) creating a generation object model according to said specification and (ii) dynamically generating source code based on said descriptor object model and said generation object model by using a generation object factory that produces generation objects, said generation objects being operable to generate class files of said source code;
preverifying classes of said class files;
packaging said executable code into an archive file, said packaging step comprising;
preparing an application descriptor file; and
including a portion of said application descriptor file in said archive file, said archive file being adapted to be downloaded to and run by the mobile information device.
2 Assignments
0 Petitions
Accused Products
Abstract
A computing application for a mobile information device is generated from An extensible markup language, MIDML, in which different types of tags correspond to different application functions. A command line compiler parses the MIDML specification, reading the tags in specialized readers, which are then accessed by generators of specialized objects for an object model using different generators for each type. A predefined set of tags is extendible by the application developer. The generation process results in Java source code, which is then compiled into a MIDlet and packaged into a JAR file and a JAD file.
94 Citations
47 Claims
-
1. A computer-implemented method comprising the steps of:
-
parsing a specification of said computing application for a mobile information device by using a descriptor element factory, said specification being written in an extended markup language and comprising tags of said markup language corresponding to functions of said application, to create a descriptor object model comprising objects that implement said functions, wherein the parsing comprises reading different ones of said tags with different readers registered in a factory to be instantiated; processing said objects to generate executable code for said application, said processing step further comprising;
(i) creating a generation object model according to said specification and (ii) dynamically generating source code based on said descriptor object model and said generation object model by using a generation object factory that produces generation objects, said generation objects being operable to generate class files of said source code;preverifying classes of said class files; packaging said executable code into an archive file, said packaging step comprising; preparing an application descriptor file; and including a portion of said application descriptor file in said archive file, said archive file being adapted to be downloaded to and run by the mobile information device. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14, 15, 16, 17, 18, 19, 20, 21, 22)
-
-
23. A computer software product, comprising a computer-readable storage medium in which computer program instructions are stored, which instructions, when read by a computer, cause the computer to perform a method comprising the steps of:
-
parsing a specification of a computing application for a mobile information device by using a descriptor element factory, said specification written in an extended markup language and comprising tags corresponding to functions of said application, to create a descriptor object model comprising objects that implement said functions, wherein the parsing comprises reading different ones of said tags with different readers registered in a factory to be instantiated; and processing said objects to generate executable code for said application, said processing step further comprising;
(i) creating a generation object model according to said specification and (ii) dynamically generating source code based on said descriptor object model and said generation object model by using a generation object factory that produces generation objects, said generation objects being operable to generate class files of said source code;preverifying classes of said class files; packaging said executable code into an archive file, said packaging step comprising; preparing an application descriptor file; and including a portion of said application descriptor file in said archive file, said archive file being adapted to be downloaded to and run by the mobile information device. - View Dependent Claims (24, 25, 26, 27, 28, 29, 30, 31)
-
-
32. A data processing system comprising:
-
a computer readable memory having a data structure stored therein, said data structure comprising; a parser for parsing a specification of a computing application for a mobile information device by using a descriptor element factory, said specification being written in an extended markup language and comprising tags of said markup language that correspond to functions of said application to create a descriptor object model comprising objects that implement said functions, wherein the parsing comprises reading different ones of said tags with different readers registered in a factory to be instantiated, and said parser for outputting a plurality of objects according to the descriptor object model, said objects including a project descriptor object; a code generator accepting outputs of said parser that (i) accesses a generation object model according to a specification of a project descriptor object and (ii) dynamically produces source code based on said descriptor object model and said generation object model by using a generation object factory that produces generation objects, said generation objects being operable to generate class files of said source code; and a compiler accepting said source code for compilation into object code, said compiler comprising a generator a verification module for preverifying classes of the class files of said source code; and a packer for packaging said object code into an archive file said packer being configured to include application descriptor information in a manifest of said archive file, said archive file being adapted to be downloaded to and run by the mobile information device. - View Dependent Claims (33, 34, 35, 36, 37, 38, 39, 40, 41, 42, 43, 44, 45, 46, 47)
-
Specification