Development of the Object-Oriented Java Library for Interaction with the WooCommerce E-Commerce Platform

Keywords: WooCommerce e-commerce platform, software library, object model classes, WooCommerce REST API, type safety, data serialization-deserialization

Abstract

A class model was designed and a Java library was developed based on it with tools for working with entities of the popular e-commerce platform WooCommerce, including products, customers, and orders. The advantages of the developed library are increased type safety at the compilation level, achieved by using enumerations and object types for model class attributes, as opposed to working with strings when organizing interaction with direct use of WooCommerce REST API requests. The designed model uses the tools of the Project Lombok software library to reduce boilerplate code, restrict access to class attributes in accordance with the WooCommerce REST API documentation, and define object "builder" methods with the ability to flexibly initialize their properties. The Gson library tools implemented custom serialization-deserialization of some WooCommerce object attributes to more convenient and secure data types for programming. The OkHttp library was used to organize requests with authorization support. The proposed library is open source and available on GitHub. Its use can be useful in organizing the interaction of Java software systems with online stores on the WooCommerce platform

References

Historical trends in the usage statistics of content management systems. URL: https://w3techs.com (access date: 15.05.2025).

Lisa Sims Building Your Online Store with WordPress and WooCommerce : монографія / L. Sims. – Conyers : APress, 2018. – 190 p.

WooCommerce REST API. URL: https://woocommerce.com (access date: 15.05.2025).

Sufyan bin Uzayr Learning WordPress REST API. Packt Publishing, 2016. 209 p.

WooCommerce REST API - JavaScript Library. URL: https://github.com (access date: 15.05.2025).


Abstract views: 7
PDF Downloads: 6
Published
2025-06-16
How to Cite
Kolomoiets , H. (2025). Development of the Object-Oriented Java Library for Interaction with the WooCommerce E-Commerce Platform. COMPUTER-INTEGRATED TECHNOLOGIES: EDUCATION, SCIENCE, PRODUCTION, (59), 136-142. https://doi.org/10.36910/6775-2524-0560-2025-59-18
Section
Computer science and computer engineering