Professional Java Tools for Extreme Programming: Ant, XDoclet, JUnit, Cactus, and Maven (Programmer to Programmer)

H

HashMapTest test case, 223228

headers, HttpUnit, 310

Hello World application project, 75

classes, 75

directory structure, 75

manifest file, 76

targets, 76

Hello World main project, master buildfile, 7880

Hello World Model 2 example (Ant), 8788

deployment descriptor, 125126

directory structure, 8889

enterprise application deployment descriptor, 125126

enterprise beans project, 104

buildfile, 115121

deployment descriptor, 105, 113115

directory structure, 104105

entity bean, 105107

session bean, 107110

shadow proxy bean, 110113

master buildfile, 121125

Web application, 8889

base targets, 93

buildfile, 9398, 119120

building, 9899

compile target, 97

deploy target, 97

deploying, 100101

deployment descriptor, 9293

directory structure, 8889

FTP task, 98

HelloWorld.jsp, 9192

HelloWorld.jsp applet, including, 102103

HelloWorldServlet.java, 8990

package target, 9697

running, 101102

URL definition, 101102

Web application, running beans with, 120121

Hello World model project, 676

buildfile, 7073

naming conventions, 70

running, 7374

target execution order, 71

classes, 6869

directory structure, 6970

output directory, 74

targets, 7073

HelloWorld AntHill project

creating, 516517

impounding, 517

test build, 517518

HelloWorldApplet

buildfile, 84

building the applet, 85

class overview, 8183

HelloWorld.jsp, 9192

HelloWorldServlet.java, 8990

hibernatedoclet task, 141

HTMLEmail component (CruiseControl), 501

HTMLSegment class (HttpUnit), 637639

HttpException class (HttpUnit), 639640

HttpInternalErrorException class (HttpUnit), 312, 640

HttpNotFoundException class (HttpUnit), 640

HttpServletRequestWrapper class (Cactus), 630631

HttpUnit, 297298

advantages, 298299

Cactus comparison, 299, 346

cookies, 310

DOM inspection, 309310

downloading, 298

exceptions, 302

frames , 311

headers, 310

incorporating JUnitPerf with, 273274

limitations, 311

response inspection, 300301

feedback form example, 307309

login testing example, 301303

sales report page example, 303309

spider example, 312

SpiderPageTest class, creating, 314317

test method, creating, 312314

SSL, 311

WebClient class, 299300

WebConversation class, 299300

WebRequest class, 300

WebResponse class, 300, 358359

HttpUnitOptions class (HttpUnit), 311, 640642

HttpUnitUtils class (HttpUnit), 642643

Категории