Comments
Richard Davies wrote: The UK has a good crop of technology pioneers in cloud computing - for example ElasticHosts, FlexiScale, Flexiant, OnApp - and also some strong government initiatives such as G-Cloud. We will have to see whether this kind of technical leadership converts into swift mass-market adoption or not.
Cloud Expo on Google News


2008 West
DIAMOND SPONSOR:
Data Direct
SOA, WOA and Cloud Computing: The New Frontier for Data Services
PLATINUM SPONSORS:
Red Hat
The Opening of Virtualization
GOLD SPONSORS:
Appsense
User Environment Management – The Third Layer of the Desktop
Cordys
Cloud Computing for Business Agility
EMC
CMIS: A Multi-Vendor Proposal for a Service-Based Content Management Interoperability Standard
Freedom OSS
Practical SOA” Max Yankelevich
Intel
Architecting an Enterprise Service Router (ESR) – A Cost-Effective Way to Scale SOA Across the Enterprise
Sensedia
Return on Assests: Bringing Visibility to your SOA Strategy
Symantec
Managing Hybrid Endpoint Environments
VMWare
Game-Changing Technology for Enterprise Clouds and Applications
Click For 2008 West
Event Webcasts

2008 West
PLATINUM SPONSORS:
Appcelerator
Get ‘Rich’ Quick: Rapid Prototyping for RIA with ZERO Server Code
Keynote Systems
Designing for and Managing Performance in the New Frontier of Rich Internet Applications
GOLD SPONSORS:
ICEsoft
How Can AJAX Improve Homeland Security?
Isomorphic
Beyond Widgets: What a RIA Platform Should Offer
Oracle
REAs: Rich Enterprise Applications
Click For 2008 Event Webcasts
SYS-CON.TV
Top Links You Must Click On


Product Review: Bean-Test 3.1
Product Review: Bean-Test 3.1

In this new era of rapid application development (RAD), there's an ever-increasing push to get applications into production without adequate testing. This methodology does meet deadlines, but it can also lead to serious implications for your business's future. For example, many Internet companies deploy applications that lack the ability to handle high loads, or their applications aren't scalable enough to grow with the increasing demands of the business. With a little testing these simple mistakes can be caught before an application goes into production.

I've been developing applications since 1996 and have seen an increasing trend within many development teams to rush a product out the door without adequate testing. Recently I reviewed a new version of a testing tool named Bean-test from Empirix, Inc. Bean-test is an application tool built from the ground up to test your EJBs on BEA WebLogic, IBM WebSphere, Bluestone's Total-e-Server application servers, or any other EJB 1.1 application server.

Installation of Bean-test is straightforward. Since it's built using 100% Java, installation of the server and associated client agents are relatively simple on many platforms. Once the installation is complete, starting Bean-test on Windows is a breeze. Within a matter of seconds the Bean-test user interface pops up in your default Web browser, and you're ready to begin testing EJBs.

Getting Started with Bean-test: Sample EJBs
Empirix provides an excellent tutorial session on using the demo beans. During your evaluation period you have the option of spending one hour with an Empirix representative who will show you the entire program and how to generate a test case.

To use the demo beans you need to deploy them to your application server; in my case, I deployed them to a WebLogic 5.1.0 SP8 server running on the same machine. To deploy the sample beans to the application server, click on a file located in the Bean-test installation directory and add a couple of WebLogic JAR files to the Bean-test classpath configuration page. Now you're ready to begin generating test cases (see Figure 1).

Once the Bean-test user interface is loaded, you should first set up your servers. A neat feature within the Bean-test product is that you can install Bean-test clients (agents) on remote machines. In the setup tab you can add or configure the machines that will participate in the test process. With the agents you can specify the number of Java Virtual Machines (JVMs) that will be spawned on those machines as well as the weight of that system. This comes in handy if you have several machines with different amounts of memory or processing power, as it provides an accurate test of your EJB. Also, under the setup tab you can edit the application server properties. This enables you to add, delete, or modify application servers, classpath variables, and other information.

With Bean-test, project creation is easy and quick. You need to indicate the project name, select the type and version of application server you wish to use, and specify the classpath to the EJB JAR files that are installed on the application server. Once this is completed, Bean-test will automatically find and display the EJBs it found within your JAR files. You can even tell Bean-test to automatically create test cases for all the beans it finds. This is especially handy if you have 50 beans and wish to test them all.

Now that a test case has been generated, you can view the generated client code. A feature of Bean-test is that all code is generated in a standard open fashion, enabling you to either edit the client code using the built-in editor within the Bean-test UI, or load the file into your favorite development tool for further editing.

Bean-test is very flexible with regard to actual test data. For supplying test data you can choose between randomly generated data and data from a data table, or enter the data directly on the screen. Data tables are typically comma-delimited files and can be edited with any type of editor. This allows for greater control over the application data that will be supplied to your EJB.

Running the Test Case
If you have distributed clients set up, you can request the server to pack up the appropriate client files and ship them out to each remote client. When your tests are done, Bean-test's extensive reporting system allows you to see where problems can develop within your application. It enables you to also designate a test result as a baseline so you can compare different test results to gain insight as to how your EJBs perform under varying situations.

Bean-test by Empirix is a robust testing tool that's flexible enough to meet the testing needs of today's rapid development market. You can download an evaluation copy of Empirix's Bean-test product at www.empirix.com

About Cedrick W. Johnson
Cedrick W. Johnson works with object-oriented programming projects at Acxiom Corporation in Downers Grove, Illinois. Johnson is also studying computer science at
Northern Illinois University.

In order to post a comment you need to be registered and logged in.

Register | Sign-in

Reader Feedback: Page 1 of 1

Enterprise Open Source Magazine Latest Stories . . .
With Cloud Expo 2012 New York (10th Cloud Expo) just four months away, what better time to start introducing you in greater detail to the distinguished individuals in our incredible Speaker Faculty for the technical and strategy sessions at the conference... We have technical and st...
AMD said late Tuesday that its chief sales officer Emilio Ghilardi had left the company and that CEO and president Rory Read is going to do his job while a replacement is sought. AMD didn’t say why Ghilardi left but it’s assumed Read wants his own people. Read is relatively new to th...
During the lifespan of M3 (Monitis Monitor Manager) there has always been something lacking – timers. M3 execution procedure was outlined in this previous article. The execution mentioned in the latter was a one-time-execution, whereas server monitoring requires periodic invocati...
Red Hat is putting its bought-in Gluster scale-out NAS storage technology, acquired in October, on the Amazon cloud. It’s styled Red Hat Virtual Storage Appliance for Amazon Web Services and other clouds are supposed to follow in short order.
A new episode of the screencast series is now available at the OpenNebula YouTube Channel. This screencast demonstrates the new easily-customizable self-service portal for cloud consumers. Its aim is to offer a simplified access to shared infrastructure for non-IT end users. The scree...
C12G Labs has just announced an update release of OpenNebulaPro, the enterprise edition of the OpenNebula Toolkit. OpenNebula 3.2, released two weeks ago, brings important benefits to cloud providers with a new easily-customizable self-service portal for cloud consumers, and builders w...
Subscribe to the World's Most Powerful Newsletters
Subscribe to Our Rss Feeds & Get Your SYS-CON News Live!
Click to Add our RSS Feeds to the Service of Your Choice:
Google Reader or Homepage Add to My Yahoo! Subscribe with Bloglines Subscribe in NewsGator Online
myFeedster Add to My AOL Subscribe in Rojo Add 'Hugg' to Newsburst from CNET News.com Kinja Digest View Additional SYS-CON Feeds
Publish Your Article! Please send it to editorial(at)sys-con.com!

Advertise on this site! Contact advertising(at)sys-con.com! 201 802-3021


SYS-CON Featured Whitepapers
ADS BY GOOGLE