Skip to content

An online shopping distributed architecture proposal using tuple space, message queuing, and web services.

Notifications You must be signed in to change notification settings

lucaspar/ds-ecommerce

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Distributed e-commerce

An online shopping distributed architecture proposal using tuple space, message queuing, and web services.

Running

Build files required

# SETTING

cd build
# set aws credentials
mv .aws ~

# set web server
unzip apache-tomcat-8.0.45.zip
mv sun-jaxws.xml apache-tomcat-8.0.45/lib/
cd artifacts
cp ws_ecommerce/ws_ecommerce.war ../apache-tomcat-8.0.45/webapps/


# EXECUTING

# run manager
java -jar manager_jar/ecommerce.jar

# run supplier
java -jar supplier_jar/ecommerce.jar 192.168.x.x

# run web server
cd ../apache-tomcat-8.0.45/bin
sh catalina.sh run

# run client
cd client
sensible-browser index.html

Troubleshooting

  • Supplier cannot connect to manager showing Connection refused to host: 127.0.1.1:

    1. Double check the IP in argument: java -jar supplier_jar/ecommerce.jar 192.168.x.x

    2. In manager's machine /etc/hosts, add the local IP:

      Replace 127.0.1.1 <hostname> with 192.168.x.x <hostname>

About

An online shopping distributed architecture proposal using tuple space, message queuing, and web services.

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published