General reference: Elements in capital letters are items of the Pet Store catalog. All others, with the exception of CounterEJB, track customer information.
Contains information about user accounts: status, a reference to contact information, a reference to credit card information, and a reference to its corresponding customer information, if any.
Full streetName, city, state, country, zipCode, and the a reference to its corresponding contact information, if any.
A category ID
Includes all the information about a category: category ID, name of the category, the path to an image, category description, and localization information (language-country)
Contains the contact information for a customer: a reference to its address, email, full name (given name and family name), telephone, and a reference to its account information, if any.
Represents a counter with a specific prefix; used only by UniqueIdGeneratorEJB to manage series of unique numbers. Keeps the counter for each table, this follows the Counter EJB Pattern (see reference). It has the current counter, and the name of the table.
Contains the credit card information: card number, card type, expiration date and reference to its corresponding account information.
Contains profile and account information about a customer. It includes the user ID of the customer and its corresponding account and profile information. The user IDs are not restricted to be the same names used in the UserEJBTable.
Contains the item's ID and the ID of the product it is classified as.
Includes all the information about an item: ID, list price, unit cost, localization information (language and country that the currency is in), path to the item's image, a description of the item and 5 custom attributes.
This table includes the product's ID and the ID of the category it belongs to.
Includes all the information about a product: ID, name of the product, path to its image, and a description of the product, and localization information (language and country that the product name and description are in).
Contains profile information code for the banner preference, the code of the list preference, any language preference -language and country format is expected but this format is not enforced-, a reference to the customer information it refers to (if any) and, the name of the favorite category -not restricted to the CATEGORY_DETAILS names-, if any.
Contains log-in information: username and password. The usernames are not restricted to be the same used in the CustomerEJBTable.
To add internationalization support to the catalog items a separation is established. A table will have an ID and another table will have the localization details for that ID. For example, the CATEGORY table includes a category ID, "FISH", the CATEGORY_DETAILS table will have several entries for "FISH", one per language: English from the US (en_US), Spanish from Colombia (sp_CO), etc.
The three databases shown in the diagram do not map to the existing ones reviewed in the parent view. The information in those "separate" databases actually reside in the tables from the petstoredb.
TBD
Back to the Pet Store SAD main page