
JavaPOS Demo Application: Getting Started
BEETLE /moPOS "Getting Started"
27
<POS Device HUB name>@<IP Address>:<Port number>
in a comma-separated list.
Example:
UDMConnectionHandler.servers=POS Device HUB [email protected]:1131, PDH [email protected]:1131
Note: the value is a comma-separated list of logical names (which are shown in the demo
application) IP addresses and their ports. The port should be always 1131 which is the con-
nection port of the Unified device Server at the POS Device HUB.
This entry is only valid if the parameter
AdminServerConnectionHandler.useDummy
is set to
yes.
5.3.2
AdminServer Connection handler configuration
In the section “
Remote usage with POS Device HUB
” of the demo1.properties, you will find
in the last part the AdminServer Connection Handler parameters which have the following
configuration keys:
•
AdminServerConnectionHandler.activate
:
Make sure that it is set with “yes”. The demo application allows a dialog for connect-
ing to several POS device HUB’s
•
AdminServerConnectionHandler.useDummy
:
indicate here with yes/no if the Dummy Admin Server implementation should be
used. See below for more information about the Dummy Admin Server.
If this parameter is set to
yes
the parameter
AdminServerConnectionHandler.server
is to be set properly to the IP address of moPOS Admin Server.
If this parameter is set to
no
the parameter
AdminServerConnectionHandler.servers
(take care to not omit the “s” in the name
servers
) is to be set properly to a comma-
separated list of several possible POS Device HUBs.
Note: If you do
not
want to use the moPOS Admin Server, or if it is not correctly run-
ning, you need to set this parameter to “yes” to have a functioning demonstration
application. In that case the parameter UDMConnectionHandler.servers need to be
set properly.
•
AdminServerConnectionHandler.server
:
put here the name and IP address or hostname of the Admin Server, with the follow-
ing format:
<POS Device HUB name>@<IP Address or hostname>:<port>
Example:
AdminServerConnectionHandler.server=POS Device HUB 1@localhost:8025
If you use the dummy Admin Server implementation, the IP Address or the hostname
are not relevant information, so you can leave the value as it is.
•
AdminServerConnectionHandler.withNFCReader
:
indicate here with yes/no if the NFC Reader should be activated.
Please note that in the current version of the Demo1 application (Version 1.1.0), the
NFC Tag detection is implemented as dummy: The NFC reader can only detect the
presence or absence of any NFC Tag and cannot differentiate if one differs to the
other.
5.3.3
Dummy Admin Server implementation
As mentioned above, you may choose to activate the Dummy Admin Server implementation
in the Demo1 application. The Dummy Admin Server will then do the following: