{"id":23486836,"url":"https://github.com/jadezdon/webshop","last_synced_at":"2026-04-30T13:34:22.174Z","repository":{"id":206568286,"uuid":"409073666","full_name":"jadezdon/Webshop","owner":"jadezdon","description":"A webshop created with Java, JSP, Servlet, Oracle database, Bootstrap.","archived":false,"fork":false,"pushed_at":"2022-10-15T08:01:37.000Z","size":11109,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2025-04-14T09:14:49.967Z","etag":null,"topics":["java","jsp-servlet","oracle-database"],"latest_commit_sha":null,"homepage":"","language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jadezdon.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null}},"created_at":"2021-09-22T05:19:39.000Z","updated_at":"2022-10-15T08:01:41.000Z","dependencies_parsed_at":"2023-11-10T20:48:22.365Z","dependency_job_id":null,"html_url":"https://github.com/jadezdon/Webshop","commit_stats":null,"previous_names":["donjade/webshop","jadezdon/webshop"],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/jadezdon/Webshop","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadezdon%2FWebshop","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadezdon%2FWebshop/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadezdon%2FWebshop/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadezdon%2FWebshop/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jadezdon","download_url":"https://codeload.github.com/jadezdon/Webshop/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jadezdon%2FWebshop/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32466333,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-30T13:12:12.517Z","status":"ssl_error","status_checked_at":"2026-04-30T13:12:06.837Z","response_time":57,"last_error":"SSL_read: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["java","jsp-servlet","oracle-database"],"created_at":"2024-12-24T22:17:25.658Z","updated_at":"2026-04-30T13:34:22.155Z","avatar_url":"https://github.com/jadezdon.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Webshop\n\nA webshop created with Java, JSP, Servlet, Oracle database, Bootstrap.\n(This project should be refactored, because it contains code duplications in DAO methods)\n\n## Setup\n\n### Prerequisities\n\n- Oracle database\n- Tomcat server\n\n### Run it locally\n\n1. git clone project\n2. import project to IntelliJ (or to other IDE)\n3. change database configurations to own\n4. run Tomcat Server\n5. open browser and go to localhost:8081 (change the port 8081 to which is defined in Tomcat server config)\n\n### Configuration\n\n- change database config in [DatabaseUtil.java](./src/main/java/util/DatabaseUtil.java)\n    - `loginname` (database user's name), `password` (database user's password)\n\n    - create database based on the entity relationship diagram\n\n      ![database](database.png)\n\n- setup Tomcat server in IntelliJ\n    1. `Run` -\u003e `Edit Configurations...`\n    2. on top left corner click on `+` button\n    3. select `Tomcat Server` `Local`\n    4. under `Server` tab at `Application server` choose the downloaded Tomcat server\n    5. under `Deployment` click on the `+` button located at bottom left of the `Deploy at the server startup` block -\u003e click on `Artifact...` -\u003e change `Application context` value to `/`\n\n\n\n## File structure\n\n```\nsrc/main/java\n   |-- DAO                          - Data Access Object (get data from the database)\n   |-- bean                         - database entities\n   |-- filter                       - filter the request\n   |   |-- BackServletFilter.java   - run the correspond Servlet and method (CRUD operations with database)\n   |   |-- ForeServletFilter.java   - run ForeServlet and method\n   |-- servlet                      - process the request\n   |-- util\n   |   |-- DatabaseUtil.java        - util for create connection with the Oracle database\nweb\n   |-- WEB-INF\n   |   |-- lib                      - contains jar files (e.g. ojdbc6.jar library for create connection with Oracle database)\n   |   |-- web.xml\n   |-- *.jsp                        - JavaServer Pages, create dynamically generated web pages\n   |-- css                          - style files\n   |-- fonts\t\n   |-- image\t\t\t\t\n   |-- include                      - contains JavaServer Pages which is reusable (header, footer)\n   |-- js                           - javascript files\n```\n\n\n\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadezdon%2Fwebshop","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjadezdon%2Fwebshop","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjadezdon%2Fwebshop/lists"}