Architecture

MongOz works in a 2 tier architecture, having a frontend providing the graphic interface for the user, communicating with a backend, which handles all MongoDB operations.

Backend / Java Application

The java application is the first tier. It is started by the user when double clicking its icon or running the .sh or .bat files.
It is in charge of providing all the interface files (html, css, js), handling the interface requests and performing MongoDB operations.

Frontend / Web Browser Interface

The Frontend is where the user interacts with the MongoDB, providing all the visual elements (dialogs, trees, lists, menus, etc) to allow the user to perform MongoDB operations.

Configurations, such as server addresses, languages, etc, are stored in the browser's "Local Storage", therefore, they are not available between different browsers.

Communications

image

Between frontend and backend, the communications is made via HTTP Rest protocol.

Between backend and MongoDB, it is used the MongoDB Wire Protocol, provided by the Mongo Java Library.