Use WTE "early and often."
“尽早并且经常”使用WTE。
Add WTE to the WorkBench, as follows.
将WTE添加到“工作台”(WorkBench),如下所示。
Make sure the WTE project is also checked.
确认也选中了 WTE 工程。
If you do not see the entry for WTE, it isn't installed.
如果您没看到WTE条目,那就是没安装WTE。
Start the WTE, as shown in Figure 5 above, for testing servlets.
启动WTE,如上面的图5所示,对servlet进行测试。
There are two main scenarios for using WTE to test you code artifacts.
这里有两种场景您要使用 WTE 来测试您的代码构件。
The two main components of WTE are the servlet engine and the name server.
WTE 的两个主要组件是 servlet 引擎和名称服务器。
The WTE is supposed to be used for testing smaller scale of applications.
WTE旨在用于测试小型应用程序。
Since you have updated the WTE server configuration, you must restart the WTE server.
由于您已经更新了WTE服务器配置,因此必须重新启动WTE Server。
Make sure that global security is enabled and configured correctly for this WTE server.
确保WTE服务器上的全局安全性已启用并正确配置。
Figure 4. WTE Server menu for creating database tables and a corresponding data source.
图4 .用来创建数据库表和相应数据源的WTE服务器菜单。
Start your WTE server and then try to access a protected resource in your Web application.
启动WTE服务器然后尝试访问Web应用程序中被保护的资源。
The instructions below show you how to run a server-side artifact, namely an EJB, within WTE.
下面的指示说明了您如何在 WTE 内部运行一个服务器端的构件,其实就是一个 EJB。
With WTE, you need not rely on or interrupt the production server for testing enterprise components.
使用WTE,您不必依赖或中断产品服务器就可测试企业组件。
One way, which is common to both WTE and a production WebSphere environment, is to use the admin console.
第一种方法是使用管理控制台,这是WTE和生产WebSphere环境中的通常方法。
WTE simplifies the creation of database tables and data sources that may be required in a J2EE application.
WTE简化了数据库表和J2EE应用程序中使用的数据源的创建。
If you click DataSource, you can add the data source that you want WTE to use to connect to supported databases.
如果单击DataSource,您可以添加一个您希望WTE使用的数据源,WTE用这个数据源连接支持的数据库。
Alternatively, WTE lets you test, debug, and profile applications on remote WebSphere application Server installations.
作为另一种选择,WTE允许您在远程WebSphere Application Server上测试、调试和概要分析应用程序。
Developers also like WTE because any code that is changed during testing is automatically incorporated into the original code.
开发者也喜欢wte,因为在测试期间更改的任何代码都会自动并入原始代码中。
Using WTE in the development environment makes for easier testing and integration of the application into the production server.
在开发环境中使用WTE使得测试以及将应用集成到产品服务器更加容易。
The WTE Server Configuration editor is a simplification of the Administration Console normally used by WebSphere administrators.
WTE 服务器配置编辑器是 WebSphere 管理员通常使用的管理控制台的一个简化。
It not only offloads your own WTE, but you can also improve the build time so that fewer Numbers of artifacts are added to the workspace.
它不仅可以卸载您自己的WTE,您还可以减少添加到工作空间的工件数量,从而减少构建时间。
Of course, WTE facilitates execution in debug mode for problem analysis and bug fixing, and in profile mode for performance testing.
当然,WTE通过使用用于分析问题和修复bug的调试模式和用于性能测试的概要分析模式使执行变得更加容易。
In addition, only with WTE can your J2EE applications take advantage of features and extensions that go beyond the basic J2EE specifications.
另外,只有在WTE中,您的J2EE应用程序才可以利用基本J2EE规范之外的特性和扩展。
If the application running either in the WTE or in a production environment has problems, you must enable the diagnostic trace in one of two ways.
如果在WTE或在生产环境中运行的应用程序出现问题,您必须用以下两种方法中的一种来启用诊断跟踪。
WTE simulates a production WebSphere Application Server environment so that you can test, debug, and profile J2EE applications as you develop them.
WTE 模拟了 WebSphere Application Server 的生产环境,因此您可以同开发那样来测试、调试和概要分析 J2EE 应用程序。
Among the various Application Developer test environments, WTE is the most complete test environment and offers the tightest integration with the IDE.
在各种Application Developer测试环境中,WTE是最完整的测试环境,并且提供了与ide最紧密的集成。
Results from testing, debugging, and profiling applications in WTE are the same as if you used a production WebSphere application Server installation.
在WTE中测试、调试和概要分析应用程序的结果与在WebSphere Application Server产品中是一样的。
However, WTE facilities have several constraints: They are strongly opposed by residents in the proximity who do not want a WTE plant in their neighborhood (NIMBY).
但是,WTE设备有一些局限性:居住在WTE工厂附近的居民不愿意它被建在小区内(NIMBY),他们会持强烈反对意见。
Only WTE provides the tools and run times bundled with application Developer so that you can test, debug, and profile J2EE applications fully and seamlessly from within application Developer.
只有WTE提供了绑定在Application Developer中的工具和运行时环境,因此您可以在Application Developer内部完整、无缝的测试、调试和概要分析J2EE应用程序。