Skip to main content

A Novel Unsupervised Learning Approach for Assessing Web Services Refactoring

  • Conference paper
  • First Online:
Information and Software Technologies (ICIST 2019)

Abstract

During the last years, the development of Service-Oriented applications has become a trend. Given the characteristics and challenges posed by current systems, it has become essential to adopt this solution since it provides a great performance in distributed and heterogeneous environments. At the same time, the necessity of flexibility and great capacity of adaptation introduce a process of constant modifications and growth. Thus, developers easily make mistakes such as code duplication or unnecessary code, generating a negative impact on quality attributes such as performance and maintainability. Refactoring is considered a technique that greatly improves the quality of software and provides a solution to this issue. In this context, our work proposes an approach for comparing manual service groupings and automatic groupings that allows analyzing, evaluating and validating clustering techniques applied to improve service cohesion and fragmentation. We used V-Measure with homogeneity and completeness as the evaluation metrics. Additionally, we have performed improvements in existing clustering techniques of a previous work, VizSOC, that reach 20% of gain regarding the aforementioned metrics. Moreover, we added an implementation of the COBWEB clustering algorithm yielding fruitful results.

This is a preview of subscription content, log in via an institution to check access.

Access this chapter

Chapter
USD 29.95
Price excludes VAT (USA)
  • Available as PDF
  • Read on any device
  • Instant download
  • Own it forever
eBook
USD 39.99
Price excludes VAT (USA)
  • Available as EPUB and PDF
  • Read on any device
  • Instant download
  • Own it forever
Softcover Book
USD 54.99
Price excludes VAT (USA)
  • Compact, lightweight edition
  • Dispatched in 3 to 5 business days
  • Free shipping worldwide - see info

Tax calculation will be finalised at checkout

Purchases are for personal use only

Institutional subscriptions

References

  1. Erickson, J., Siau, K.: Web services, service-oriented computing, and service-oriented architecture: separating hype from reality. In: Principle Advancements in Database Management Technologies: New Applications and Frameworks, p. 176 (2009)

    Google Scholar 

  2. Christensen, E., Curbera, F., Meredith, G., Weerawarana, S.: Web services description language (WSDL) 1.1. (2001)

    Google Scholar 

  3. Rodríguez, G., Soria, Á., Teyseyre, A., Berdun, L., Campo, M.: Unsupervised learning for detecting refactoring opportunities in service-oriented applications. In: Hartmann, S., Ma, H. (eds.) DEXA 2016. LNCS, vol. 9828, pp. 335–342. Springer, Cham (2016). https://doi.org/10.1007/978-3-319-44406-2_27

    Chapter  Google Scholar 

  4. Mateos, C., Crasso, M., Zunino, A., Ordiales Coscia, J.L.: Revising WSDL documents: why and how - Part II. IEEE Internet Comput. 17(5), 46–53 (2013)

    Article  Google Scholar 

  5. Rodriguez, J.M., Crasso, M., Mateos, C., Zunino, A.: Best practices for describing, consuming, and discovering web services: a comprehensive toolset. Softw. Pract. Experience 43(6), 613–639 (2013)

    Article  Google Scholar 

  6. Mateos, C., Rodriguez, J., Zunino, A.: A tool to improve code-first web services discoverability through text mining techniques. Softw. Pract. Experience 45(7), 925–948 (2015)

    Article  Google Scholar 

  7. Webster, D., Townend, P., Xu, J.: Interface refactoring in performance-constrained web services. In: 2012 IEEE 15th International Symposium on Object/Component/Service-Oriented Real-Time Distributed Computing (ISORC), pp. 111–118. IEEE (2012)

    Google Scholar 

  8. Rodriguez, G., Teyseyre, A., Soria, A., Berdun, L.: A Visualization Tool to Detect Refactoring Opportunities in SOA Applications. In: XLIII Latin American Conference on Informatics. IEEE (2017)

    Google Scholar 

  9. Cohen, A.R., Vitanyi, P.M.: Normalized Google Distance of Multisets with Applications. arXiv preprint arXiv:1308.3177 (2013)

  10. Ezenwoke, A., Misra, S., Adigun, M.O.: An approach for e-Commerce on-demand service-oriented product line development. Acta Polytechnica Hungarica 10(2), 69–87 (2013)

    Google Scholar 

  11. Which style of WSDL should I use? 24 May 2005. https://www.ibm.com/developerworks/library/ws-whichwsdl/. Accessed 3 July 2017

  12. Dong, X., Halevy, A., Madhavan, J., Nemes, E., Zhang, J.: Similarity search for web services. In: 30th International Conference on Very large data bases, pp. 372–383. VLDB Endowment (2004)

    Google Scholar 

  13. Elgazzar, K., Hassan, A.E., Martin, P.: Clustering wsdl documents to bootstrap the discovery of web services. In: IEEE International Conference on Web Services, pp. 147–154. IEEE (2010)

    Google Scholar 

  14. Rodriguez, J.M., Crasso, M., Mateos, C., Zunino, A., Campo, M.: Bottom-up and top-down cobol system migration to web services. IEEE Internet Comput. 17(2), 44–51 (2013)

    Google Scholar 

  15. MacQueen, J.: Some methods for classification and analysis of multivariate observations. In: Proceedings of the fifth Berkeley symposium on mathematical statistics and probability, vol. 1, no. 14, pp. 281–297 (1967)

    Google Scholar 

  16. Fisher, D.H.: Knowledge acquisition via incremental conceptual clustering. Mach. Learn. 2(2), 139–172 (1987)

    Google Scholar 

  17. Ward Jr., J.H.: Hierarchical grouping to optimize an objective function. J. Am. Stat. Assoc. 58(301), 236–244 (1963)

    Article  MathSciNet  Google Scholar 

  18. Nigam, K., McCallum, A.K., Thrun, S., Mitchell, T.: Text classification from labeled and unlabeled documents using EM. Mach. Learn. 39(2–3), 103–134 (2000)

    Article  Google Scholar 

  19. Kim, M., Zimmermann, T., Nagappan, N.: A field study of refactoring challenges and benefits. In: Proceedings of the ACM SIGSOFT 20th International Symposium on the Foundations of Software Engineering, p. 50. ACM (2012)

    Google Scholar 

  20. Mateos, C., Zunino, A., Flores, A., Misra, S.: COBOL systems migration to SOA: assessing antipatterns and complexity. Information Technology and Control (2019, in press)

    Google Scholar 

  21. Damaševičius, R.: Refactoring of learning objects for mobile learning. In: Papadopoulos, G., Wojtkowski, W., Wojtkowski, G., Wrycza, S., Zupancic, J. (eds.) Information Systems Development, pp. 839–847. Springer, Boston (2009). https://doi.org/10.1007/b137171_88

    Chapter  Google Scholar 

  22. Valincius, K., Stuikys, V., Damasevicius, R.: Understanding of e-commerce is through feature models and their metrics. In: Proceedings of the IADIS International Conference Information Systems, IS, pp. 55–62 (2013)

    Google Scholar 

  23. Venckauskas, A., Stuikys, V., Damasevicius, R., Jusas, N.: Modelling of Internet of Things units for estimating security-energy-performance relationships for quality of service and environment awareness. Secur. Commun. Networks 9(16), 3324–3339 (2016)

    Article  Google Scholar 

  24. Ceponienė, L., Drungilas, V., Jurgelaitis, M., čeponis, J.: Method for reverse engineering UML use case model for websites. Inf. Technol. Control 47(4), 623–638 (2018)

    Google Scholar 

Download references

Acknowledgment

We acknowledge the anonymous referees for their comments to improve the paper. We also thank the people who helped us with the manual refactorings.

Author information

Authors and Affiliations

Authors

Corresponding author

Correspondence to Sanjay Misra .

Editor information

Editors and Affiliations

Rights and permissions

Reprints and permissions

Copyright information

© 2019 Springer Nature Switzerland AG

About this paper

Check for updates. Verify currency and authenticity via CrossMark

Cite this paper

Rodriguez, G., Mateos, C., Listorti, L., Hammer, B., Misra, S. (2019). A Novel Unsupervised Learning Approach for Assessing Web Services Refactoring. In: Damaševičius, R., Vasiljevienė, G. (eds) Information and Software Technologies. ICIST 2019. Communications in Computer and Information Science, vol 1078. Springer, Cham. https://doi.org/10.1007/978-3-030-30275-7_21

Download citation

  • DOI: https://doi.org/10.1007/978-3-030-30275-7_21

  • Published:

  • Publisher Name: Springer, Cham

  • Print ISBN: 978-3-030-30274-0

  • Online ISBN: 978-3-030-30275-7

  • eBook Packages: Computer ScienceComputer Science (R0)

Publish with us

Policies and ethics