Also provided with the distribution is some sample code and one or more example applications that demonstrate how the framework works and how business objects are defined. The main example at present is the application for Executive Car Services that allows journey resevations to be made.
To run the samples use the following commands under Unix/Linux (the
nakedobjects directory will need to be modified for the
specific version you downloaded):
cd nakedobjects1.0/examples/expenses chmod +x *.sh ./run.sh
Often there are other run files such as runOrders.sh,
runManager.sh, and runProject.sh in the
basic directory.
Under Windows the commands (entered via the MS-DOS Prompt) are very similar except the directories are separated by backslashes and it the batch file needs to be invoked:
cd nakedobjects1.0\examples\expenses run.bat
Normally under Window (providing Java is set up correctly) you can
start the examples by double-clicking the run.bat file in
the file manager.
Each application has one of more user scripts that explain in detail
how an application might be used. These are the html files
in the example's directory and they should be viewed in web
browser.
The scripts explain how a specific application is used but does not (yet) explain how the underlying framework works. When an application is started its classes are displayed in a window on the left hand side of the screen. These class icons give the user access to the objects held and used by the system. Any other object that subsequently appears on the screen represents one of those objects. The objects can be manipulated as follows:
Copyright (c) 2002 - 2004 nakedobjects.org
You may print this document for your own personal
use, or you may copy it in electronic form for access within your
organisation, provided that this notice is preserved.