Custom state samples illustrate how to implement a service state, a standalone state,
and a menu state.
Sample GetMyWeather State
The GetMyWeather sample illustrates a typical custom-state implementation. This type of state is called a service state, because its function is to call a specific Web service (in this case a weather service), and store the results for the application to use. This type of state is commonly integrated with enterprise systems.
Sample Custom State
A simple custom state, named SampleState, formats the current date.
Sample Custom-Menu State
The contents of SendSampleMenu.java and SampleBean.java illustrate how to create a custom-menu state.