Testing applications on a server

You can use the server tools to test one or more projects.

Testing artifacts on a server
You can use the server tools to test one or more application artifacts on an application server.

Testing J2EE Application Clients
J2EE application clients are like regular Java applications. They contain a main() method that is executed, and they continue executing until the client virtual machine terminates. They can be run as typical "fat client" applications, to display a GUI that connects to a set of EJBs for persistence and business logic, or as server applications that provide services over the network. However, a J2EE application client has several advantages over regular Java applications, because it runs within a lightweight server container. This container can provide the application client with services that used to be available only to other J2EE components.

Testing enterprise beans in the universal test client
The server tools provide you with a Web-based Universal Test Client where you can test your enterprise beans and other Java objects. Using this test client, you can test the local or remote interface methods of your enterprise beans. By calling the methods and passing user-defined arguments, you can test the methods to ensure that they work correctly.

Creating tables and data sources automatically to test CMP beans
The table and data source creator provides an automated way to test CMP enterprise beans without needing to worry about the persistence mechanism or how to configure a data source. You can test CMP beans as easily as session beans without having to create a data source or database tables.

Testing J2EE application clients
J2EE application clients are like regular Java applications. They contain a main() method that is executed, and they continue executing until the client virtual machine terminates. They can be run as typical "fat client" applications, to display a GUI that connects to a set of EJBs for persistence and business logic, or as server applications that provide services over the network. However, a J2EE application client has several advantages over regular Java applications, because it runs within a lightweight server container. This container can provide the application client with services that used to be available only to other J2EE components.