]> git.mxchange.org Git - pizzaservice.git/blob - INSTALL.txt
minor: added note about informative descriptions
[pizzaservice.git] / INSTALL.txt
1 Installation instructions:
2 ==========================
3
4 0) Create an empty database and setup proper permissions
5
6 1) Import install/install.sql into your new database
7
8 2) Setup a JDBC pool. I took the simple driver:
9
10 Pool name: ShopPool
11 Resource type: java.sql.Driver
12 Driver: MySQL
13 Driver class: com.mysql.jdbc.Driver
14
15 URL: jdbc:mysql://localhost/your_database
16 user: your_login
17 password: your_password
18
19 3) Setup a JDBC resource:
20
21 JNDI name: jdbc/shop
22 Pool name: ShopPool
23
24 4) Setup a JMS connection factory:
25
26 JNDI name: jms/shopConnectionFactory
27 Resource type: javax.jms.QueueConnectionFactory
28
29 5) Setup a JMS destination resource:
30
31 JNDI name: jms/shopCheckoutQueue
32 Physical destination name: checkout
33 Resource type: javax.jms.Queue
34
35 You should be done now. And always try to give informative descriptions, not
36 just only "shop" or "factory".
37
38 Of course, you need to build and deploy the EAR/WAR files. ;-)