https://github.com/samashi47/e-commerce-multi-agent-system-jade
An E-Commerce multi-agent-system using JADE, with a JSP web interface and Java servlets.
https://github.com/samashi47/e-commerce-multi-agent-system-jade
e-commerce jade jsp multi-agent-systems servlets
Last synced: about 2 months ago
JSON representation
An E-Commerce multi-agent-system using JADE, with a JSP web interface and Java servlets.
- Host: GitHub
- URL: https://github.com/samashi47/e-commerce-multi-agent-system-jade
- Owner: Samashi47
- Created: 2024-04-15T15:36:17.000Z (about 2 years ago)
- Default Branch: main
- Last Pushed: 2024-05-10T21:17:18.000Z (about 2 years ago)
- Last Synced: 2025-06-09T07:05:36.389Z (about 1 year ago)
- Topics: e-commerce, jade, jsp, multi-agent-systems, servlets
- Language: Java
- Homepage:
- Size: 38.9 MB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
Awesome Lists containing this project
README
# E-Commerce-Multi-Agent-System-JADE
This project is a multi-agent system for e-commerce using JADE (Java Agent Development Framework). The system is composed of three types of agents: vendors, consumers, and a mediator. The system allows consumers to search for products, view product details, and buy products. Sellers can add products, view products, and view orders. The mediator is responsible for managing the communication between consumers and sellers. The system uses a blackboard architecture to store product information and orders. The system also uses a JSP web interface to interact with the agents.
## Prerequisites
- Java 1.8
- Apache Tomcat 9
- IntelliJ IDEA
- JADE (Java Agent Development Framework)
- MySQL
## Getting Started
Clone the repository
```bash
git clone https://github.com/Samashi47/E-Commerce-Multi-Agent-System-JADE.git
```
## To run the project
1. Start MySQL and create a database named `store-sma`.
2. Run the project by running a Tomcat server configuration in IntelliJ IDEA.
3. Start the main container by running the MainContainer class.
4. start the mediator agent by running the IntermediateContainer class.
5. start the vendor agent by running the VendorContainer class.
6. Open a web browser and go to http://localhost:8080/
7. You can now interact with the agents using the web interface.
## To view the agents
1. After running the project, you can view the agents by going to the JADE GUI which should already be started after running the main container.
2. You can view the agents and their details in the JADE GUI.
3. Sniff the agents to view the messages being sent between the agents.