commit | author | age
|
4682c8
|
1 |
# JB125 Java EE 7 Hello World web App |
RS |
2 |
|
|
3 |
##This app is composed of the following architecture: |
|
4 |
|
|
5 |
* Maven Project - builds a WAR |
|
6 |
* Using JSF 2.2 for web interface, HTML5 facelets page, JSF backing beans, CDI scopes on beans, @Named |
|
7 |
* Statelss EJB for services - uses JPA entity beans - exposes appropriate method as REST API using JAX-RS annotations |
|
8 |
* JAX-RS Application class |
|
9 |
* JPA entity bean to store names - uses H2 in-memory database |
|
10 |
* Use EJB Singleton to lookup messaging connection and queue destination and inject into stateless EJB - lookup should only occur once on startup |
|
11 |
* Servlet that returns "OK" - this is a health check - path should be [context]/health |
|
12 |
* H2 (embedded in-memory DB) backend |