Item | Description | Notes |
---|---|---|
JDK | java JDK 1.7 or java JDK 1.8 | Java JDK is defferent in javascript engines to Open JDK. *Efw is error with Open JDK 1.7. *It has not been tested with Open JDK 1.8. |
Application Server | Tomcat 1.7 or Tomcat 1.8 is recommended,
Or anything else which supports Servlet 3.X or later. *A url for reference. http://tomcat.apache.org/whichversion.html |
It is troublesome without Servlet 3.X, because you must modify web.xml to add servlet defines. |
Browsers | IE8 or later, FireFox, Chrome, Edge, etc. | All browsers that can use jQuery v3.1.1. *If you want to use cors, please check the url. http://caniuse.com/#feat=cors |
Step | Description | Notes |
---|---|---|
JDK and Tomcat | See the prerequisites. | |
PostgreSQL | 1. Download version 9.3 or later and install it. https://www.postgresql.org/download/ 2. Create a database named "efwSample". |
The sample database is created by version 9.3 and named as "efwSample". |
Sample DB | 1. Download the sample DB from the url: /release with sample/sample database/ 2. Restore it in your PostgreSQL. |
|
Sample App | 1. Download the sample app from the url: /release with sample/web application/ 2. Copy the app into the folder of Tomcat/webapps/efw . |
|
DB Connection | 1. Open the file of efw/META-INF/context.xml to modify user name and password in the resource of jdbc/efw. | The jdbc driver for postgresSQL is included in the sample app. |
Java Mail | 1. Download the JavaMail jar from the url: /release with sample/tomcat lib/ 2. Copy the JavaMail jar into the folder of Tomcat/lib . 3. Open the file of efw/META-INF/context.xml to modify the resource of mail/efw. |
The JavaMail jar must be put in the tomcat lib folder, or it will be wrong. |
Properties | 1. Open the file of efw/WEB-INF/classes/efw.properties to modify it. 2. Set true to efw.isdebug. 3. Set ALL to efw.logging.level. |
|
Start Up | 1. Start up Tomcat. 2. Open the login page. http://localhost:8080/efw/login.jsp |