The philosophy is that there are two sets of functions. ESB (Enterprise Service Bus) and Process Choreography (BPEL and Human Tasks). The ESB functions are also known as "mediations".

The Mediation Module can be used to hold ESB functions while the (Process) Module can hold Process Choreography functions. When WPS first came out, there was no ESB function so they grabbed the term "Module" to refer to an SCA solution. What you build with the assembly diagram editor in WID becomes the "Module". When WESB came along, a second type of Module was created so they called that a "Mediation Module". My guess is that if we could roll back time IBM would have called the "Module" the "Process Module" and not just "Module" for WPS.

The similarity between the two is that both are SCA assemblies. The difference between the two is the types of SCA components that can be added to each.

In a Mediation Module, you can have Imports, Exports, Java Components and Mediation Flow Componens.

In a (Process) Module, you can have Imports, Exports, Java Components, BPEL components, Human Task components, Selector Components, Interface Map components, State machine components, Selector components.