Package com.github.bordertech.wcomponents.examples.petstore

Demonstrates best practices in using the WComponent API to build a "real-world" application.

See: Description

Package com.github.bordertech.wcomponents.examples.petstore Description

Demonstrates best practices in using the WComponent API to build a "real-world" application.

The application ("PetStoreApp") is a mock-up of an online store, using a format most people are familiar with. The store features a product-listing, from which users can view products and add them to their "shopping cart". To complete an order, users select to "check out" their cart and fill in contact and payment details.

Running the PetStore application

PetStoreApp can be run from the Local Development Environment (LDE). Instructions on setting up the LDE can be found in the WComponent Maven site documentation. To configure the LDE to run the PetStoreApp, set the following value in your local_app.properties file:

   ui.web.component.to.launch=com.github.bordertech.wcomponents.examples.petstore.PetStoreApp

Package structure

The package structure is as follows:

Copyright © 2016. All rights reserved.