Java coding using artificial intelligence
Open Access
- 30 December 2024
- journal article
- research article
- Published by Frontiers Media SA in Frontiers in Computer Science
- Vol. 6, 1473870
Abstract
This study explores the potential of chatbots, specifically ChatGPT, in Java software development. The aim is to classify tasks for effective use of industrial code and develop recommendations for applying chatbot assistance, identifying boundaries where human intervention remains essential. The methodology included analyzing scientific literature and empirically testing ChatGPT-3.5 on various Java development tasks. The tasks were divided into simple (working with XML, JSON, multithreading, and data input/output) and complex (writing MVC applications, REST services, and GUI). The results showed that ChatGPT successfully handles simple tasks but struggles with complex problems. The study identified scenarios where the chatbot can effectively use existing codebases and design patterns to accelerate development. The conclusions highlight ChatGPT’s potential in improving developer productivity, optimizing certain development tasks, and more efficiently allocating human resources in projects. However, the study also points out the need for human intervention to verify, correct, and improve generated code. The study contributes to understanding the practical usefulness of chatbots in real development scenarios and offers recommendations for integrating AI tools into the software development process.Keywords
This publication has 10 references indexed in Scilit:
- AdapT: A reusable package for implementing smart contracts that process transactions of congruous typesSoftware Impacts, 2024
- Smart Contract Design Pattern for Processing Logically Coherent Transaction TypesApplied Sciences, 2024
- Effectiveness of ChatGPT in Coding: A Comparative Analysis of Popular Large Language ModelsDigital, 2024
- Evaluation of phase change material-graphene nanocomposite for thermal regulation enhancement in buildingsHeliyon, 2023
- Humans are still better than ChatGPT: Case of the IEEEXtreme competitionHeliyon, 2023
- Grounded Copilot: How Programmers Interact with Code-Generating ModelsProceedings of the ACM on Programming Languages, 2023
- Role of ChatGPT in Computer Programming.Mesopotamian Journal of Computer Science, 2023
- Is ChatGPT a General-Purpose Natural Language Processing Task Solver?2023
- ChatGPT FOR PROGRAMMING NUMERICAL METHODSJournal of Machine Learning for Modeling and Computing, 2023
- Small-Step Live Programming by Example2020