Electronic Commerce is a field of application that is distributed by nature where different parties share information and work concurrently and cooperatively on objects, potentially distributed over a large scale network like the internet. In such an environment client/server architectures reach the limit of their capability. Non-centralized distributed architectures with object and code migration are more suitable. This paper presents a distributed extension to Java named Dejay which is designed to simplify the design and development of such distributed systems. Concurrency and distribution are expressed using the same mechanism, virtual processors. These processors represent one thread of control. They contain groups of objects and manage their synchronization and migration over distributed networks. It is used as implementation language for distributed electronic commerce applications.