Java Tools for Extreme Programming—Mastering Open Source Tools Including Ant, Junit, and Cactus

Total Page:16

File Type:pdf, Size:1020Kb

Java Tools for Extreme Programming—Mastering Open Source Tools Including Ant, Junit, and Cactus Table of Contents Introduction - 4 Part I - Introduction and Key Concepts Chapter 1 -Introduction to Extreme Programming - 10 Chapter 2 -J2EE Deployment Concepts - 17 Chapter 3 -Example Applications - 27 Part II - Mastering the Tools Chapter 4 -Continuous Integration with Ant - 79 Chapter 5 -Building Java Applications with Ant - 90 Chapter 6 -Building J2EE Applications with Ant - 110 Chapter 7 -Unit Testing with JUnit - 156 Chapter 8 -Testing Container Services with Cactus - 204 Chapter 9 -Functional Testing with HttpUnit - 245 Chapter 10 -Measuring App. Performance with JMeter - 265 Chapter 11 -Load Testing with JUnitPerf - 282 Part III - API and Tag Reference Chapter 12 -Ant Tag Reference - 298 Chapter 13 -Ant API Reference - 319 Chapter 14 -JUnit API Reference - 345 Chapter 15 -Cactus API Reference - 357 Chapter 16 -HttpUnit API Reference - 383 Chapter 17 -JUnitPerf API Reference - 408 Java Tools for Extreme Programming—Mastering Open Source Tools Including Ant, JUnit, and Cactus Richard Hightower Nicholas Lesiecki Wiley Computer publishing John Wiley & Sons, Inc. NEW YORK • CHICHESTER • WEINHEIM • BRISBANE • SINGAPORE • TORONTO Publisher: Robert Ipsen Editor: Robert M. Elliott Managing Editor: John Atkins Book Packaging: Ryan Publishing Group, Inc. Copyeditor: Tiffany Taylor Designations used by companies to distinguish their products are often claimed as trademarks. In all instances where John Wiley & Sons, Inc., is aware of a claim, the product names appear in initial capital or ALL CAPITAL LETTERS. Readers, however, should contact the appropriate companies for more complete information regarding trademarks and registration. This book is printed on acid-free paper. Copyright © 2002 by John Wiley & Sons, Inc. All rights reserved. Published by John Wiley & Sons, Inc. Published simultaneously in Canada. No part of this publication may be reproduced, stored in a retrieval system or transmitted in any form or by any means, electronic, mechanical, photocopying, recording, scanning or otherwise, except as permitted under Sections 107 or 108 of the 1976 United States Copyright Act, without either the prior written permission of the Publisher, or authorization through payment of the appropriate per-copy fee to the Copyright Clearance Center, 222 Rosewood Drive, Danvers, MA 01923, (978) 750-8400, fax (978) 750-4744. Requests to the Publisher for permission should be addressed to the Permissions Department, John Wiley & Sons, Inc., 605 Third Avenue, New York, NY 10158-0012, (212) 850-6011, fax (212) 850-6008, E-Mail: <PERMREQ @ WILEY.COM>. This publication is designed to provide accurate and authoritative information in regard to the subject matter covered. It is sold with the understanding that the publisher is not engaged in professional services. If professional advice or other expert assistance is required, the services of a competent professional person should be sought. Library of Congress Cataloging-in-Publication Data: ISBN: 0-471-20708-X Printed in the United States of America. 10 9 8 7 6 5 4 3 2 1 ACKNOWLEDGMENTS First and foremost, I'd like to thank my wife Kiley Hightower for putting up with me on this tight schedule. I spent many a night at a coffee shop with my laptop working until the coffee shop closed. I really appreciate working with Tim Ryan at Ryan Publishing Group. He orchestrated the work of the editor, contributing authors, co-authors, technical editors, and made this a painless and smooth operation for the authors and team. In addition, Tim provided advice and asked the right questions to guide the book along from the very beginning to the very end. Tim is a true professional. Thanks! Kudos to my co-author Nicholas Lesiecki! When I put together the outline of this book and pitched it to Tim Ryan, Wiley was excited about the project and put it on the finish-darn-quick list. I agreed to an aggressive schedule, and even considered taking time off from work to complete it, but decided not to. Nick was able to bail me out by stepping up to the plate and taking on a lot of responsibility, and eventually he became the co- author of the book. Thanks Nick. 2 Much thanks to Scott Fauerbach! Scott went over the pet store baseline application and simplified it a lot. Originally it was very abstract, but a little difficult to understand. Scott ripped through it and simplified it. Together we made it as simple as possible. Scott and I have been on several teams at several companies— we work well together. Scott also did an excellent job on the session bean case study for the business tier of the Pet store application. Thanks, Scott. Erik Hatcher is a wealth of information on Ant and JUnit. I consulted him many times. It was great having the FAQ moderator for Ant in the office next to you when you are having problems with Ant. Thanks Erik for all of the support. I'd like to thank Andy Barton for allowing me to host the Web site for the book for free, and Ron Tapia and Chris Lechner for setting up the site. Also, Ron helped me debug problems when porting the application from SQL Server to Hypersonic SQL. Thanks to Jon Thomas and Paul Visan for stepping up to the plate and taking on case studies. I would like to thank all of the contributing authors, Paul Visan, Erik Hatcher, Jon Thomas and Douglas Albright. I'd also like to thank Mary Hightower & Richard Hightower (Mom and Dad), Mrs. Wooten my third grade school teacher, and Whitney High-tower for understanding. Last, but not least, I'd like to thank Avery Regier and Tiffany Taylor for editing the book. Avery was the technical editor, and in my opinion he went above and beyond the call of duty. He had great suggestions and was able to contribute ideas that were readily incorporated into the book. Thanks, Avery. Tiffany, the copyeditor, found every misplaced tab and run on sentence—any remaining mistakes I take full credit for. Let's just say Tiffany had her work cut out for her. Thanks, Tiffany. ABOUT THE AUTHORS Rick Hightower is the Director of Development at eBlox, where he leads the adoption of new processes like Extreme Programming, and helps implement coding standards and guidelines for development. Rick is a software developer at heart with over a decade of development experience in creating frameworks & tools, enforcing processes, and developing enterprise applications using J2EE, XML, UML, CORBA, JDBC, SQL, and Oracle technologies. Formerly he was the Senior Software Engineer for Java Architecture at Intel's Enterprise Architecture Lab; there he lead a team of developers, designing and implementing three tier client-server applications, introduced O-O CASE tools to his department, and later created several frameworks using a variety of Java, COM, CORBA, middleware technologies. Rick also created ICBeans and authored the patent application for this technology, which was awarded to Intel. Rick has contributed to several Java books and written articles for the Java Developer's Journal. He has also taught classes on developing Enterprise JavaBeans, JDBC, CORBA, Applets as CORBA clients, and EJB. Nicholas Lesiecki serves eBlox as a Technical Team Lead where he takes charge of team development and architects the company's vertical application framework. Hired as an intern in the middle of the dot-com boom, he has since become a Java master, boasting the 5th highest Java 1 score in the nation according to Brainbench.com. He maintains active committer status on Jakarta's Cactus project and constantly looks for ways to improve code structure through testing and vigorous refactoring. Nick resides in the heart of Tucson Arizona where the fire-play in the sky at sunset sweeps through his mind and washes strange objects upon the shores of his memory. He lives with his wife Suzanne and their two "children"—Edgar the Dog and Juno the Wonder Cat. All three should be fairly regarded as contributors because of their generous donations of Nick's time. Nick loves his wife very much. About the Contributors Doug "Chakka" Albright is a software developer who wrote the Ant tag reference. Jon Thomas is a Senior Systems Engineer for HealthTrio in Tucson AZ. Prior to HealthTrio he developed Products for eBlox, SimplySay (Voice Portal) and GroupSystems.com, in both Java and VB. Originally from Los Angeles he "escaped" to the hidden jewel of the southwest in 1995. He lives in Tucson with his family, where he writes software, prays everyday, and cheers for the Minnesota Vikings (proof that not all prayers are answered the way we want them to be.) Jon wrote the Ant API reference. In addition, Jon wrote the case study that converted the Pet store sample application to use XML/XSL for the presentation. Erik Hatcher has more than 10 years of software development experience, most recently with J2EE. He is a Sun Certified Java Programmer, actively involved in Apache's Jakarta efforts, and is the Ant FAQ maintainer at jGuru. Erik is currently a Senior Java Architect for the University of Virginia's Darden Graduate School of Business Administration." He wrote the case study on using HttpUnit. In addition, he provided a technical support for using Ant when we ran into snags. Paul Visan is a Technical Lead for eBlox, Inc doing exciting J2EE development. He comes from Romania, where he was a close acquaintance of Vlad 'Dracul' a.k.a. 'Dracula' in the western world." He converted the Pet store application to use Struts, and the HttpUnit code to test both the straight JSP version and the Struts 3 version of the application. In addition, he wrote the case study explaining the struts conversion of the pet store application. Scott Fauerbach is a principal software engineer who specializes in software frameworks and development tools in both the user interface and server side realms of Java.
Recommended publications
  • Full-Graph-Limited-Mvn-Deps.Pdf
    org.jboss.cl.jboss-cl-2.0.9.GA org.jboss.cl.jboss-cl-parent-2.2.1.GA org.jboss.cl.jboss-classloader-N/A org.jboss.cl.jboss-classloading-vfs-N/A org.jboss.cl.jboss-classloading-N/A org.primefaces.extensions.master-pom-1.0.0 org.sonatype.mercury.mercury-mp3-1.0-alpha-1 org.primefaces.themes.overcast-${primefaces.theme.version} org.primefaces.themes.dark-hive-${primefaces.theme.version}org.primefaces.themes.humanity-${primefaces.theme.version}org.primefaces.themes.le-frog-${primefaces.theme.version} org.primefaces.themes.south-street-${primefaces.theme.version}org.primefaces.themes.sunny-${primefaces.theme.version}org.primefaces.themes.hot-sneaks-${primefaces.theme.version}org.primefaces.themes.cupertino-${primefaces.theme.version} org.primefaces.themes.trontastic-${primefaces.theme.version}org.primefaces.themes.excite-bike-${primefaces.theme.version} org.apache.maven.mercury.mercury-external-N/A org.primefaces.themes.redmond-${primefaces.theme.version}org.primefaces.themes.afterwork-${primefaces.theme.version}org.primefaces.themes.glass-x-${primefaces.theme.version}org.primefaces.themes.home-${primefaces.theme.version} org.primefaces.themes.black-tie-${primefaces.theme.version}org.primefaces.themes.eggplant-${primefaces.theme.version} org.apache.maven.mercury.mercury-repo-remote-m2-N/Aorg.apache.maven.mercury.mercury-md-sat-N/A org.primefaces.themes.ui-lightness-${primefaces.theme.version}org.primefaces.themes.midnight-${primefaces.theme.version}org.primefaces.themes.mint-choc-${primefaces.theme.version}org.primefaces.themes.afternoon-${primefaces.theme.version}org.primefaces.themes.dot-luv-${primefaces.theme.version}org.primefaces.themes.smoothness-${primefaces.theme.version}org.primefaces.themes.swanky-purse-${primefaces.theme.version}
    [Show full text]
  • PATS 1.0 Systems Management Guide
    PATIENT ADVOCATE TRACKING SYSTEM (PATS) Systems Management Guide April 2013 Department of Veterans Affairs Office of Enterprise Development (OED) Patient Advocate Tracking System (PATS) This page is left blank intentionally ii Systems Management Guide 1.8 04-04-2013 Patient Advocate Tracking System (PATS) Revision History The following table displays the revision history for this document. Date Revision Description Author 04/11/07 Initial REDACTED 6-2-09 1.1 Updated information pertaining to KAAJEE REDACTED Upgrade 10-30-09 1.2 Updated the formatting of the document. REDACTED Changed the logo. Added the boilerplate ROC resolution text clarification. 10-07-2010 1.3 Updated information on SDS, VistALink REDACTED version and HSI name change 08-12-2010 1.4 Removed link and exemplary connection REDACTED information 06-08-2011 1.5 Corrected the misspelling in the database REDACTED job, added information regarding the root context. 11-21-11 1.6 Updated formatting of the document, REDACTED Updated Oracle version information 04-01-2013 1.7 Added PAD servlet information detailing REDACTED automatic ROC generation 04-04-2013 1.8 Updated document with ESE – HIS group REDACTED rename. 04-04-2013 Systems Management Guide 1.8 iii Patient Advocate Tracking System (PATS) This page is left blank intentionally iv Systems Management Guide 1.8 04-04-2013 Patient Advocate Tracking System (PATS) Table of Contents Introduction ................................................................................................................................... 1
    [Show full text]
  • Computational REST: a New Model for Decentralized, Internet-Scale Applications
    UNIVERSITY OF CALIFORNIA, IRVINE Computational REST: A New Model for Decentralized, Internet-Scale Applications DISSERTATION submitted in partial satisfaction of the requirements for the degree of DOCTOR OF PHILOSOPHY in Information and Computer Science by Justin Ryan Erenkrantz Dissertation Committee: Professor Richard N. Taylor, Chair Professor Debra J. Richardson Professor Walt Scacchi 2009 Portions of Chapters 2,3,4,5 adapted from “From Representations to Computations: The Evolution of Web Architectures,” in Proceedings of the 6th Joint Meeting of the European Software Engineering Conference and the ACM SIGSOFT Symposium on the Foundations of Software Engineering (September, 2007) © ACM, 2007. http://doi.acm.org/10.1145/1287624.1287660 Used with permission under Section 2.5 “Rights Retained by Authors” of the ACM Copyright Policy All other content © 2009 Justin Ryan Erenkrantz ii DEDICATION to Mom and Dad who always gave their unwavering love even when their son chose the hard road iii TABLE OF CONTENTS Page LIST OF FIGURES vi LIST OF TABLES viii ACKNOWLEDGEMENTS ix CURRICULUM VITAE xii ABSTRACT OF THE DISSERTATION xv INTRODUCTION 1 CHAPTER 1: Architectural Styles of Extensible RESTful Applications 8 Software Architecture and Frameworks 8 Software Architecture in the World Wide Web 9 Representational State Transfer 10 Selecting Appropriate REST-based Applications 14 Framework Constraint Prism 15 REST Constraints 18 Architectural Characteristic Matrix 19 Origin Servers 19 User Agents 40 Libraries and Frameworks 70 Constructing RESTful
    [Show full text]
  • Curriculum Vitae Dr. Silvano Maffeis
    mailto:silvano(AT)maffeis(DOT)com http://www.maffeis.com/ Born in Männedorf/ZH Swiss citizen Curriculum Vitae Dr. Silvano Maffeis My strengths are in the design and implementation of innovative IT systems, for solving real-world problems in the field of web information systems and mobile financial services. I’m considered an expert in distributed computing systems, middleware, Web Services, Java, and mobile apps. Besides my technology skills, I have successfully managed software projects, IT departments, and technology startups. I’m a hands-on person who loves to roll back his sleeves to carry out software development and DevOps activities. Work Experience 6/2019-present Fabrick S.p.a. Milano, IT Chief Technology Officer . Fabrick platform architecture design and implementation . Head R&D Solutions 2/2003-6/2019 Vipera GmbH Zürich / Milano / London / Dubai Co-Founder and Chief Technology Officer . Inventor of Vipera mobile application platform . Architect and lead developer of a mobile social network . Architect and lead developer of a mobile banking solution . Technical lead in design, development, and operation of mobile data services based upon JavaEE, JavaME, Android, iOS, BB OS, OSGi, Linux, JBoss, Apache, and MySQL . On-site development of Vipera solutions in Asia and Middle East . Customer support and IT systems support . Fund raising, business administration, solution selling in Asia, Europe, US 2/2003–3/2005 Pyx Engineering AG Zürich, CH Software Architect / Consultant (80%) . Design and implementation of mission critical software systems based on Oracle DB, Oracle AS, IBM WebSphere, JMS, Apache HTTP server, Tomcat, JBoss, Java, PL/SQL, SOAP, OpenLDAP, Linux, Solaris, Win32 .
    [Show full text]
  • PATS 1.0 Systems Management Guide
    PATIENT ADVOCATE TRACKING SYSTEM (PATS) Systems Management Guide April 2013 Department of Veterans Affairs Office of Enterprise Development (OED) Patient Advocate Tracking System (PATS) This page is left blank intentionally ii Systems Management Guide 1.8 04-04-2013 Patient Advocate Tracking System (PATS) Revision History The following table displays the revision history for this document. Date Revision Description Author 04/11/07 Initial Susan Bunker PATS Developers: Patrick Brady, Daryl Krauter, Adam Nisenbaum, Tami Winn Don Morgan, PM 6-2-09 1.1 Updated information pertaining to KAAJEE Padma Upgrade Subbaraman Developer 10-30-09 1.2 Updated the formatting of the document. Arsen Mikhailutsa, Changed the logo. Developer Added the boilerplate ROC resolution text clarification. 10-07-2010 1.3 Updated information on SDS, VistALink Arsen Mikhailutsa, version and HSI name change Developer 08-12-2010 1.4 Removed link and exemplary connection Arsen Mikhailutsa, information Developer 06-08-2011 1.5 Corrected the misspelling in the database Arsen Mikhailutsa, job, added information regarding the root Developer context. 11-21-11 1.6 Updated formatting of the document, Arsen Mikhailutsa, Updated Oracle version information Developer 04-01-2013 1.7 Added PAD servlet information detailing Joshua Faulkner, automatic ROC generation Developer 04-04-2013 1.8 Updated document with ESE – HIS group Arsen Mikhailutsa, rename. Developer 04-04-2013 Systems Management Guide 1.8 iii Patient Advocate Tracking System (PATS) This page is left blank intentionally iv Systems Management Guide 1.8 04-04-2013 Patient Advocate Tracking System (PATS) Table of Contents Introduction............................................................................................................................... 1 1.0 PATS Application ...............................................................................................................
    [Show full text]
  • ASF FY2021 Annual Report
    0 Contents The ASF at-a-Glance 4 President’s Report 6 Treasurer’s Report 8 FY2021 Financial Statement 12 Fundraising 14 Legal Affairs 19 Infrastructure 21 Security 22 Data Privacy 25 Marketing & Publicity 26 Brand Management 40 Conferences 43 Community Development 44 Diversity & Inclusion 46 Projects and Code 48 Contributions 65 ASF Members 72 Emeritus Members 77 Memorial 78 Contact 79 FY2021 Annual Report Page 1 The ASF at-a-Glance "The Switzerland of Open Source..." — Matt Asay, InfoWorld The World’s Largest Open Source Foundation The Apache Software Foundation (ASF) incorporated in 1999 with the mission of providing software for the common good. Today the ASF is the world’s largest Open Source foundation, stewarding 227M+ lines of code and providing $22B+ worth of software to the public at 100% no cost. ASF projects are integral to nearly every aspect of modern computing, benefitting billions worldwide. Change Agents The ASF was founded by developers of the Apache HTTP Server to protect the core interests of those contributing to and using our open source projects. The ASF’s all-volunteer community now includes over 8,200 committers, involved in over 350 projects that have been organized by about 200 independent project management committees, and is overseen by 850+ ASF members. The Foundation is a globally-distributed, virtual organization with contributors on every continent. Apache projects power countless mission-critical solutions worldwide, and have spearheaded industry breakthroughs in dozens of categories, from Big Data to Web Frameworks. More than three dozen future projects and their communities are currently being mentored in the Apache Incubator.
    [Show full text]
  • Petar T. Tahchiev Geo Milev Housing Estate, Block 255, Apt
    Petar T. Tahchiev Geo Milev Housing Estate, Block 255, apt. 30, Sofia 1113, GSM: (+359) 885 740 222, e-mail: [email protected], Objective A full-time(part-time) software development position related with e-commerce and/or devel- oping web-based applications(JSP, Servlets, Struts, Spring . ), etc. I would be interested in hearing from you if you found my abilities to be a potential fit. Personal Date of birth: 12 Jul 1984 Information Marital Status: Single Cityzenship: Bulgarian Driver License: Category B Experience Phamola Ltd. Senior Hybris Developer Sofia, Bulgaria Jun 2009 - present Co-founder, and senior hybris developer at Phamola Ltd. Phamola is a startup company focused on the european e-commerce market. My responsibilities included design, implemen- tation, testing and maintenance of client's Hybris projects. Apache Software Foundation (ASF Apache Maven developer Amsterdam, The Netherlands Jan 2009 - present Part of the Maven development team. Responsible for design, implementation, testing and maintanace of the maven-assembly-plugin. Unic B.V Senior Hybris Architect Amsterdam, The Netherlands Dec 2008 - Jun 2010 Design, implementation, testing and maintanance of internet e-commerce applications. Imple- mentation with Hybris PIM system, J2EE software and open-source-tools (Apache Ant, JUnit, Apache Tomcat, Apache MyFaces, Spring MVC, . ). Manning Publications Author Sofia, Bulgaria Jun 2008 - Jun 2010 Author of the "JUnit in Action, second edition" book. The book deals with the unit testing library, as well as it's extensions. Included are unit, integration and functional testing of every layer of a sample application. Hewlett Packard Global Delivery J2EE Techical Consultant Service Sofia, Bulgaria - Dusseldorf, Germany Oct 2007 - Dec 2008 Part of the EMEA C&I development team.
    [Show full text]
  • Hill, R. B.S.I.E.T. 2005.Pdf
    Cintas Skills Experience and Tools Application (SkillET) By Richard Hill Submitted to the Faculty of the Information Engineering Technology Program in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Computer Science Technology University of Cincinnati College of Applied Science May, 2005 Cintas Skills Experience and Tools Application (SkillET) By Richard Hill Submitted to the Faculty of the Information Engineering Technology Program in Partial Fulfillment of the Requirements for the Degree of Bachelor of Science in Computer Science Technology © Copyright 2005 Richard Hill The author grants to the Information Engineering Technology Program permission to reproduce and distribute copies of this document in whole or in part. ___________________________________________________ __________________ Richard Hill Date ___________________________________________________ __________________ Prof. Tom Wulf, Faculty Advisor Date ___________________________________________________ __________________ Pat Kompf, Department Head Date ii Acknowledgement I would like to extend a special acknowledgement to the Cintas Corporation for their aid in funding this project and providing the resources to use during its execution. I would like to specially recognize members of their Application Development Consulting Team. These members are Linc Kroeger, Matt Arnett, Casey James and Lahai Karmo. They were all invaluable resources during the development of this project and have truly made working at Cintas a unique and rewarding experience. Their input for design and recommended features was critical in producing a quality product. I would also like to acknowledge Christopher Judd, whose mentoring has made me a far better developer. i Dedication To Maria – without your constant support and encouragement I wouldn’t be here today. ii Table of Contents Section Page Acknowledgements i Dedication ii Table of Contents iii List of Figures iv Abstract v 1.
    [Show full text]
  • Pekowsky-138003 Book December 8, 2004 19:38 ACCEPT Filters, 243, 245 Action Sets in Cocoon, 546 Action Tag, 517 Actionerror Clas
    Pekowsky-138003 book December 8, 2004 19:38 Index ACCEPT filters, 243, 245 addDocument method, 329 Action sets in Cocoon, 546 addEqualTo method, 215 action tag, 517 addFileset method, 40–41 ActionError class, 513 addFilter method, 289 ActionForm class, 513 addHandler method, 557–558 ActionMapping class, 513 addInput method, 289 Actions and action field Addition in Expression Language, 474 in Cocoon, 545–548 AddObjectCreate method, 276, 283 in Tomcat, 432 addOption method, 262, 270–271 ActionServlet servlet, 508–509, 516 addOutput method, 289 activateOptions method addSetProperties method, 276 in ExecAppender, 254–255 addSquares method, 396, 403 in Layout, 242 addTest method, 79 Add menu in JMeter, 119–120 addTestSuite method, 79 add method addThree function, 402 in BooleanQuery, 331 addToIndex method, 328 in Calc, 395 admin role, 429 in CalcInterface, 553–554 Administration, web-based, 461–462 in CalcServlet, 101 Album class, 136, 274–275 in Demo, 408 AlbumProxy class, 218 for filters, 284 albums.html page, 544–545 in Query, 330 Aliases testing, 111 in hsqldb, 178 validating, 506 in keytool, 438 AddAlbum method, 274 Analyzers for searches, 324–326, 336 addArgument method, 283, 285, 292 AND operator, 332, 334 addArtist method, 274, 276 Angle brackets (<>) in regular addColumnEqualTo method, 215 expressions, 304 559 Pekowsky-138003 book December 8, 2004 19:38 560 Index annotation property, 145 AppenderSkeleton class, 253 ant-jmeter.jar file, 127 Application development, 5–6 Ant tool, 11–13 Java modularity in, 6–8 built-in tasks in, 27–28 Model/View/Controller model, 8–9 AntCall, 28 application parameter for ActionServlet, 509 Copy, 28–29 Application servers.
    [Show full text]
  • Java Extreme Programming
    TutorialTutorial AntAnt && JUnitJUnit QualidadeQualidade ee produtividadeprodutividade emem projetosprojetos JavaJava Helder da Rocha www.argonavis.com.br Objetivos Como resultado deste minicurso você deverá ser capaz de Justificar a necessidade e os benefícios de investir na criação e realização de testes de unidade em projetos Java Usar o framework JUnit para ajudar a desenvolver código Java de melhor qualidade Usar a ferramenta Jakarta Ant para automatizar a construção de seus projetos Java Usar o Jakarta Cactus (extensão do JUnit) para testar a integração de aplicações J2EE www.argonavis.com.br 2 Roteiro deste tutorial Parte I: Automação de testes de unidade Tutorial JUnit Extensões do JUnit Demonstrações Parte II: Automação do processo de construção (build) Tutorial Ant Ant & JUnit integrados Demonstrações Parte III: automação de testes em aplicações Web Cactus e HttpUnit Conclusões Código-fonte usado nas Fontes demonstrações estará disponível para download! www.argonavis.com.br 3 AutomaAutomaçãçãoo dede TestesTestes dede UnidadeUnidade comcom JUnitJUnit www.junit.org JUnit: o que é? JUnit é um framework que facilita o desenvolvimento e execução de testes de unidade em código Java Uma API para construir os testes Aplicações para executar testes A API Classes Test, TestCase, TestSuite, etc. oferecem a infraestrutura necessária para criar os testes Métodos assertTrue(), assertEquals(), fail(), etc. são usados para testar os resultados Aplicação TestRunner Roda testes individuais e suites de testes Versões texto, Swing e AWT. www.argonavis.com.br
    [Show full text]
  • KAAJEE) VERSION 1.2.0 and SECURITY SERVICE PROVIDER INTERFACE (SSPI) VERSION 1.2.0
    KERNEL AUTHENTICATION & AUTHORIZATION FOR J2EE (KAAJEE) VERSION 1.2.0 and SECURITY SERVICE PROVIDER INTERFACE (SSPI) VERSION 1.2.0 FOR WEBLOGIC (WL) VERSIONS 10.3.6 AND HIGHER DEPLOYMENT GUIDE July 2020 Department of Veterans Affairs Office of Information and Technology Product Development This page is left blank intentionally. Revision History Documentation Revisions The following table displays the revision history for this manual. Revisions to the documentation are based on patches and new versions released to the field. Table i. Documentation revision history Date Description Author(s) 07/2020 Software and documentation for KAAJEE 1.2.x.x, HPS Admin Single Sign-On Web Application Plugin (SSOWAP) 1.1.0.xxx and KAAJEE Security Service Provider REDACTED Interface (SSPI) 1.2.0.005 referencing VistALink 1.6 and WebLogic 10.3.6 and higher. Kernel Patches: XU*8.0*694 and XU*8.0*696 03/2011 Software and documentation for KAAJEE 1.1.0.007 Product Development Services and KAAJEE Security Service Provider Interface Security Program HWSC (SSPI) 1.1.0.002, referencing VistALink 1.6 and development team. WebLogic 9.2 and higher. Bay Pines, FL OIFO: Software Version: 1.1.0.007 • REDACTED Security Service Provider Interface (SSPI) Version: 1.1.0.002 Oakland, CA OIFO: Kernel Patch: XU*8.0*504 REDACTED 05/2006 Initial software and documentation for Kernel ISS KAAJEE Development Team, Authentication and Authorization Java (2) Enterprise Oakland, CA Oakland Office of Edition (KAAJEE) 1.0.0.019 and KAAJEE SSPIs Information Field Office (OIFO): 1.0.0.010, referencing VistALink 1.5 and WebLogic 8.1 (SP4 or higher).
    [Show full text]