Asking users to type in the IATA code is a reasonable alternative to forcing them to scroll through hundreds of possible airports.
与要求用户滚动查找数百个可能的机场相比,要求他们输入IATA编码一个不错的替代方法。
An SOA offers the ability to leverage existing legacy applications, which is usually a cost-effective alternative to rewriting code.
SOA提供利用现有遗留应用程序的功能,通常是在重写代码时划算的选择。
One alternative was redoing all the code auditing and clearing of encumbrances on the 6 update workspaces.
一种选择是在OpenJDK6的升级工作空间内重做所有的代码审核和障碍清理工作。
Figure 2 illustrates a more robust alternative that relies on an application-defined object model to isolate the code that deals with XML in a Serialization package.
图2示范了一种更健壮的替代方案,它依靠应用程序定义的对象模型,将处理XML的代码隔离在Serialization包中。
Recommendation: We used Rational Performance Tester's Custom Code feature to create an alternative to the data pool method that wouldn't force all data to be loaded at once.
推荐:我们使用RationalPerformance Tester的定制代码特性,为数据池方法创建另一个选择,不强制一次性加载所有数据。
As this article has shown, Castor provides a sophisticated alternative to in-house solutions, which generally require you to maintain different SQL and JDBC code for each database you support.
如本文所显示的那样,Castor为内部解决方案提供了完善的替代方案,内部解决方案通常需要您为您支持的每个数据库维护不同的SQL和JDBC代码。
At least for now, wrapped operation methods are the only way to use JAXB with Axis2 code generation (but see the JAX-WS discussion, shortly, for an alternative approach).
至少在目前,封装操作方法是惟一可以将JAXB用于Axis2代码生成的方法(但请立刻参考一下JAX - WS讨论了解另一种替代方法)。
It may also be possible to manipulate the graphical notation as an alternative to editing the text-based code, so that the visual rendering becomes a direct representation of the code.
作为一种编辑基于文本代码的可选方式利用图形化的符号也是可能的,所以可视化的描写变成了一种代码的直接表示。
That is, if the application code itself is inefficient, then changing to an alternative application server will likely only offer marginal (if any) gain.
就是说,如果应用程序代码本身是低效的,那么迁移到替代应用服务器将很可能只会贡献边际收益(如果有的话)。
When the system crashes regularly or a virus hijacks the network, there's no easy alternative: you need to upgrade the whole system, maybe even rewrite the code from the bottom up.
当系统定期崩溃或是一种病毒劫持了网络,你别无选择:你需要升级整个系统,也许甚至要从下到上重写代码。
Any time a built-in primitive function is available, that will be a better design alternative than creating custom code.
如果内置基本函数在任何时间都可用,则与创建自定义代码相比,它是较好的设计备选方案。
For an alternative solution, I could have created an invocation handler that looks more like the one from Listing 2, where the validation code is run directly in the invocation handler.
作为替代解决方案,我建立一个看起来很像清单2的调用处理程序,而验证代码直接在调用处理程序里运行。
The alternative is to generate code that always checks to see if the field is resolved before finding out where the field is and then loading the value.
另外一种方法是生成一些代码,用于在查明字段的位置以前一直检查是否已经解析字段,然后加载该值。
In this approach, the diagrams are tightly coupled representations of the code and provide an alternative way to view and possibly edit at the code level.
在这种方法中,图与代码表示紧紧的联系在一起,并提供了在代码级别上观看和编辑的可选方法。
These changes include a complete rewrite of the binding compiler code generation, with an added option for using source code enhancement as an alternative to bytecode enhancement.
这些变化包括:对编译器代码生成进行完全重写,添加用源代码增强代替字节码增强的选项。
Taxpayers could either stick with the present code or switch to a massively simplified alternative, with much lower rates but few exemptions or deductions.
纳税人可以选择沿用原有系统,或是改用另一个大幅简化的系统,后者税率较低,但几乎没有任何免税额和可抵消的部分。
A publisher offering these techniques must also maintain code that generates each alternative representation from the underlying original data source (often data in a relational database).
提供这些技术的发布者还必须维护从底层初始数据源(通常是关系数据库中的数据)生成每种备选表示的代码。
So you will be able to design full-page layouts on screen as an alternative to writing ERb (embedded Ruby) templates in code.
有了它,你能够在屏幕上设计全页面的布局,而不用去写ERb(嵌入的Ruby)模板代码了。
For example, as an alternative to calling some GetQuote method on an object instance, the client code might post a GetQuote message to an input queue.
例如,作为对对象实例调用某个GetQuote方法的备选方案,客户机代码可以将GetQuote消息传递到输入队列中。
I chose to go with the older alternative because of some follow-up work I'm going to do with this code next column, but it's worth keeping StringBuilder in mind for your own J2SE 5.0-specific code.
我之所以选择使用以前的方案,是因为下一篇文章中我将使用该代码进行一些后续工作,但是您应该记住StringBuilder以便用于您自己的特定于J2SE 5.0的代码。
As an alternative, you can catch this exception directly in your code and handle it some other way (perhaps printing out the actual error message along with usage information, for instance).
一个替代的方法是,您也可以在代码中直接捕捉这个异常,并且用其他方式处理异常(例如,可能会与使用信息一起输出真正的错误消息)。
Just as in the UsernameToken example, you can configure the security parameters in your client code as an alternative to using a cxf-client.xml file.
与usernametoken示例一样,可以不使用cxf - client . xml文件,而是在客户机代码中配置安全参数。
As an alternative to using ActiveMQ-specific classes, you can write the code to use JNDI.
除了用active MQ特定类,你还可以使用JNDI来写代码。
In this case, there was little alternative to what they called the "cryptic" format that the out-of-the-box notification provided, and a hook code-based rule was used.
在这个例子中,对于那些“即时可用”的通知所提供的被称之为“秘密的”格式没有其他选择,基于hook的规则被使用。
The alternative is to save code in a file called a script and then run the interpreter in script mode to execute the script.
所以就有另一种选择了,把代码保存成脚本,然后用脚本模式让解释器来运行这些脚本。
The second alternative is to remove comments from the following two code snippets in the jrc_begin_here.jsp and CrystalReportViewer.jsp files, respectively.
第二种替代方法是从jrc_begin_here.jsp和CrystalReportViewer.jsp 文件这两个代码片段中删除部分代码。
Castor and Quick also support mapping existing classes to XML as an alternative to using generated code.
Castor和Quick还支持将现有类映射到XML,以此作为另一种生成代码的方法。
It's an anonymous function that's passed into The Times method and prints a static sentence. This code is tighter and simpler than the alternative with a for loop, shown in Listing 2.
它是一个匿名函数,times方法被传递到该函数,函数的结果是打印出静态语句。
There is an alternative approach: generate HTML (and CSS, if needed) and convert it to RTF using PD4ML. NET. HTML code should be less confusing than RTF markup.
有一个替代的方法:生成HTML(和CSS,如果需要的话),将其转换为RTF使用pd4ml.net。HTML代码要比RTF标记减少困惑。
An alternative approach to reading lines is to loop over the file object. This is memory efficient, fast, and leads to simpler code.
一种替代的方法是通过遍历文件对象来读取文件行。这是一种内存高效、快速,并且代码简介的方式。
应用推荐