| Java[tm] Smart Ticket Sample Application 2.0 Early Access > Configuring the Sample Application |
This section describes the steps needed to set up features of the sample application which are not supported by the default configuration.
By default, the client is set to connect to a server running on
localhost at port 8000.
To change the server to which the client connects, open
{smart_ticket.dir}/smart_ticket-client.jad in a text
editor. (If you edit
{smart_ticket.dir}/src/app/client/midp/src/smart_ticket-client.jad,
you ensure that each time you rebuild the application, the changes are
permanent. However, you must rebuild the application after following
these instructions.)
Look for the following line:
SmartTicket-Servlet-URL: http://localhost:8000/smartticket/servlet/
Replace all occurrences of localhost and
8000 with the name of the host and the port on which the
server is running.