dabdda167f
- Extract all wiki content from create_wiki_pages.py into docs/wiki/pages/*.md - Add docs/wiki/deploy_wiki.sh: copies pages to wiki/ repo, commits, pushes - Add /wiki/ to .gitignore (anchored — does not affect docs/wiki/) - 12 pages: Home, MCP-Servers-Overview, mcp-image-gen, ComfyUI-Setup, mcp-webscraper (8 tools incl. search_hint), BigMind (schema v8), Development-Conventions, Java-Projects, Java-wellmann-shop, Java-mss-failsafe, Java-Architecture, _Sidebar - Workflow: edit docs/wiki/pages/*.md → ./docs/wiki/deploy_wiki.sh
72 lines
2.7 KiB
Markdown
72 lines
2.7 KiB
Markdown
# 🛍️ wellmann-shop — JSF E-Commerce Application
|
|
|
|

|
|
|
|
**wellmann-shop** is a Java EE JSF e-commerce storefront built entirely from scratch without AI assistance. It demonstrates Patrick's deep expertise in PrimeFaces, JPA/EclipseLink, and the full Java EE web stack.
|
|
|
|
## Tech Stack
|
|
|
|
| Component | Technology |
|
|
|---|---|
|
|
| **Language** | Java 8 |
|
|
| **Web Framework** | JSF 2.x (Facelets/XHTML) |
|
|
| **UI Components** | PrimeFaces 6.2 |
|
|
| **Persistence** | JPA with EclipseLink |
|
|
| **Database** | MySQL |
|
|
| **Build** | Maven |
|
|
| **App Server** | WildFly/JBoss |
|
|
| **Security** | JAAS container-managed |
|
|
|
|
## Project Structure
|
|
|
|
```
|
|
java/wellmann-shop/
|
|
├── src/main/
|
|
│ ├── java/
|
|
│ │ └── httpauthenticationmechanism/
|
|
│ │ ├── ApplicationConfig.java ← JAX-RS app config
|
|
│ │ └── LoginBean.java ← CDI backing bean for auth
|
|
│ ├── resources/
|
|
│ │ ├── log4j.properties
|
|
│ │ └── META-INF/persistence.xml ← JPA datasource config
|
|
│ └── webapp/
|
|
│ ├── index.html / index.xhtml ← Landing page
|
|
│ ├── login.xhtml ← Authentication form
|
|
│ ├── welcome.xhtml ← Post-login welcome
|
|
│ ├── welcomePrimefaces.xhtml ← PrimeFaces demo page
|
|
│ ├── resources/
|
|
│ │ ├── css/ ← Custom stylesheets
|
|
│ │ └── images/ ← Product images
|
|
│ └── WEB-INF/
|
|
│ ├── web.xml ← Servlet config
|
|
│ ├── jboss-web.xml ← Context root
|
|
│ └── jboss-app.xml ← JBoss app descriptor
|
|
```
|
|
|
|
## Key Features
|
|
|
|
- **Authentication** — JAAS-based login with `LoginBean` CDI backing bean
|
|
- **PrimeFaces UI** — Rich JSF components (DataTable, InputText, CommandButton, etc.)
|
|
- **JPA Persistence** — EclipseLink ORM with MySQL via `persistence.xml`
|
|
- **Responsive Layout** — Custom CSS with multiple breakpoint stylesheets
|
|
- **Image Gallery** — Professional product photography
|
|
|
|
## Building
|
|
|
|
```bash
|
|
cd java/wellmann-shop
|
|
mvn clean package
|
|
# Deploy .war to WildFly/JBoss
|
|
```
|
|
|
|
## Notes
|
|
|
|
- Built as a learning/portfolio project demonstrating JSF mastery
|
|
- Patrick built this **entirely without AI assistance** — proof of deep Java EE expertise
|
|
- PrimeFaces 6.2 was current at time of development (Java 8 era)
|
|
- Modern equivalent would use PrimeFaces 13+ / Jakarta EE 10 / Java 21
|
|
|
|
## Source
|
|
|
|
[`java/wellmann-shop/`](../src/branch/main/java/wellmann-shop)
|