On the downside, mapped bindings do require more effort to set up than the generated code approach.
映射绑定的缺点是,在设置方面,它确实比生成代码方法需要花费更多精力。
JBind's XML Code approach can provide a great basis for an application built around processing of an XML document, but the performance of the current implementation is liable to be a problem.
JBind的XML代码方法可以为围绕XML文档处理而构建的应用程序提供重要基础,但是当前实现的性能容易导致问题。
When you write code using this approach, the state information is actually inherent in the code.
当您使用这个方法编写代码时,状态信息实际上是代码所固有的。
Typical workflows for this approach encompass analysis and design, leaving code to be written manually.
此方法的典型工作流围绕着分析和设计,将代码留待手工编写。
Over time, this kind of "I'll code around the problem" approach encourages code bloat and lots of incompatible special-purpose APIs, which isn't a good thing.
随着时间的推移,这种“围绕问题进行编码”的方法怂恿了代码的膨胀和许多不兼容的特殊目的API,这并不是好事情。
The dual approach of studying the code and using debugging tools is the best way to identify and fix problems.
结合研究代码和使用调试工具这两种方法是识别和修正问题的最佳方案。
This feature lets you choose the easiest way of working with the XML payload of your SOAP documents, customizing generated code to use the approach you choose.
此特性允许您选择最简单的方式来处理SOAP文档的XML有效载荷,对生成的代码进行自定义,以使用所选择的方法。
With this approach, the client code sends a message or a command to a list of entities able to process such a message.
用这种方法,客户机代码向能处理其所发消息的实体列表发送消息或命令。
You might think that compiling all the code statically is the best approach because it results in the largest amount of native code executing at run time.
您可能认为对所有的代码进行静态编译是最好的方法,因为可以在运行时执行最大数量的本地代码。
This approach is flawed, but for more reasons than code maintainability.
除了代码的可维护性外,这个方法还有其他缺陷。
This approach helps to avoid confusion between code generated from different namespace versions.
此方法可帮助避免从不同命名空间版本生成的代码间的混淆。
The code generation approach is a good one if your application employs a large XML grammar.
如果应用程序要使用大型XML 语法,那么代码生成方式是个很好的方法。
The distributed objects approach focuses on code reuse and language independence, while asynchronous messaging addresses the problem of tight coupling between applications.
分布式对象方法侧重于代码重用和语言独立性,而异步消息传递则解决了应用程序之间紧密耦合的问题。
With this approach, the code needs to handle the case where the call to the server fails.
使用这种方法,代码需要处理调用服务器失败的情况。
If you choose the latter approach, transaction demarcation code will be external to the DAO class.
如果选择后一种方式,那么事务界定代码就是在dao类外面。
In the AMDD approach, the application code is generated via model transformations on top of an existing application framework, which is based on a technical framework.
在AMDD方法中,通过现有应用程序框架之上的模型转换来生成应用程序代码,这是基于技术框架的。
The most obvious approach -- write the data integration code yourself -- may cost you more time and effort than you think.
最容易想到的方法是自己编写数据集成代码,但这种方法会让您花费超乎想象的时间和精力。
As you can see, by using the "code behind" approach, your code is very concise and maintainable.
如你所见,使用“代码分离”方法,你的代码会非常简明而易于维护。
To achieve this, you need a way to recognize generated versus user-defined code; placing markers in the code is one approach.
为了实现这一点,你需要一种方法来识别出被产生的用户定义的代码;在代码中放置标记就是一种方法。
The second approach -- extending an application with new custom code -- is a common approach taken by most rapid application development environments.
第二种方法 ——用新的定制代码扩展应用程序 ——是多数快速应用程序开发环境采用的常用方法。
The current byte code enhancement approach that adds binding framework methods to your compiled classes is also an area where more flexibility would be useful.
当前将绑定框架方法添加到已编译类的字节码增强方法也是灵活性的用武之地。
Since this framework supports the code first approach, with the help of a few lines of code, you can get a client and a service up and running without much effort.
由于此框架支持代码优先的方法,因此只需少许代码,您就可以轻而易举地让客户端和服务正常运行。
By using a modular approach, developers can reuse components and code across multiple applications.
通过使用一种模块化方法,开发人员可以跨多个应用程序重用组件和代码。
This approach aided in code re-usability and flexibility.
这个方法有助于提高代码的可重用性和灵活性。
However, the code generation-based approach used by MDD has its own downside, due to things like constraints in generated code, insufficiently skilled developers, and tight coupling to the model.
然而,MDD所使用的基于代码生成的方法有它不利的方面,这是由于例如所生成代码中的约束、技术不强的开发人员和与模型的紧耦合等因素造成的。
JAXB still looks like a good choice for the code generation approach in the future (the beta license only allows evaluation use).
JAXB看上去将来仍是代码生成方法的一个不错选择(测试版许可证只允许评估使用)。
By writing your tasks using your framework, you apply a consistent approach throughout your code and take advantage of the existing structure you already have in place.
通过使用框架编写任务,您将在代码中应用一致的方法并利用已有结构。
This article offers a set of guidelines on how to best approach any new code you are writing, whether it be in a new application or an existing one.
本文提供了以最佳方式处理代码的指导原则,无论是新应用程序还是已有程序中的。
Today, a majority of software developers still take a code-only approach (left end of the modeling spectrum, Figure 1) and do not use separately defined models at all.
今天,多数的软件开发人员仍然在使用单独-代码的方法(在建模光谱的左端,图1)并且根本没有分离的定义模型。
Today, a majority of software developers still take a code-only approach (left end of the modeling spectrum, Figure 1) and do not use separately defined models at all.
今天,多数的软件开发人员仍然在使用单独-代码的方法(在建模光谱的左端,图1)并且根本没有分离的定义模型。
应用推荐