4.2.4Registering the Application
Before you can access the counter application from your web browser, you must register it with Seaside. Type the following code into a Transcript or Workspace and then type CTRL-d or use the "doit" menu item. Afterwards, make sure to commit your code.
WebCounter registerAsApplication: 'WebCounter'.
Note that this expression can also be added in the class initialize
method which is invoked at the time the class is loaded in memory as shown below.
WebCounter class>>initialize
self registerAsApplication: 'WebCounter'
Now you can launch the application in your web browser by visiting http://localhost/seaside/WebCounter, see Figure 36.