com.bankframe.examples.bo.impl.account
Class Client

java.lang.Object
  extended bycom.bankframe.examples.bo.impl.account.Client

public class Client
extends java.lang.Object

This class is the client for the AccountBean.

Usage:

  1. java com.bankframe.examples.bo.impl.account.Client -c (HANDLE_CREATE) cardNumber, accountNumber, accountName

  2. Create a Account Bean
  3. java com.bankframe.examples.bo.impl.account.Client -pk (HANDLE_FIND_BY_PRIMARYKEY) cardNumber, accountNumber

  4. Retrieve Account Bean

Author:
Ruairi White

Field Summary
 java.lang.String accountName
           
 java.lang.String accountNumber
           
 java.lang.String cardNumber
           
static int HANDLE_BREAK
           
static int HANDLE_CREATE
           
static int HANDLE_FIND_BY_PRIMARYKEY
           
 
Constructor Summary
Client()
           
 
Method Summary
 void handleCreate()
          This method is used to create a new PersisterTxnMapHome EJB.
 void handleFindByPrimaryKey()
          This method is used to find a record by a primary key.
 int init(java.lang.String[] args)
          This method initializes the startup variables and objects.
static void main(java.lang.String[] args)
          This method is used to run the client Class.
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

HANDLE_CREATE

public static final int HANDLE_CREATE
See Also:
Constant Field Values

HANDLE_BREAK

public static final int HANDLE_BREAK
See Also:
Constant Field Values

HANDLE_FIND_BY_PRIMARYKEY

public static final int HANDLE_FIND_BY_PRIMARYKEY
See Also:
Constant Field Values

cardNumber

public java.lang.String cardNumber

accountNumber

public java.lang.String accountNumber

accountName

public java.lang.String accountName
Constructor Detail

Client

public Client()
Method Detail

handleCreate

public void handleCreate()
This method is used to create a new PersisterTxnMapHome EJB.


handleFindByPrimaryKey

public void handleFindByPrimaryKey()
This method is used to find a record by a primary key.


init

public int init(java.lang.String[] args)
This method initializes the startup variables and objects. It also analyzes the request type and calls the required processing.

Parameters:
args - command line arguements
Returns:
handle for main()

main

public static void main(java.lang.String[] args)
This method is used to run the client Class.

Parameters:
args - command line arguements


Copyright © 2004 Siebel Systems, Inc. All rights reserved.