
The main idea behind this, is that we have to create a e-grocery store that sales several products from various vendors. The grocery shop earn profits only through commissions.
A Vendor can
A Admin can
A User can
When a user commit an order, automatically the web app send them an email with the order details and the invoice of the order in pdf format.
web.xml : JSF 2.0 Servlet Configuration
persistence.xml: database configurations
The “context-param” tag is define in “web.xml” file and it provides parameters to the entire web application.
[docker-machine ip]:80/java-e-commerce/
Use the maven plug-in (tomcat7-maven-plugin) for tomcat server in order to automatically deploy this project in your local server. You can find this plug-in in pom.xml file in order to modify with yours configurations, also don't forget to add in settings.xml your credentials for tomcat server.
<servers>
<server>
<id>TomcatServer</id>
<username>admin</username>
<password>password</password>
</server>
</servers>
You can run the below command in order to deploy the artifact in your local tomcat server
mvn clean tomcat7:deploy
You can use the dataBase.sql in order to create the poll database and insert some values.
Username:
Password:

Content type
Image
Digest
Size
124.1 MB
Last updated
over 6 years ago
docker pull mixaverross88/java-e-commerce