Demonstrating the Aspectran console application

by aspectran
macOS ◆ xterm-256color ◆ bash 694 views

Built-in commands for this console application:

  • desc on - Display a description of the command
  • desc off - Turn off display of description for the command
  • restart - Restart this console application
  • help - Show the description message that was displayed at startup
  • quit - Exit from this console application

Commands that can run the examples:

  • hello - Runs the helloWorld() method of the sampleAction bean and prints the returned value.
  • hello2 - Runs the helloWorld() method of the sampleAction bean and prints the returned value with margins.
  • echo - It accepts parameters and print as is.
  • login - It accepts parameters used for login and print them.
  • chpw - It accepts parameters for changing the password and print them.
  • free - It uses the Freemarker template engine to output the values of the input parameters.
  • select - This example generates a simple SQL SELECT statement using the Freemarker template engine.
  • update - This example generates a simple SQL UPDATE statement using the Freemarker template engine.