1. A method for creating pervasive applications executable by a plurality of node types, the method comprising: capturing a meta-data definition of an 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; wherein capturing the meta-data comprises capturing whether the application is persistable wherein capturing meta-data definition comprises capturing a definition of peer-to-peer messaging including network type and protocol preference, and wherein generating the code comprises generating the code that enables the application to communicate peer-to-peer in accordance with the captured network type and protocol preference.