The service composition technique can compose simple services into a composite web application to achieve complex tasks. In addition to composing services, there are three major challenges, including integrating the environments in which different services reside, providing a stable operating environment, and offering an efficient way to trigger and run service components. In this research, we propose three approaches to packing service components: http, classloader, and microservice, as well as addressing the issues related to the three operating environments, respectively. Pros and cons of these three approaches are also evaluated based on four factors: speed, user-friendly, memory consumption, and future extensibility.