Versions Compared

Key

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

...

If you run the stateless client again you will see now one customer some customers with a denied loan application.

...

java -jar deployer.jar --user system --password manager list-modules

Look for the + SessionBeanDemo entry. SessionBeanDemo entry.

The following example shows the results of the stateless session client.

No Format
bgColor#000000
borderStylesolid

E:\session>maven run-g:stateless
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

run-g:stateless:
    [java] Customers with denied loan applications:
BUILD SUCCESSFUL
Total time: 3 seconds
Finished at: Wed Nov 02 13:08:03 EST 2005

The following example shows the results of the stateful session client.

No Format
bgColor#000000
borderStylesolid

E:\session>maven run-g:stateful
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

run-g:stateful:
    [java] Submitting new loan application...
    [java] -> submit count is now = 1
    [java] Submitting new loan application...
    [java] -> submit count is now = 2
    [java] Submitting new loan application...
    [java] -> submit count is now = 3
    [java] Submitting new loan application...
    [java] -> submit count is now = 4
    [java] Submitting new loan application...
    [java] -> submit count is now = 5
    [java] Submitting new loan application...
    [java] -> submit count is now = 6
    [java] Submitting new loan application...
    [java] -> submit count is now = 7
    [java] Submitting new loan application...
    [java] -> submit count is now = 8
    [java] Submitting new loan application...
    [java] -> submit count is now = 9
    [java] 9 loan applications were submitted.
BUILD SUCCESSFUL
Total time: 3 seconds
Finished at: Wed Nov 02 13:10:36 EST 2005

If you run the stateless client again you will see now some customers with a denied loan application.

No Format
bgColor#000000
borderStylesolid

E:\session>maven run-g:stateless
 __  __
|  \/  |__ _Apache__ ___
| |\/| / _` \ V / -_) ' \  ~ intelligent projects ~
|_|  |_\__,_|\_/\___|_||_|  v. 1.0.2

build:start:

run-g:stateless:
    [java] Customers with denied loan applications:
    [java] - Customer1
    [java] - Customer6
BUILD SUCCESSFUL
Total time: 3 seconds
Finished at: Wed Nov 02 13:11:39 EST 2005

Back to Top

Summary
Anchor
summary
summary

...