From: Roland Haeder Date: Thu, 17 Sep 2015 11:52:29 +0000 (+0200) Subject: added install.txt X-Git-Url: https://git.mxchange.org/?a=commitdiff_plain;h=d39a04f59e10dc6721f9a15a5581aa5785d380ac;p=pizzaservice.git added install.txt Signed-off-by:Roland Häder --- diff --git a/INSTALL.txt b/INSTALL.txt new file mode 100644 index 0000000..1348997 --- /dev/null +++ b/INSTALL.txt @@ -0,0 +1,37 @@ +Installation instructions: +========================== + +0) Create an empty database and setup proper permissions + +1) Import install/install.sql into your new database + +2) Setup a JDBC pool. I took the simple driver: + +Pool name: ShopPool +Resource type: java.sql.Driver +Driver: MySQL +Driver class: com.mysql.jdbc.Driver + +URL: jdbc:mysql://localhost/your_database +user: your_login +password: your_password + +3) Setup a JDBC resource: + +JNDI name: jdbc/shop +Pool name: ShopPool + +4) Setup a JMS connection factory: + +JNDI name: jms/shopConnectionFactory +Resource type: javax.jms.QueueConnectionFactory + +5) Setup a JMS destination resource: + +JNDI name: jms/shopCheckoutQueue +Physical destination name: checkout +Resource type: javax.jms.Queue + +You should be done now. + +Of course, you need to build and deploy the EAR/WAR files. ;-)