Browse Prior Art Database

BeanTester: A Web Application for Testing Server-Side Java Beans

IP.com Disclosure Number: IPCOM000013969D
Original Publication Date: 2001-Nov-01
Included in the Prior Art Database: 2003-Jun-19

Publishing Venue

IBM

Abstract

Developers of server-side Java Web applications require an easy way to test Java bean components. The BeanTester lets developers easily test the Java bean components they are developing or using in their applications. The BeanTester can be used to test any Java bean class or serialized object. The BeanTester is fully dynamic in the sense that no code generation is required. Without using a tool like the BeanTester, the developer would have to write a test client by hand. With the BeanTester, any bean can be immediately tested. The BeanTester is very easy to use since it is dynamic. The developer simply specifies the name of the bean as a request parameter to the BeanTester which then introspects the bean and presents a Web based user interface that lets the developer select a method to test, enter input parameters, invoke the method, and display the result. For example, suppose a Web Service named TemperatureConverter is being developed. To test this service, the developer deploys it, generates a client proxy Java bean named, e.g., weather.app.proxies.TemperatureConverterProxy, deploys the proxy to the BeanTester application, and invokes the BeanTester using the following URL: http://localhost:8080/WeatherDemo/test/testclient.jsp?beanName=weather.app.proxies.Tem