Stand Alone TestingYou can run your application within a stand-alone environment. This is useful when testing your application's logic (which is independent of the hosting service provider's network of TaskServers & Hosts).The HspAgent constructor
takes 1 argument: a String denoting the domain
name of the machine that is running the hosting service provider which
you would like to use. The special String "test" causes the HspAgent to
construct a minimal hosting service provider, depicted in the diagram
below. The application below shows this tiny change in code (the HspAgent constructor argument). There are 2 aspects of test mode that you should know:
Hello, world! |