824 WebSphere Studio Application Developer Version 5 Programming Guide CustomerListing 100, 110, 498 CustomerListingDS 614 CustomerListingNet 101 customize perspective 54 server configuration 544 Visual Editor 478 CVS 701 branch 733 configuration 706 console 712 Console view 706, 712 control information 745 decorators 706 ignore facility 711 ignored resources 710 installation 703 patch 740 preferences 707 reconnect 745 Repositories view 73, 715 repository 703 add 714 Repository Exploring perspective 73, 706 Resource History view 74, 731 scenario 713 server 707 services 704 share project 716 Web site 703 CVSNT 703 service configuration 705 D dab dataSourceSpec 267, 291 getColumn 268 parameter 268, 291 procedureCall 291 repeat 268 select 268 DADX 445 Data Definition view 69, 143, 272 perspective 68, 142 -data 24 data source 141, 177, 251 Application Server 619 create 256 EJB access 428 server configuration 533 server definition 256 data transfer object 385, 388, 425 database application run 259 applications 139 connection 145 create 155–156 tools 14 Database Access Java Beans 250 Tag Library 250 Database Web Pages wizard 249 DB Beans 248, 260 DB Output view 278 DB Servers view 69, 143 DB2 App Driver 146 Command Window 163 JDBC driver 104 Net Driver 146 UDB installation 786 user ID and password 814 XML Extender 14, 445 DB2ConnectionPoolDataSource 619 db2java.zip 104, 176, 412, 618 dbbeans.jar 261, 263 dbbeans_javadoc.zip 261 DBConnectionSpec 261 DBProcedureCall 263 DBSelect 261 DDL 142 generate 151, 161 dds.xml 445, 456 Debug perspective 69, 109 view 70, 111, 560 -debug 24 debugging 109 icons 560 JSP 564 port 566 remote 566 source code 570 step-by-step 558 tools 16 Web application 554 Index 825 decorations 712 decorators 706 Definition view 72, 591 deliver 768 stream 749 delta versioning 702 demarcation 378 deployed code 426 deployment 608 management 693 deployment descriptor 608 application client 613 EAR 81 EJJB 609 SOAP 445 Web 611 design considerations 112 patterns 112, 574 development stream 749, 760 Display view 71, 563 distribution 374 doclet 134 document object model 450 doFilter 226 doGet 207 DOM 450 doPost 207 DriverManager 141, 174 DTD 14, 346 from XSD 357 validator 358 DTO 385 dumpNameSpace 629 durability 375 dynamic Web resources 203 E EAR 81, 645 Eclipse 4 open standards 7 platform 5 plug-in 6 team development 8 user interface 5 Workbench 4 Editing JSP 217 editor overview 52 pane 59 EJB 2.0 specification 382 application 385 architecture 376 bean class 382 client 381 component 379 component interface 382 container 80, 377 data source 428 deployment descriptor 609 editor 400 JNDI name 427 query 408 references 418 relationship 404 development 373 home interface 382 inheritance 383 JARs 645 mapping 410 module 81 overview 374 project 84, 386, 514 create 387 QL 383 custom finder 406 query example 407 Query Language 383 reference 418 Web project 438 server 377 specification 377 test client 15 tools 15 types 380 universal test client 428 EJBBANK database 18 installation 811 ejbCreate 405 ejbDeploy 629 ejbPostCreate 405 encapsulation 385 encoding 450 enterprise 10 enterprise application 826 WebSphere Studio Application Developer Version 5 Programming Guide archive 15 export 616 installation 622 Enterprise Application project 83, 514 Enterprise Developer 8 overview 10 enterprise generation language 10 Enterprise Java Server 377 entity bean 381 create 389 event handling 502 Execution Flow view 72, 679 Execution view 72 export enterprise application 616 GUI application 508 Java class 106 Expressions view 71, 562 extract method 123 variable 123 extreme programming 574 F facade 112, 184, 295, 436 EJB 385 Feature Updates view 75 file associations 28 compare 690 replace 691 restore 692 serving 613 transfer mechanism 520 filter chaining 227 create 227 profiling 660 servlet 226 Tasks view 122 finder method 383 findGoldAccounts 407 FirstHTTPTest 599 firstSteps 629 Fix Packs 549 FlowLayout 492 foreign key 162 form bean 300 Struts form bean 310 formatting rules 35 fragment 18 frameset 196 front controller 252 FTP 520 file transfer 526 G Gallery view 60 garbage collection 666, 673 thread 679 generate DDL 161 DDL from XMI 142 getter methods 422 getter/setter 127 XML schema 152 Generate Deploy and RMIC Code wizard 426 GenPluginCfg 629 getConnection 175 GetCustomberBean 281 GetCustomerMain 280 Graph view 355 graphical user interface 469 GridBagLayout 492 GridLayout 489 GROUP BY 169 GUI application 469 H hardware prerequisites Application Developer 790 Application Server 786 HEAD branch 719 headless 652 heap 547, 666, 670 Heap view 72, 670–671 help Application Developer 48 bookshelves 49 Hierarchy view 62, 65 history 29 hit count 555 home interface 382, 396 horizontal integration 7 host variable 169 Index 827 hover help 118 HTML appearance 202 cache 196 link 218 page properties 197 syntax validation 194 Template wizard 364 html errors 321, 335 form 320 hidden 322 reset 320 submit 320, 322 text 320 HTTP scheduler 598 test case 598 HTTP Server 529, 544, 787 plug-in configuration 627 HttpServlet 205 HttpSession 232 HttpSessionAttributeListener 232 HttpSessionInspector 232 HttpSessionListener 232 I icons for debugging 560 IDE 8, 48 ignore facility 711 ignored resources 710 image library 13 import database objects 149 EAR file 608 from ClearCase 774 JAR file 114 resources 192 statement generation 120 tag library 265 WAR file 192 Web content 305 IMS 10 incremental compile 128 index.jsp 309, 316 Informix 14, 147, 787 inheritance 383 init 207 initial context 421 InitialContext 177, 422 Initialization target 639 inline variable 123 insert JSP tag 267 Install Configuration view 75 install enterprise application 622 Install/Update perspective 75 installableApps 616 installation Agent Controller 792 Application Developer 790 Application Server 786 ClearCase LT 749 CVS 703 DB2 UDB 786 EJBBANK database 811 test server 814 Installed JREs preferences 39 Instance Statistics view 72, 683 InstantDB 147 InsufficientFundsException 113 integrated development environment 48 see IDE integration 7 stream 749, 768 Integration Edtion see Application Developer Integration Edition interface 379 Internet preferences 32 InvalidAmountException 113 InvalidateSession 181, 218 ISD 445 isolation 375 itso.ant.hello 635 itso.bank.exception 113, 307 itso.bank.facade 113, 193, 305 itso.bank.main 113 itso.bank.model 113, 456 itso.bank.util 113 itso.basicweb.control 193 itso.basicweb.filter 227 itso.basicweb.listener 233 itso.databaseweb 249 itso.ejb.model.entity 390 itso.ejb.model.facade 416 itso.gui 471 828 WebSphere Studio Application Developer Version 5 Programming Guide itso.jbwp 238 itso.junit 579 itso.storedproc 275 itso.storedproc.bean 281 itso.storedproc.main 280 itso.strutsweb.forms 311 itso.strutsweb.resources 304 itso.webserv.model 446 itso.xml 350, 371 ItsoProGuide 187, 302, 608, 616, 645, 657 ItsoProGuide.ear 812 ItsoProGuideAnt 635 ItsoProGuideBasicWeb 186, 436, 554, 570, 611 ITSOProGuideCCEAR 762 ITSOProGuideCCWeb 762 ItsoProGuideCVS 715 ItsoProGuideDatabase 149 ItsoProGuideDataBaseWeb 248 ItsoProGuideDatabaseWeb 538 ItsoProGuideEJB 388, 464 ItsoProGuideGui 471 ItsoProGuideJava 95, 114, 180, 188 ItsoProGuideJavaClient 613–614 ItsoProGuideJUnit 578, 589 ItsoProGuideServer 519 ItsoProGuideServers 224 ItsoProGuideStoredProcWeb 272, 539 ItsoProGuideStrutsWeb 302, 436 ItsoProGuideWebServ 446 ItsoProGuideWebServClient 452 ItsoProGuideXmlWeb 350 ItsoServer 224, 259 J J2EE API 80 architecture 80 Hierarchy view 57 Navigator view 56, 60 perspective 56 projects 83 Publishing Server 516 Request Profiler 659 specification 9 technologies 80 Web project 84 J2SE specification 9 JAAS 533 JAR 81 Java application development 93 Beans view 490 Browsing perspective 63 build path 87 build settings 96 class 100 development preferences 33 tools 15 Editor preferences 37 package 99 perspective 61 Profiling Agent 659 project 82, 94 Runtime Environment 39 Scrapbook 115 search 128 source folder 191 stored procedure 272 test case 589 Type Hierarchy perspective 64 utility JAR 645 Virtual Machine 656 Profiler Interface 656 java comp/env 614 JavaBean from WSDL 445 from XSD 445 Web Pages wizard 237 Javadoc 133 Ant 136, 651 code assist 118 comment 101 generation 133 preferences 40, 133 JavaScript 13, 218 JavaServer Pages 7 JAXP 346 JDBC 140, 174 2.0 Standard Extension API 141 connection 140 create 146 data source 177 driver 174, 619 Index 829 path 618 driver class 147 overview 140 resources 176 type 2 driver 175 type 3 driver 175 jdbc/ejbbank 177, 251, 256, 427, 610, 614 jdbc/mybank 614 JDK 115 JMS 378 JNDI data source 141 Explorer 429 namespace 378 join 168 project 772 JRE 39 JScrollPane 495 JSP 9 breakpoint 556 create 211 data beans 261 debugging 564 directive taglib 264 editing 217 insert custom 267 precompile 612 scriptlet 222 SQL 262 stored procedure 291 Struts create 316 taglib data beans 262 tags Struts 300 useBean 219 JspBatchCompiler 629 jspsql.jar 263 JUnit 573–574 methods 584 project properties 578 run 586 setUp and tearDown 582 testing 576 view 586 junit.framework.Assert 584 junit.jar 578 JVMPI 656 K key class 382 field 392 wrapper class 393 keyboard shortcuts 801 keyword expansion 707 L label decorations 712 launch configuration 103 launchClient 629 LaunchPad 788 lib directory 191 Library view 60 life cycle 377–378 life-cycle method 396 link 218 Links view 61, 210 ListAccounts 181, 205, 209 listAccounts.jsp 182, 210, 309, 325 ListAccountsAction 333 ListCredits 251 listener create 233 servlet 232 listTransactions.jsp 183, 309, 328 local component interface 396 history 29, 689–690 preferences 30, 692 interface 379 location independence 380 lockRows 263 Log Console view 642 log files 26 logic iterate 330 Lotus Domino Enterprise Server 787 M Maintenance 576 MAKE 634 830 WebSphere Studio Application Developer Version 5 Programming Guide MANIFEST.MF 191 mapping editor 414 strategies 409 marker 554 Master.css 201 MDB 378, 381 mediator 112 memory analysis 666 memory leaks 673 merging 736 Merging from a stream 736 message-driven bean 378, 381 MessageDrivenBean 382 MessageListener 382 messaging 377–378 metadata directory 82 META-INF 191 Method Execution view 72, 677 Invocation view 72, 674 Statistics view 72, 669 method execution 673 extract 123 override 127 pull up 123 migration 12 model 295 MVC 180 model-view-controller 294 modify parameters 123 module dependency 189, 303 multiplicity 402 MVC 180 controller 296 model 295 pattern 297 Struts 297–298 view 296 MySQL 147 N namespace 348, 378 naming 377–378 NamingException 422 Navigator view 56, 59, 67, 144 network file system 23 NFS 23 O object caching 375 pooling 375 Object References view 72, 684 object-relational mapping 409 ODBC 140 OMG 142 Open Source 679 optimistic concurrency 696 Oracle 147, 787 ORDER BY 169 org.apache.struts 298 organize imports 121 preferences 42 ost variable 253 Outline view 57, 59–60, 62, 67, 72, 119 override methods 127 P Package Explorer view 61, 119 Package Statistics view 72, 667 Page Designer 60, 193 JSP tag rendering 323 palette 475 parallel development 723 patch 740 apply 742 path language 348 pattern command 181 MVC 180, 294 PDE 17 performance analysis 663, 666 profiling 10 profiling tools 16 PerformTransaction 181, 229 PerformTransactionAction 336 persistence 374, 377–378 Persistence Builder 12 perspective 22 Component Test 72, 588 customize 54 CVS Repository Exploring 73, 706 Data 68, 142 Index 831 Debug 69, 109 default 54 Install/Update 75 introduction 51 J2EE 56 Java 61 Java Browsing 63 Java Type Hierarchy 64 layout 52 open 53 overview 47 Plug-in Development 76 preferences 31 Profiling 71 Resource 58 Server 66, 513 Web 59 XML 67 XSL Debug 68, 369 pluggable JDK 115 plug-in component 18 configuration 627 development environment 17 Eclipse 6 fragment 18 project 17 tools 17 Plug-in Development perspective 76 plugin-cfg.xml 544 port debugging 566 portabiliy 376 preferences 26 appearance 35 Classpath Variable 97 ClearCase 753 code formatter 35 CVS 707, 710 file associations 28 installed JREs 39 Internet 32 Java compiler 36 Java development 33 Java Editor 38 Javadoc 41, 133 local history 30, 692 orgainze imports 42 perspectives 31 refactoring 43, 124 templates 44 Tomcat 540 validation 358 Visual Editor 478 Preview view 75 problem tracking 693 process management 694 Profiling Monitor view 662 perspective 71 profiling 655 Agent Controller 657 attach 658 filter 660 remote 665 start 662 start server 658 tools 16 views 663 programming assists 115 project 79 add to version control 718 add to workspace 719 Application Client 85 ClearCase control 762 create 86 Java 94 directory structure 190 disconnect from CVS 745 EJB 84, 386 Enterprise Application 83 J2EE 83 Java 82, 94 join 772 organization 82 properties 87, 189 JUnit 578 Server 85, 519 server assignment 531 sharing 716 simple 82 Struts 84, 300 types 82 utility 93, 111 version 731 Web 84 promote 392 business methods 398 832 WebSphere Studio Application Developer Version 5 Programming Guide properties project 87 Properties view 58, 476 filter 489 provider 442 proxy 452 class 458 proxy.soap 452 pserver 702 puggable 115 pull up method 123 R ramp-up time 576 RAR 545 Rational ClearCase see ClearCase Web site 748 rebase 749, 777 Red Hat 790 RedBank 180 Redbooks Web site 819 Contact us xxiv refactoring 15, 122 example 124 preferences 43, 124 preview 126 reference EJB 418 references 418 relationship methods 404 relationships 382 create 400 remote Application Server 566 client view 416 debugging 566, 629 file transfer instance 524 profiling 665 server 520 attach 567 debug configuratoin 566 settings 523 user ID and password 538 rename 123 repository 694 reconnect 745 request sequence 299 requestor 442 Resource Patcher wizard 742 perspective 58 resource synchronization 711 resources ignored 710 restoreConfig 629 ResultSet 176 resume 560 RMI 377 role-based development model 4 root element 353, 360 Run on Server 259, 516 runAnt.bat 652 RunBanking.jsp 446 run-time environment 514 RunTranfer.jsp 291 S sample code 18 scalability 375 schema create 157 SCM 689 tools 699 scope 449 scrapbook 15, 115 scriptlet 222 search 50, 128 security 377–378 SOAP 449 SELECT statement 165 self encapsulate 123 Sequence Diagram view 680 Server Configuration view 66, 224, 529 perspective 66, 513 project 85, 519 server configuration 514 create 519 create manually 527 customize 544 Index 833 create 224, 516 debugging 557 installation 814 peference 87 profiling mode 658 remote 520 start 225 start and stop 535 tools 17, 514 Servers view 61, 66, 224 serverStatus 629 service broker 442 provider 442 registry 442 requestor 443 service-oriented architecture 441 services CVS 704 servlet 9, 204 create 204 creation 13 filter 226 listener 232 SOAP 449 Struts 298 ServletContext 232 ServletContextAttributeListener 232 ServletContextListener 232 session bean 381, 415 business methods 421 create 416 session variable 214, 317 SessionBean 382 Sessions view 370 set breakpoint 554 setUp 582 setupCmdLine 629 -setworkspace 24 sg246957code.zip 810 share project 716 shortcuts 801 showException.jsp 184 Simple Object Access Protocol 15 simple project 82 SingleThreadModel 206 Site Developer 8 overview 9 SOAP 15, 443 deployment descriptor 445 encoding 450 router servlet 449 security 449 soap.xml 456 soapcfg.jar 456 software configuration management 16, 689, 748 prerequisites Application Developer 790 Application Server 786 SortedSet 425 SQL Assist 274 procedures 272 query 249 statement 166 create 165 execute 170 SQL Query Builder 14, 142, 165, 171 example 171 SQL Server 14, 147, 787 SQL Statement wizard 14, 165, 274 example 165 SQL to XML wizard 14 ssh 702 standardization 376 standards 7 startServer 627, 629 startup parameters 24 stateless 415 static Web resources 193 status bar 58 Step Into 561 Step Over 561 step-by-step debugging 558 stopServer 627, 629 stored procedure 271–272 build 278 execute 279 generate JavaBean 281 JSP 291 multiple statements 287 parameters 275 properties 279 tag library 285 Stored Procedure wizard 273 Struts 11, 293 application flow 309 . 446 itso.xml 350 , 371 ItsoProGuide 187, 302, 608, 616, 6 45, 657 ItsoProGuide.ear 812 ItsoProGuideAnt 6 35 ItsoProGuideBasicWeb 186, 436, 55 4, 57 0, 611 ITSOProGuideCCEAR 762 ITSOProGuideCCWeb 762 ItsoProGuideCVS. 151 , 161 dds.xml 4 45, 456 Debug perspective 69, 109 view 70, 111, 56 0 -debug 24 debugging 109 icons 56 0 JSP 56 4 port 56 6 remote 56 6 source code 57 0 step-by-step 55 8 tools 16 Web application 55 4 . 629 jspsql.jar 263 JUnit 57 3 57 4 methods 58 4 project properties 57 8 run 58 6 setUp and tearDown 58 2 testing 57 6 view 58 6 junit.framework.Assert 58 4 junit.jar 57 8 JVMPI 656 K key class 382 field