This paper presents a novel methodology to develop and integrate distributed applications. It starts from analyzing requirement specifications based on a service’s point of view. Thereafter, it is required to describe each service using ontology. The modeling and describing procedures are regarded as a new way to program Ontology and Service Oriented (OSO) programming, and descriptions obtained in the procedure are called OSO code. Moreover, OSO code has the features of interpretability, transformability, comparability, composability, and portability. Those features support code interpretation and generation. In addition, OSO code is also human-readable. This feature minimizes development efforts. Finally, since business logic in OSO code is represented in a machine-understandable format, the procedure of business process integration is completed automatically, based on business logic understanding.