Java Testing And Design: From Unit Testing To Automated Web Tests

Preparing link to download Please wait... Download

E-Book Overview

This is a supremely useful book for software developers working on Java and J2EE-based Web-enabled applications, including Web Services. Frank Cohen is the "go-to" guy for enterprises needing to design, build, and test complex information systems. The author helps you go beyond learning the language to understand how design choices impact scalability, functionality, and performance. Your application might run perfectly in the lab, but it crashes in production. Or, you might already know Java, but you don't understand why your application runs so slowly. If that is the case, then this book will help you better understand your application and optimize it for maximum performance.

E-Book Content

Java Testing, Design, and Automation by Frank Cohen coming soon from Prentice Hall Publishing ISBN 0131421891 Abstract In Java Testing, Design, and Automation, Frank Cohen describes the architectural choices to build Web-enabled applications in Java and how each choice affects scalability and reliability. Cohen shows how to test and optimize these systems in the reader's own environment. Cohen goes further to describe the need for intelligent test agents in Web-enabled environments, describes a test agent framework with a tutorial on the latest Web test techniques, and presents TestMaker, a free open-source framework for building intelligent test agents to check Java-based Web software for performance, scalability and reliability. Cohen presents case studies and immediately useful code of how Elsevier Science, 2Wire, Sun Microsystems and BEA successfully use intelligent test agent technology to build scalable Java applications and assure confidence in their Web-enabled Java projects. Inside you will find in-depth discussion of powerful, proven Web-enabled Java architectures, construction techniques, immediately useful code and intelligent test agents to check Java applications in Web environments for scalability, functionality and reliability. Java and J2EE-based dynamic database-driven Web-enabled architectures Integrated applications using SOAP, XML-RPC, .NET, HTTP, HTTPS protocols J2EE and .NET Interoperability Problems Solved Performance Kits for developers in BEA WebLogic, IBM WebSphere, SunONE eCommerce Site Architecture and Optimization Secure Internet services using Public Key Infrastructure (PKI,) HTTPS, SSL Building with the next generation security technologies: WS-I, SAML, Liberty Avoiding and Solving Concurrency Problems Architecture, code, and test agents for J2EE, Java Web Services, P2P, .NET Easy to understand test scripts using Python/Jython and Java Extended architectures include email protocols (IMAP, SMTP, POP3) applications Java Testing, Design, and Automation, is going through copy edits and production and will be in stores in January 2004. 2 The Forces at Work Affecting Your Web-enabled Software Chap. 1 C H A P T E R 1 The Forces at Work Affecting Your Web-enabled Software In my experience, more than just the way you write code impacts Web-enabled application functionality, scalability and performance. Here are three forces working against your software development efforts: • Working within the software development, quality and information technology efforts at your company impacts functionality, scalability and performance. High quality interoperable Java code is developed in processes among groups of individuals. The first part of this book describes the organizational and social issues that impact functionality, scalability and performance. You will also learn immediately useful new processes and techniques to measure and improve scalability and performance. • The design and architecture choices (server software, protocols, schemas, platforms, hardware, routing) you make impacts functionality, scalability and pe