Add a customer
21 |Id: | 27 |28 | |
Name: | 31 |32 | |
Address: | 35 |36 | |
39 | | 40 | |
Id: | 27 |28 | |
Name: | 31 |32 | |
Address: | 35 |36 | |
39 | | 40 | |
Hello ${name} This is the main page of this demo application. 22 | You can show datas available in cache ,add Customer and 23 | remove all datas. The goal of this demo application is to 24 | test Crash.
25 |Add a customer | 35 |Clear 36 | customer cache | 37 |
Id | 45 |Name | 46 |Address | 47 | 48 |
---|---|---|
"); 57 | out.println(c.getId()); 58 | out.println(" | "); 59 | out.println(""); 60 | out.println(c.getName()); 61 | out.println(" | "); 62 | out.println(""); 63 | out.println(c.getAddress()); 64 | out.println(" | "); 65 | 66 | out.println("
Here is the step you have to do for connecting Crash to this demo application.
79 |
82 | %telnet 5000 localhost
83 | %ssh -p 2000 -l admin localhost (mdp admin)
84 |
85 | $JDK_HOME/bin/jps and get the id.
86 | %cd $CRASH_HOME/bin
87 | %./crash.sh ID
% spring_cache showcache
spring_cache showcache