The result is almost a kind of magic — by following a few simple rules, a J2EE application can automatically gain transactional semantics with little or no additional component code.
结果简直是一种魔术—通过遵守几条简单的规则,J2EE应用程序就可以自动获得事务性语义,只需极少或根本不需要额外的组件代码。
Part 1 of this article presents the first part of a simple PHP Webzine application. I've covered a few small code examples in detail.
本文(第 1部分)介绍了 Webzine 这个简单PHP应用程序的第一部分,并详细分析了几小段代码示例。
For simple applications, it will let you save and load structured data in just a few lines of code.
对于简单的应用程序来说,它可以让您只用几行代码就实现存储和装入结构化数据。
The advantages of closures go beyond saving a few lines of code, and the usage patterns go beyond simple iteration.
闭包的好处远不止是节省几行代码,它的使用模式也远不止是简单的迭代。
These few lines of code yield well-formatted HTML that has a element followed by a and then a element with a single paragraph — utterly simple.
仅仅几行代码就会生成格式良好的HTML,其中有一个元素,后面是 ,然后是 元素和一个段落,太简单了。
So in just a few lines of code you created a simple code generator that can dramatically ease your programming tasks.
这样只需要刚才创建的这个简单代码生成器中的几行代码,我们就可以极大地简化编程任务。
Running a JAX-RS service in an embedded mode is easy and simple and requires only a few lines of code.
以嵌入式模式运行JAX-RS服务比较简单,只需几行代码。
By using a few simple web service annotations within your source code, the web container will be able to publish your web service without any additional development requirements.
通过在源代码中使用一些简单的Web服务注释,Web容器将能够在无需满足任何其他开发要求的情况下发布Web服务。
You can use the Portal Toolkit and JPA tools to build a JPA portlet application with few clicks in the wizard (Figure 25) and simple dragging actions without writing a lot of code.
您可以使用PortalToolkit和JPA工具,来构建一个JPAPortlet,而只需要在向导中点击几下(图25),然后简单地执行拖拉操作,而不用编写大量的代码。
Although the code using Address doesn't have many dependencies, the Address class does have quite a few when it probably should just be a simple data object.
虽然使用Address的代码没有许多依赖关系,但是address类却有大量代码,而它可能只是一个简单的数据对象。
You can develop a PHP script to consume a simple Web service in just a few lines of code, regardless of how the server is implemented.
无论服务器是如何实现的,只需要几行代码,就可以开发出访问简单Web服务的php脚本。
To take advantage of a Rico feature or widget is very simple: you only write a few lines of code to integrate that feature or widget on a given page.
Rico特性或小部件使用起来很简单:只需编写几行代码将那个特性或小部件集成到一个给定页面上。
So, one need only add a few lines of code to an application and create a simple mapping file for each persistent class, and NHibernate takes care of all database operations.
好了,我们只需要在程序中添加几行代码,和为每一个映射文件创建持久化类,而且NHibernate可以照顾到所有的数据库操作。
In our case, we just want to demonstrate that the message contains an attachment. We'll use a few lines of simple SAAJ code to do that.
在我们的例示例中,只是希望演示包含附件的消息。
In effect given just a few years the system that started out with a simple manageable requirement set has become a behemoth: an unruly and obtuse tower of code.
实际上,用不了多少年,最初具有很简单、可管理的需求集的系统就会变成庞然大物:难于控制和笨拙的代码。
The library provides a simple API that allows you to create complex PDF documents, or to edit existing PDF files with a few lines of code.
这个库提供了一个简单的应用程序接口(API),它允许开发者创建复杂的PDF文档,或者通过几行代码来编辑已有的PDF文档。
The library provides a simple API that allows you to create complex PDF documents, or to edit existing PDF files with a few lines of code.
这个库提供了一个简单的应用程序接口(API),它允许开发者创建复杂的PDF文档,或者通过几行代码来编辑已有的PDF文档。
应用推荐