Permalink
Browse files

Initial commit.

  • Loading branch information...
0 parents commit c65a5e3e30b77e72e431023426c9d38b0a47fafe astefan committed Jul 7, 2011
Showing with 9,322 additions and 0 deletions.
  1. +14 −0 jpetstore/.classpath
  2. +42 −0 jpetstore/.project
  3. +11 −0 jpetstore/.settings/.jsdtscope
  4. +7 −0 jpetstore/.settings/org.eclipse.jdt.core.prefs
  5. +10 −0 jpetstore/.settings/org.eclipse.wst.common.component
  6. +6 −0 jpetstore/.settings/org.eclipse.wst.common.project.facet.core.xml
  7. +1 −0 jpetstore/.settings/org.eclipse.wst.jsdt.ui.superType.container
  8. +1 −0 jpetstore/.settings/org.eclipse.wst.jsdt.ui.superType.name
  9. +19 −0 jpetstore/.settings/org.eclipse.wst.xml.core.prefs
  10. +9 −0 jpetstore/.settings/org.maven.ide.eclipse.prefs
  11. +101 −0 jpetstore/db/hsqldb/jpetstore-hsqldb-dataload.sql
  12. +166 −0 jpetstore/db/hsqldb/jpetstore-hsqldb-schema.sql
  13. BIN jpetstore/db/hsqldb/jpetstore.lck
  14. +17 −0 jpetstore/db/hsqldb/jpetstore.properties
  15. +119 −0 jpetstore/db/hsqldb/jpetstore.script
  16. +2 −0 jpetstore/db/hsqldb/manager.bat
  17. +2 −0 jpetstore/db/hsqldb/manager.sh
  18. +45 −0 jpetstore/db/hsqldb/pom-manager.xml
  19. +44 −0 jpetstore/db/hsqldb/pom.xml
  20. +1 −0 jpetstore/db/hsqldb/server.bat
  21. +2 −0 jpetstore/db/hsqldb/server.properties
  22. +2 −0 jpetstore/db/hsqldb/server.sh
  23. +101 −0 jpetstore/db/mysql/jpetstore-mysql-dataload.sql
  24. +211 −0 jpetstore/db/mysql/jpetstore-mysql-schema.sql
  25. +101 −0 jpetstore/db/oracle/jpetstore-oracle-dataload.sql
  26. +136 −0 jpetstore/db/oracle/jpetstore-oracle-schema-xa1.sql
  27. +64 −0 jpetstore/db/oracle/jpetstore-oracle-schema-xa2.sql
  28. +203 −0 jpetstore/db/oracle/jpetstore-oracle-schema.sql
  29. +101 −0 jpetstore/db/postgres/jpetstore-postgres-dataload.sql
  30. +166 −0 jpetstore/db/postgres/jpetstore-postgres-schema.sql
  31. +102 −0 jpetstore/db/sqlfire/jpetstore-sqlfire-dataload.sql
  32. +188 −0 jpetstore/db/sqlfire/jpetstore-sqlfire-schema.sql
  33. +264 −0 jpetstore/pom.xml
  34. +98 −0 jpetstore/readme.txt
  35. +20 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/AccountDao.java
  36. +14 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/CategoryDao.java
  37. +19 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ItemDao.java
  38. +16 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/OrderDao.java
  39. +16 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ProductDao.java
  40. +24 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/MsSqlOrderDao.java
  41. +19 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/OracleSequenceDao.java
  42. +30 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/Sequence.java
  43. +57 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/SqlMapAccountDao.java
  44. +20 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/SqlMapCategoryDao.java
  45. +46 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/SqlMapItemDao.java
  46. +43 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/SqlMapOrderDao.java
  47. +46 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/SqlMapProductDao.java
  48. +28 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/SqlMapSequenceDao.java
  49. +107 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/maps/Account.xml
  50. +25 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/maps/Category.xml
  51. +76 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/maps/Item.xml
  52. +22 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/maps/LineItem.xml
  53. +75 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/maps/Order.xml
  54. +35 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/maps/Product.xml
  55. +23 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/dao/ibatis/maps/Sequence.xml
  56. +87 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/Account.java
  57. +83 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/Cart.java
  58. +43 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/CartItem.java
  59. +31 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/Category.java
  60. +71 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/Item.java
  61. +57 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/LineItem.java
  62. +174 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/Order.java
  63. +35 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/Product.java
  64. +29 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/logic/AccountValidator.java
  65. +22 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/logic/OrderService.java
  66. +49 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/logic/OrderValidator.java
  67. +55 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/logic/PetStoreFacade.java
  68. +160 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/domain/logic/PetStoreImpl.java
  69. +80 −0 ...ain/java/org/springframework/samples/jpetstore/domain/logic/SendOrderConfirmationEmailAdvice.java
  70. +51 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/service/JaxRpcOrderService.java
  71. +94 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/service/client/OrderServiceClient.java
  72. +45 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/AccountForm.java
  73. +119 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/AccountFormController.java
  74. +42 −0 ...store/src/main/java/org/springframework/samples/jpetstore/web/spring/AddItemToCartController.java
  75. +34 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/ListOrdersController.java
  76. +39 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/OrderForm.java
  77. +111 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/OrderFormController.java
  78. +23 −0 .../src/main/java/org/springframework/samples/jpetstore/web/spring/RemoveItemFromCartController.java
  79. +51 −0 ...tore/src/main/java/org/springframework/samples/jpetstore/web/spring/SearchProductsController.java
  80. +21 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/SignoffController.java
  81. +48 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/SignonController.java
  82. +37 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/SignonInterceptor.java
  83. +41 −0 ...rc/main/java/org/springframework/samples/jpetstore/web/spring/UpdateCartQuantitiesController.java
  84. +34 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/UserSession.java
  85. +44 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/ViewCartController.java
  86. +58 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/ViewCategoryController.java
  87. +35 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/ViewItemController.java
  88. +36 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/ViewOrderController.java
  89. +55 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/spring/ViewProductController.java
  90. +113 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/AccountActionForm.java
  91. +33 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/AddItemToCartAction.java
  92. +46 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/BaseAction.java
  93. +40 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/BaseActionForm.java
  94. +30 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/CartActionForm.java
  95. +17 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/DoNothingAction.java
  96. +36 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/EditAccountAction.java
  97. +31 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/EditAccountFormAction.java
  98. +19 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/ListOrdersAction.java
  99. +37 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/NewAccountAction.java
  100. +27 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/NewAccountFormAction.java
  101. +37 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/NewOrderAction.java
  102. +30 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/NewOrderFormAction.java
  103. +99 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/OrderActionForm.java
  104. +18 −0 ...tore/src/main/java/org/springframework/samples/jpetstore/web/struts/RemoveItemFromCartAction.java
  105. +46 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/SearchProductsAction.java
  106. +32 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/SecureBaseAction.java
  107. +52 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/SignonAction.java
  108. +36 −0 ...re/src/main/java/org/springframework/samples/jpetstore/web/struts/UpdateCartQuantitiesAction.java
  109. +33 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/ViewCartAction.java
  110. +45 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/ViewCategoryAction.java
  111. +22 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/ViewItemAction.java
  112. +28 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/ViewOrderAction.java
  113. +42 −0 jpetstore/src/main/java/org/springframework/samples/jpetstore/web/struts/ViewProductAction.java
  114. +3 −0 jpetstore/src/main/webapp/META-INF/MANIFEST.MF
  115. +105 −0 jpetstore/src/main/webapp/WEB-INF/applicationContext.xml
  116. +102 −0 jpetstore/src/main/webapp/WEB-INF/dataAccessContext-jta.xml
  117. +95 −0 jpetstore/src/main/webapp/WEB-INF/dataAccessContext-local.xml
  118. +11 −0 jpetstore/src/main/webapp/WEB-INF/jdbc.properties
  119. +85 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/Cart.jsp
  120. +33 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/Category.jsp
  121. +68 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/Checkout.jsp
  122. +78 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/ConfirmOrder.jsp
  123. +59 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/EditAccountForm.jsp
  124. +7 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/Error.jsp
  125. +101 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/IncludeAccountFields.jsp
  126. +11 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/IncludeBanner.jsp
  127. +20 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/IncludeBottom.jsp
  128. +33 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/IncludeMyList.jsp
  129. +16 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/IncludeQuickHeader.jsp
  130. +44 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/IncludeTop.jsp
  131. +56 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/Item.jsp
  132. +19 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/ListOrders.jsp
  133. +108 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/NewOrderForm.jsp
  134. +50 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/Product.jsp
  135. +34 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/SearchProducts.jsp
  136. +75 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/ShippingForm.jsp
  137. +41 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/SignonForm.jsp
  138. +132 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/ViewOrder.jsp
  139. +78 −0 jpetstore/src/main/webapp/WEB-INF/jsp/spring/index.jsp
  140. +85 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/Cart.jsp
  141. +33 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/Category.jsp
  142. +68 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/Checkout.jsp
  143. +78 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/ConfirmOrder.jsp
  144. +33 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/EditAccountForm.jsp
  145. +7 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/Error.jsp
  146. +54 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/IncludeAccountFields.jsp
  147. +13 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/IncludeBanner.jsp
  148. +20 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/IncludeBottom.jsp
  149. +33 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/IncludeMyList.jsp
  150. +16 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/IncludeQuickHeader.jsp
  151. +54 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/IncludeTop.jsp
  152. +56 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/Item.jsp
  153. +19 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/ListOrders.jsp
  154. +30 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/NewAccountForm.jsp
  155. +60 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/NewOrderForm.jsp
  156. +50 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/Product.jsp
  157. +34 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/SearchProducts.jsp
  158. +42 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/ShippingForm.jsp
  159. +41 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/SignonForm.jsp
  160. +132 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/ViewOrder.jsp
  161. +78 −0 jpetstore/src/main/webapp/WEB-INF/jsp/struts/index.jsp
  162. +16 −0 jpetstore/src/main/webapp/WEB-INF/log4j.properties
  163. +6 −0 jpetstore/src/main/webapp/WEB-INF/mail.properties
  164. +115 −0 jpetstore/src/main/webapp/WEB-INF/petstore-servlet.xml
  165. +31 −0 jpetstore/src/main/webapp/WEB-INF/remoting-servlet.xml
  166. +51 −0 jpetstore/src/main/webapp/WEB-INF/server-config.wsdd
  167. +15 −0 jpetstore/src/main/webapp/WEB-INF/sql-map-config.xml
  168. +107 −0 jpetstore/src/main/webapp/WEB-INF/struts-config.xml
  169. +188 −0 jpetstore/src/main/webapp/WEB-INF/web.xml
  170. +158 −0 jpetstore/src/main/webapp/help.html
  171. BIN jpetstore/src/main/webapp/images/banner_birds.gif
  172. BIN jpetstore/src/main/webapp/images/banner_cats.gif
  173. BIN jpetstore/src/main/webapp/images/banner_dogs.gif
  174. BIN jpetstore/src/main/webapp/images/banner_fish.gif
  175. BIN jpetstore/src/main/webapp/images/banner_reptiles.gif
  176. BIN jpetstore/src/main/webapp/images/bird1.gif
  177. BIN jpetstore/src/main/webapp/images/bird1.jpg
  178. BIN jpetstore/src/main/webapp/images/bird2.gif
  179. BIN jpetstore/src/main/webapp/images/bird2.jpg
  180. BIN jpetstore/src/main/webapp/images/bird3.gif
  181. BIN jpetstore/src/main/webapp/images/bird4.gif
  182. BIN jpetstore/src/main/webapp/images/bird5.gif
  183. BIN jpetstore/src/main/webapp/images/bird6.gif
  184. BIN jpetstore/src/main/webapp/images/birds_icon.gif
  185. BIN jpetstore/src/main/webapp/images/bkg-sidebar.gif
  186. BIN jpetstore/src/main/webapp/images/bkg-topbar.gif
  187. BIN jpetstore/src/main/webapp/images/button_add_to_cart.gif
  188. BIN jpetstore/src/main/webapp/images/button_checkout.gif
  189. BIN jpetstore/src/main/webapp/images/button_continue.gif
  190. BIN jpetstore/src/main/webapp/images/button_next.gif
  191. BIN jpetstore/src/main/webapp/images/button_prev.gif
  192. BIN jpetstore/src/main/webapp/images/button_previous.gif
  193. BIN jpetstore/src/main/webapp/images/button_proceed.gif
  194. BIN jpetstore/src/main/webapp/images/button_register_now.gif
  195. BIN jpetstore/src/main/webapp/images/button_remove.gif
  196. BIN jpetstore/src/main/webapp/images/button_submit.gif
  197. BIN jpetstore/src/main/webapp/images/button_update_cart.gif
  198. BIN jpetstore/src/main/webapp/images/cart.gif
  199. BIN jpetstore/src/main/webapp/images/cartHL.gif
  200. BIN jpetstore/src/main/webapp/images/cat1.gif
  201. BIN jpetstore/src/main/webapp/images/cat1.jpg
  202. BIN jpetstore/src/main/webapp/images/cat2.gif
  203. BIN jpetstore/src/main/webapp/images/cat2.jpg
  204. BIN jpetstore/src/main/webapp/images/cat3.gif
  205. BIN jpetstore/src/main/webapp/images/cat4.gif
  206. BIN jpetstore/src/main/webapp/images/cats_icon.gif
  207. BIN jpetstore/src/main/webapp/images/dog1.gif
  208. BIN jpetstore/src/main/webapp/images/dog1.jpg
  209. BIN jpetstore/src/main/webapp/images/dog2.gif
  210. BIN jpetstore/src/main/webapp/images/dog2.jpg
  211. BIN jpetstore/src/main/webapp/images/dog3.gif
  212. BIN jpetstore/src/main/webapp/images/dog3.jpg
  213. BIN jpetstore/src/main/webapp/images/dog4.gif
  214. BIN jpetstore/src/main/webapp/images/dog4.jpg
  215. BIN jpetstore/src/main/webapp/images/dog5.gif
  216. BIN jpetstore/src/main/webapp/images/dog5.jpg
  217. BIN jpetstore/src/main/webapp/images/dog6.gif
  218. BIN jpetstore/src/main/webapp/images/dog6.jpg
  219. BIN jpetstore/src/main/webapp/images/dogs.gif
  220. BIN jpetstore/src/main/webapp/images/dogs_icon.gif
  221. BIN jpetstore/src/main/webapp/images/fish.gif
  222. BIN jpetstore/src/main/webapp/images/fish1.gif
  223. BIN jpetstore/src/main/webapp/images/fish1.jpg
  224. BIN jpetstore/src/main/webapp/images/fish2.gif
  225. BIN jpetstore/src/main/webapp/images/fish2.jpg
  226. BIN jpetstore/src/main/webapp/images/fish3.gif
  227. BIN jpetstore/src/main/webapp/images/fish3.jpg
  228. BIN jpetstore/src/main/webapp/images/fish4.gif
  229. BIN jpetstore/src/main/webapp/images/fish4.jpg
  230. BIN jpetstore/src/main/webapp/images/fish_icon.gif
  231. BIN jpetstore/src/main/webapp/images/help.gif
  232. BIN jpetstore/src/main/webapp/images/helpHL.gif
  233. BIN jpetstore/src/main/webapp/images/lizard1.gif
  234. BIN jpetstore/src/main/webapp/images/lizard1.jpg
  235. BIN jpetstore/src/main/webapp/images/lizard2.gif
  236. BIN jpetstore/src/main/webapp/images/lizard3.gif
  237. BIN jpetstore/src/main/webapp/images/logo-topbar.gif
  238. BIN jpetstore/src/main/webapp/images/my_account.gif
  239. BIN jpetstore/src/main/webapp/images/my_accountHL.gif
  240. BIN jpetstore/src/main/webapp/images/poweredBySpring.gif
  241. BIN jpetstore/src/main/webapp/images/poweredby.gif
  242. BIN jpetstore/src/main/webapp/images/reptiles_icon.gif
  243. BIN jpetstore/src/main/webapp/images/search.gif
  244. BIN jpetstore/src/main/webapp/images/separator.gif
  245. BIN jpetstore/src/main/webapp/images/sign-in.gif
  246. BIN jpetstore/src/main/webapp/images/sign-inHL.gif
  247. BIN jpetstore/src/main/webapp/images/sign-out.gif
  248. BIN jpetstore/src/main/webapp/images/sign-outHL.gif
  249. BIN jpetstore/src/main/webapp/images/sm_birds.gif
  250. BIN jpetstore/src/main/webapp/images/sm_cats.gif
  251. BIN jpetstore/src/main/webapp/images/sm_dogs.gif
  252. BIN jpetstore/src/main/webapp/images/sm_fish.gif
  253. BIN jpetstore/src/main/webapp/images/sm_reptiles.gif
  254. BIN jpetstore/src/main/webapp/images/snake1.gif
  255. BIN jpetstore/src/main/webapp/images/snake1.jpg
  256. BIN jpetstore/src/main/webapp/images/splash.gif
  257. +75 −0 jpetstore/src/main/webapp/index.html
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="src" output="target/classes" path="src/main/java"/>
+ <classpathentry kind="src" path="src/main/resources"/>
+ <classpathentry kind="con" path="org.maven.ide.eclipse.MAVEN2_CLASSPATH_CONTAINER">
+ <attributes>
+ <attribute name="org.eclipse.jst.component.dependency" value="/WEB-INF/lib"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.web.container"/>
+ <classpathentry kind="con" path="org.eclipse.jst.j2ee.internal.module.container"/>
+ <classpathentry kind="con" path="org.eclipse.jdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="output" path="target/classes"/>
+</classpath>
@@ -0,0 +1,42 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<projectDescription>
+ <name>jpetstore</name>
+ <comment></comment>
+ <projects>
+ </projects>
+ <buildSpec>
+ <buildCommand>
+ <name>org.eclipse.wst.jsdt.core.javascriptValidator</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.common.project.facet.core.builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.jdt.core.javabuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.eclipse.wst.validation.validationbuilder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ <buildCommand>
+ <name>org.maven.ide.eclipse.maven2Builder</name>
+ <arguments>
+ </arguments>
+ </buildCommand>
+ </buildSpec>
+ <natures>
+ <nature>org.eclipse.jem.workbench.JavaEMFNature</nature>
+ <nature>org.eclipse.wst.common.modulecore.ModuleCoreNature</nature>
+ <nature>org.eclipse.jdt.core.javanature</nature>
+ <nature>org.maven.ide.eclipse.maven2Nature</nature>
+ <nature>org.eclipse.wst.common.project.facet.core.nature</nature>
+ <nature>org.eclipse.wst.jsdt.core.jsNature</nature>
+ </natures>
+</projectDescription>
@@ -0,0 +1,11 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<classpath>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.JRE_CONTAINER"/>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.WebProject">
+ <attributes>
+ <attribute name="hide" value="true"/>
+ </attributes>
+ </classpathentry>
+ <classpathentry kind="con" path="org.eclipse.wst.jsdt.launching.baseBrowserLibrary"/>
+ <classpathentry kind="output" path=""/>
+</classpath>
@@ -0,0 +1,7 @@
+#Thu May 28 18:03:52 EDT 2009
+eclipse.preferences.version=1
+org.eclipse.jdt.core.compiler.codegen.targetPlatform=1.5
+org.eclipse.jdt.core.compiler.compliance=1.5
+org.eclipse.jdt.core.compiler.problem.assertIdentifier=error
+org.eclipse.jdt.core.compiler.problem.enumIdentifier=error
+org.eclipse.jdt.core.compiler.source=1.5
@@ -0,0 +1,10 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<project-modules id="moduleCoreId" project-version="1.5.0">
+ <wb-module deploy-name="jpetstore">
+ <wb-resource deploy-path="/" source-path="/src/main/webapp"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/java"/>
+ <wb-resource deploy-path="/WEB-INF/classes" source-path="/src/main/resources"/>
+ <property name="java-output-path"/>
+ <property name="context-root" value="jpetstore"/>
+ </wb-module>
+</project-modules>
@@ -0,0 +1,6 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<faceted-project>
+ <runtime name="Apache Tomcat v6.0"/>
+ <installed facet="jst.java" version="5.0"/>
+ <installed facet="jst.web" version="2.4"/>
+</faceted-project>
@@ -0,0 +1 @@
+org.eclipse.wst.jsdt.launching.baseBrowserLibrary
@@ -0,0 +1 @@
+Window
@@ -0,0 +1,19 @@
+#Wed Jul 06 15:20:16 EEST 2011
+attributeHasNoValue=2
+eclipse.preferences.version=1
+endTagWithAttributes=2
+honourAllSchemaLocations=true
+indicateNoGrammar=1
+indiciateNoDocumentElement=-1
+markupValidation=true
+missingClosingBracket=2
+missingClosingQuote=2
+missingEndTag=2
+missingQuotes=2
+missingStartTag=1
+missingTagName=2
+namespaceInPITarget=2
+use-project-settings=true
+whitespaceAtStart=2
+whitespaceBeforeTagName=2
+xinclude=true
@@ -0,0 +1,9 @@
+#Thu May 28 18:03:42 EDT 2009
+activeProfiles=
+eclipse.preferences.version=1
+fullBuildGoals=process-test-resources
+includeModules=false
+resolveWorkspaceProjects=true
+resourceFilterGoals=process-resources resources\:testResources
+skipCompilerPlugin=true
+version=1
@@ -0,0 +1,101 @@
+INSERT INTO sequence VALUES ('ordernum', 1000);
+INSERT INTO sequence VALUES ('linenum', 1000);
+
+INSERT INTO signon VALUES ('j2ee','j2ee');
+INSERT INTO signon VALUES ('ACID','ACID');
+
+INSERT INTO account VALUES ('j2ee','yourname@yourdomain.com','ABC', 'XYX', 'OK', '901 San Antonio Road', 'MS UCUP02-206', 'Palo Alto', 'CA', '94303', 'USA', '555-555-5555');
+INSERT INTO account VALUES ('ACID','acid@yourdomain.com','ABC', 'XYX', 'OK', '901 San Antonio Road', 'MS UCUP02-206', 'Palo Alto', 'CA', '94303', 'USA', '555-555-5555');
+
+INSERT INTO profile VALUES ('j2ee','english','DOGS',1,1);
+INSERT INTO profile VALUES ('ACID','english','CATS',1,1);
+
+INSERT INTO bannerdata VALUES ('FISH','<image src="../images/banner_fish.gif">');
+INSERT INTO bannerdata VALUES ('CATS','<image src="../images/banner_cats.gif">');
+INSERT INTO bannerdata VALUES ('DOGS','<image src="../images/banner_dogs.gif">');
+INSERT INTO bannerdata VALUES ('REPTILES','<image src="../images/banner_reptiles.gif">');
+INSERT INTO bannerdata VALUES ('BIRDS','<image src="../images/banner_birds.gif">');
+
+INSERT INTO category VALUES ('FISH','Fish','<image src="../images/fish_icon.gif"><font size="5" color="blue"> Fish</font>');
+INSERT INTO category VALUES ('DOGS','Dogs','<image src="../images/dogs_icon.gif"><font size="5" color="blue"> Dogs</font>');
+INSERT INTO category VALUES ('REPTILES','Reptiles','<image src="../images/reptiles_icon.gif"><font size="5" color="blue"> Reptiles</font>');
+INSERT INTO category VALUES ('CATS','Cats','<image src="../images/cats_icon.gif"><font size="5" color="blue"> Cats</font>');
+INSERT INTO category VALUES ('BIRDS','Birds','<image src="../images/birds_icon.gif"><font size="5" color="blue"> Birds</font>');
+
+INSERT INTO product VALUES ('FI-SW-01','FISH','Angelfish','<image src="../images/fish1.jpg">Salt Water fish from Australia');
+INSERT INTO product VALUES ('FI-SW-02','FISH','Tiger Shark','<image src="../images/fish4.gif">Salt Water fish from Australia');
+INSERT INTO product VALUES ('FI-FW-01','FISH', 'Koi','<image src="../images/fish3.gif">Fresh Water fish from Japan');
+INSERT INTO product VALUES ('FI-FW-02','FISH', 'Goldfish','<image src="../images/fish2.gif">Fresh Water fish from China');
+INSERT INTO product VALUES ('K9-BD-01','DOGS','Bulldog','<image src="../images/dog2.gif">Friendly dog from England');
+INSERT INTO product VALUES ('K9-PO-02','DOGS','Poodle','<image src="../images/dog6.gif">Cute dog from France');
+INSERT INTO product VALUES ('K9-DL-01','DOGS', 'Dalmation','<image src="../images/dog5.gif">Great dog for a Fire Station');
+INSERT INTO product VALUES ('K9-RT-01','DOGS', 'Golden Retriever','<image src="../images/dog1.gif">Great family dog');
+INSERT INTO product VALUES ('K9-RT-02','DOGS', 'Labrador Retriever','<image src="../images/dog5.gif">Great hunting dog');
+INSERT INTO product VALUES ('K9-CW-01','DOGS', 'Chihuahua','<image src="../images/dog4.gif">Great companion dog');
+INSERT INTO product VALUES ('RP-SN-01','REPTILES','Rattlesnake','<image src="../images/lizard3.gif">Doubles as a watch dog');
+INSERT INTO product VALUES ('RP-LI-02','REPTILES','Iguana','<image src="../images/lizard2.gif">Friendly green friend');
+INSERT INTO product VALUES ('FL-DSH-01','CATS','Manx','<image src="../images/cat3.gif">Great for reducing mouse populations');
+INSERT INTO product VALUES ('FL-DLH-02','CATS','Persian','<image src="../images/cat1.gif">Friendly house cat, doubles as a princess');
+INSERT INTO product VALUES ('AV-CB-01','BIRDS','Amazon Parrot','<image src="../images/bird4.gif">Great companion for up to 75 years');
+INSERT INTO product VALUES ('AV-SB-02','BIRDS','Finch','<image src="../images/bird1.gif">Great stress reliever');
+
+INSERT INTO supplier VALUES (1,'XYZ Pets','AC','600 Avon Way','','Los Angeles','CA','94024','212-947-0797');
+INSERT INTO supplier VALUES (2,'ABC Pets','AC','700 Abalone Way','','San Francisco ','CA','94024','415-947-0797');
+
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-1','FI-SW-01',16.50,10.00,1,'P','Large');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-2','FI-SW-01',16.50,10.00,1,'P','Small');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-3','FI-SW-02',18.50,12.00,1,'P','Toothless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-4','FI-FW-01',18.50,12.00,1,'P','Spotted');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-5','FI-FW-01',18.50,12.00,1,'P','Spotless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-6','K9-BD-01',18.50,12.00,1,'P','Male Adult');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-7','K9-BD-01',18.50,12.00,1,'P','Female Puppy');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-8','K9-PO-02',18.50,12.00,1,'P','Male Puppy');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-9','K9-DL-01',18.50,12.00,1,'P','Spotless Male Puppy');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-10','K9-DL-01',18.50,12.00,1,'P','Spotted Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-11','RP-SN-01',18.50,12.00,1,'P','Venomless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-12','RP-SN-01',18.50,12.00,1,'P','Rattleless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-13','RP-LI-02',18.50,12.00,1,'P','Green Adult');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-14','FL-DSH-01',58.50,12.00,1,'P','Tailless');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-15','FL-DSH-01',23.50,12.00,1,'P','With tail');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-16','FL-DLH-02',93.50,12.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-17','FL-DLH-02',93.50,12.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-18','AV-CB-01',193.50,92.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-19','AV-SB-02',15.50, 2.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-20','FI-FW-02',5.50, 2.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-21','FI-FW-02',5.29, 1.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-22','K9-RT-02',135.50, 100.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-23','K9-RT-02',145.49, 100.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-24','K9-RT-02',255.50, 92.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-25','K9-RT-02',325.29, 90.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-26','K9-CW-01',125.50, 92.00,1,'P','Adult Male');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-27','K9-CW-01',155.29, 90.00,1,'P','Adult Female');
+INSERT INTO item (itemid, productid, listprice, unitcost, supplier, status, attr1) VALUES ('EST-28','K9-RT-01',155.29, 90.00,1,'P','Adult Female');
+
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-1',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-2',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-3',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-4',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-5',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-6',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-7',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-8',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-9',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-10',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-11',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-12',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-13',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-14',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-15',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-16',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-17',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-18',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-19',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-20',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-21',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-22',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-23',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-24',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-25',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-26',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-27',10000);
+INSERT INTO inventory (itemid, qty ) VALUES ('EST-28',10000);
Oops, something went wrong.

0 comments on commit c65a5e3

Please sign in to comment.