Frontiers of Computer Science

, Volume 6, Issue 6, pp 725–740

Towards module-based automatic partitioning of Java applications

  • Ying Zhang
  • Gang Huang
  • Wei Zhang
  • Xuanzhe Liu
  • Hong Mei
Research Article

DOI: 10.1007/s11704-012-2220-x

Cite this article as:
Zhang, Y., Huang, G., Zhang, W. et al. Front. Comput. Sci. (2012) 6: 725. doi:10.1007/s11704-012-2220-x
  • 98 Downloads

Abstract

When reengineering a monolithic application to be a distributed one, programmers always have to decide how many distributed parts the application should be partitioned, and write many codes related to where a partwill be placed on network nodes and how these parts communicate with each other through the network. These codes usually have nothing to do with the business functions of the application, and they are laborious to write. In addition, as the distribution architecture of the application is finalized beforehand, it may not adapt well to the ever-changing execution environment. In this paper, we propose DPartner, an automatic partitioning system, to help programmers create a distributed Java application without explicitly writing the distribution-related codes. Unlike the other partitioning systems, DPartner does not partition an application directly into the coarse-grained client and server. Instead, it first partitions the application into several modules where each module performs a relatively independent business function of the application. Then it makes these modules be distributable through automatic bytecode rewriting. These modules can distribute in different nodes and cooperate to work just as the original monolithic application. Such a module-based partitioning approach enables a relatively easy reshaping of the distribution architecture of an application, which facilitates the application adapt to the environmental changes without manual recoding or repartitioning with regard to distribution. This paper gives the detailed design of DPartner, and evaluates it using real-world applications. The evaluation results demonstrate the effectiveness and efficiency of DPartner.

Keywords

application partitioning distributed computing DPartner 

Copyright information

© Higher Education Press and Springer-Verlag Berlin Heidelberg 2012

Authors and Affiliations

  • Ying Zhang
    • 1
    • 2
  • Gang Huang
    • 1
    • 2
  • Wei Zhang
    • 1
    • 2
  • Xuanzhe Liu
    • 1
    • 2
  • Hong Mei
    • 1
    • 2
  1. 1.Key Laboratory of High Confidence Software Technologies (Peking University)Ministry of EducationBeijingChina
  2. 2.School of Electronics Engineering and Computer SciencePeking UniversityBeijingChina

Personalised recommendations