validate() method, ActionForm class, 459 validate() method, Validator interface, 498 implementing, 499 Validator Interface, com.interface21.validation package, 498 implemented by DefaultUserValidator class, 499 supports() method, 498, 499 validate() method, 498, 499 value attribute <c:out> element, 543 <i21:bind> element, 495 Value Object Assembler pattern, 266 Value Object J2EE pattern, 265 consolidating remote calls, 658 moving data to operation, 656 public instance variables, 149 value objects entity beans guidelines, 308 exchanging data in distributed apps, 265 generic value objects, 267 Velocimacros, 547 Velocity template libraries, 547 Velocity compared to FreeMarker, 551 compared to WebMacro, 546 configuring, 691 context object, 547 date and currency formatting, 694 description, 546 formal notation, 550 installing, 691 JSP custom tags, 547 sample app, 548 template libraries, 547 Velocimacros, 547 view definitions, 695 view performance, 664 view technologies, 546, 691 VTL, 546 Velocity Template Language see VTL. VelocityConfigurer class, com.interface21.web.servlet.view.velocity package, 692 VelocityView class, com.interface21.web.servlet.view.velocity package, 548, 687 exposeModelsAsContextAttributes() method, 693 implementing, 692 render() method, 692 renderMergedOutputModel() method, 693 vendor code getErrorCode() method, SQLException class, 322 OracleSQLExceptionTranslater class, 332 vendor issues choosing app server, 50 verifier tool choosing app server, 47 version selection determining specification, 44 vertical implementation approach, 61 vertical slice see performance. view composition, 517, 575 page layout, 575 content page inclusion, 575 template page inclusion, 575 view definitions decoupling controllers and views, 519 PDF generation, 707 Velocity, 695 XMLC, 705 XSLT, 701 view helpers JSP custom tags, 533 View interface, com.interface21.web.servlet package, 470, 476, 684 decoupling controllers and views, 518 implementing, 518, 685 implementing View interface for XMLC, 568 render() method, 470, 476, 518, 684 View interface, org.infohazard.maverick.flow package, 462 go() method, 462 view objects, MVC, 449, 450 decoupling controllers and views, 517, 684 description, 450 model objects and, 525 localization handled in view, 526 model contains all information for view, 525 named view strategy, 457 separating coding from presentation, 451 view technologies, web, 515 custom views, 708 decoupling controllers and views, 517, 684 advantages, 517 named view strategy, 517, 684 static attributes, 519 view definitions, 519 generating binary content in view, 571 XSL-FO, 571 HTML generation libraries, 562 implementing, 683 introduction, 515 JSP, 526, 688 advantages, 526 custom tags, 533 disadvantages, 526 example of bad design, 527 future prospects, 538 guidelines for using JSP, 536 performance, 664 WAS Tool, 664 sample app, 519 formatting presented information, 519 JSP views, 538 model objects, 521 Velocity, 548 XMLC, 564 XSLT, 555 template languages, 544 FreeMarker, 551 Velocity, 546, 691 WebMacro, 545 view composition, 517, 575 XMLC, 563, 703 XSLT, 551, 696 advantages, 552 disadvantages, 552 using XSLT instead of JSP pages, 553 ViewContext interface, org.infohazard.maverick.flow package, 462 getModel() method, 462 ViewResolver interface, com.interface21.web.servlet package, 470, 477, 519, 685 implementing, 519, 686 resolveViewName() method, 685 views, RDBMS, 259 visibility coding standards, 149 method visibility, 151 package protected instance variables, 150 protected instance variables, 150 Visitor design pattern facilitating XML generation, 241 visual modeling tools choosing development tools, 64 VTL, 546
Comments