在不使用组件框架的情况下,另一个必须解决的熟悉的问题是预先处理每个请求,就像在基于动作的框架中那样。
One familiar crutch that you must do without in a component framework is processing each request up front, as you do in action-based frameworks.
实现服务接口的组件可以处理所有类型的请求。
A component that implements a service interface can process all types of requests.
迄今为止,您已经看到了如何创建自己的文本区域和表单组件,如何处理HTTP请求。
So far, you've seen how to create your own text area and form components and how to process the HTTP requests.
它还支持用于处理php请求的若干其他速度改进,包括一个用户缓存组件,这将在本文后面探讨。
It also sports several other speed improvements for handling PHP requests, including a user cache component we'll look at later in this article.
同其他堆栈一样,CXF使用由可配置组件组成的请求和响应处理流。
Like the other stacks, CXF USES request and response processing flows composed of configurable components.
如果在完全从请求处理分离(甚至从门户分离)的环境或组件中使用该服务,服务的生命周期为未定义。
If the service is used in environments or components that are completely decoupled from the request processing (or even from the portal), the service lifetime is undefined.
在此类情况下,超时不是重要考虑事项,因为上游组件对于处理请求下游的时限并无依赖。
Timeouts are less of a concern in those cases, because there is no dependency in an upstream component on the timeliness of processing requests downstream.
标准化了的请求处理:我们已经介绍过一种特殊的中介流组件,称为服务网关。
Standardized handling of requests: We've introduced a special mediation flow component called a service gateway.
如果在SCA组件之间异步地处理请求时发生技术故障,就会产生失败的事件。
Failed events are generated if technical failures occur while processing requests between SCA components asynchronously.
在本系列的第2部分,您将获得更多有关处理组件树和控制请求处理生命周期的JSF技巧。
In Part 2 of this series, you'll find more JSF techniques for working with the component tree and controlling the request processing life cycle.
创建处理授权请求所需XACML组件的下一步是创建PEP。
The creation of the PEP is the next step in creating the XACML components required to process the authorization request.
tomahawk库中的一些组件同样需要一个过滤器,以处理运行时的资源请求。
Some components in the Tomahawk library also require a filter to handle resource requests at runtime.
在J2EEWeb开发中,forward会把处理用户请求的控制权转交给到其他Web组件。
In J2EE Web development, a forward transfers control for processing the user's request to another Web component.
在这种情况下,自定义组件已经在处理前一个请求期间将onfocus和onblur属性添加到嵌套组件。
In this case, the custom component has already added the onfocus and onblur attributes to the nested components during the processing of a previous request.
在这种情况下,此组件树应该在处理之前的Faces请求期间构造和保存(参见侧栏状态保存方法)。
In this case, the component tree should have been constructed and saved during the processing of a previous Faces request (see the sidebar on state-saving methods).
execute方法返回ActionForward对象,Struts用这个对象来确定对请求继续进行处理的组件。
The execute method returns an ActionForward object that Struts USES to determine the component that continues processing the request.
最后,Erlang包含内置的分布式处理,允许在一台计算机上运行组件的同时从另一台计算机请求它们。
Finally, Erlang includes built-in distributed processing, allowing components to be run on one machine while being requested from another.
现代Web框架还有会话、请求等不同作用域范围的组件,框架会在进入作用域的时候相应地处理依赖注入。
Modern web frameworks have session and request scoped components and handle the dependency injection for them as those scopes come into life.
过滤器是通常封装了一些功能的Web组件,这些功能虽然很重要,但是对于处理客户机请求或发送响应来说不是决定性的。
Filters are Web components that typically encapsulate some functionality that, while important, is not central to processing the client request or sending a response.
表示这些功能的Web服务组件如图1所示,它们用于处理Web服务请求。
The web services components that represent these functions are illustrated in Figure 1 for the processing of a web service request.
JSP应用程序本质上是特殊的Web组件,在处理用户请求之前,J2EEWeb容器首先将其转换成servlet。
JSP applications are essentially special Web components that a J2EE Web container converts into servlets prior to handling user requests.
监视诸如堆、Servlet线程和数据库连接池等顶级组件,可以了解JVM处理请求时所发生的情况。
Monitoring the top-level components, such as the heap, servlet threads, and DB connection pool, provides an insight into what is happening when a request is being processed by the JVM.
一旦该组件处理完订单请求,它可能会发送一个JMS消息到一个主题(topic)上,以通知审计系统,并返回一个HTTP响应。
Once the order has been processed by the component, a JMS message may be sent over a topic to notify an auditing system, and a response can be sent back over HTTP.
请记住,我们假定CreditHistory组件的处理时间会稍微长一些,因此首先将触发异步请求以获取History,并在稍后检索响应。
Remember, we are assuming that the Credit History component takes a bit longer, so we first fire off an asynchronous request to get the History, and retrieve the response at a point later in time.
其中讨论了如何设置相当简单的用于处理消息的中介流组件,然后重点讨论如何将各种类型的服务请求者和提供者连接到此组件。
They covered how to set up a fairly basic mediation flow component that would process messages, and then focused on how to connect various types of service requesters and providers to it.
应用程序连接到一个集成组件,后者处理对其控制下的特定EIS或数据源的数据请求。
Applications connect to an integration component that handles data requests to a specific EIS or data source under its control.
如上所述,在处理请求期间,请求是通过各种组件传递的。
As described above, the request is passed though various components during its processing.
应用程序组件需要请求符合某种格式,且含有正确信息,因此它会在处理前先验证请求。
The application component requires a request in a certain format with correct information, so it will validate the request message before processing it.
应用程序组件需要请求符合某种格式,且含有正确信息,因此它会在处理前先验证请求。
The application component requires a request in a certain format with correct information, so it will validate the request message before processing it.
应用推荐