1. A method for creating pervasive applications executable by a plurality of node types, the method comprising: capturing a meta-data definition of the application into an application definition module, the meta-data definition describing at least the plurality of node types, the meta-data definition further comprising whether a class of the application is transaction aware; automatically generating the code per node type for the plurality of node types in a code generation module, comprising transaction aware code that enables the application to participate in two phase commit transactions; compiling the code per node type; and generating the packaging necessary to deploy the application to the plurality of node types.