Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

The application performs the following operations. Use the script client(.bat or .sh) to run the application client.

  • List : This option lists the accounts curently in the database. The command to list is as follows.
    No Format
    bgColor#000000
    borderStylesolid
    <geronimo_home>/bin>java -Djava.endorsed.dirs="<geronimo_home>/lib/endorsed" -jar <geronimo_home>/bin/client.jar 
    bin>client AccountJPA/AccountJPA-app-client/3.0/jar list
    
  • Create : This option creates an account in the database. The command to create is as follows.
    No Format
    bgColor#000000
    borderStylesolid
    <geronimo_home>/bin>java -Djava.endorsed.dirs="<geronimo_home>/lib/endorsed" -jar <geronimo_home>/bin/client.jar 
    bin>client AccountJPA/AccountJPA-app-client/3.0/jar create 2222 Joe NewYork BranchX 20000.0
    
  • Update : This option updates an account with a new balance in the database.
    The command to update is as follows.
    No Format
    bgColor#000000
    borderStylesolid
    <geronimo_home>/bin>java -Djava.endorsed.dirs="<geronimo_home>/lib/endorsed" -jar <geronimo_home>/bin/client.jar 
    bin>client AccountJPA/AccountJPA-app-client/3.0/jar update 2222 30000.00
    
  • Delete : This option deletes an account in the database. The command to delete is as follows.
    No Format
    bgColor#000000
    borderStylesolid
    <geronimo_home>/bin>java -Djava.endorsed.dirs="<geronimo_home>/lib/endorsed" -jar <geronimo_home>/bin/client.jar 
    bin>client AccountJPA/AccountJPA-app-client/3.0/jar delete 2222.