Bazaar is a complete, full-stack commerce platform in Java. Shoppers browse independent stores, fill one cart and check out on a phone or in a browser. The store’s staff run the business from a back office on a tablet, a desktop or the web: orders and fulfilment, products and inventory across locations, customers and discounts, a sales pipeline of every open cart and order, analytics and an assistant that answers from the store’s own numbers. At the counter, a cashier sells on a register that keeps working when the network does not. An administrator runs the marketplace the stores live on. Use it to build your own store, marketplace or point of sale with Codename One.
Generate your project · Read the user’s guide · Browse the source
In the Initializr, choose the Bazaar commerce template, set your application name and package, and generate the project. The application source is licensed under MIT-0: you can modify it, use it commercially and keep your changes private without royalties.
What comes with the application?
| Part | Included workflows |
|---|---|
| Shopper | Browse as a guest with no sign-in wall, search every store, product galleries with variants and reviews, one cart across stores, discount codes and gift cards, a checkout with live shipping rates and saved cards, order tracking, a wishlist, saved addresses, followed stores, loyalty and returns |
| Merchant | A dashboard, products with variants, media, translations and SEO, inventory across locations with transfers and purchase orders, orders with bulk actions, a fulfilment board from packing to delivery, customers and segments, discounts, gift cards, campaigns and journeys, shipping and taxes, automations and webhooks |
| Sales and insight | A sales pipeline of every live cart and open order with purchase intent, analytics against the previous period, reports, a forecast, and a store assistant that answers from the store’s data |
| Register | A cashier’s PIN, shifts with a counted float, a product grid and scanner, discounts, parked carts, layaways, split tenders and tips, receipts printed, emailed or texted, returns, and sales that sync once the network is back |
| Web | A server-rendered storefront search engines can read, a guest and signed-in checkout, a customer account, in light and dark, and the whole app, back office included, served at /app/ as its JavaScript build |
| Administrator | Store approval and suspension, accounts, and the platform’s payments and totals |
| Java backend | Accounts and roles, stores, catalog and an inventory ledger, carts and checkout, payments authorized at checkout and captured at shipping, markets and tax, a simulated carrier, webhooks, push notifications and the live channel |
The account’s roles decide which screens a person sees. The same client project targets iOS, Android, desktop and the web, and the server runs on SQLite, PostgreSQL, MySQL and MariaDB.

From first run to customization
- Run the project. The development profile needs nothing installed: an in-memory database, two demo stores with a month of past sales, demo accounts for every role, simulated cards and a simulated carrier.
- Try every role. Shop as
[email protected], run Northwind Outfitters as[email protected], sell at the register as[email protected]with the PIN1234, and run the platform as[email protected]. The password isbazaar-demo. - Customize and deploy. Change the theme, the catalog and the storefront templates, connect a payment processor and a carrier, and point the server at your own database.
What does a live business still need?
Bazaar supplies the connected application and its source. Taking real orders also requires your own hosting, a payment processor account, a carrier account for labels and rates, push credentials, a key for the AI model if the assistant should use one, and the legal pages and tax settings of the places you sell.
Other full-stack samples
Savor is food delivery, Wayline ride hailing, Fieldline field service, Slate appointment booking, Pulse a fitness studio and Bastion a security-first bank, all on the same architecture.