Portlet桥有什么作用? [英] What does a portlet bridge do?

查看:115
本文介绍了Portlet桥有什么作用?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

在今天的一次采访中,我提到我已经在portlet中完成了一些jsf工作.面试官要求提供有关Portlet桥功能的详细信息.我从来没有那么仔细地研究过它,只是使用了它,因为有人告诉我它可以使jsf在portlet中工作.我只能说的是,它允许请求以jsf能够理解的方式从门户发送到jsf,并使其发挥出色.

In an interview today I mentioned that I had done some jsf work in a portlet. The interviewer asked for specifics on what the portlet-bridge does. I never looked into it all that much, just used it because I was told it would make jsf work in the portlet. All I could really say was that it allowed the requests to come from the portal to jsf in a way jsf would understand, and made it play nice.

portlet-bridge到底做什么?

What exactly does the portlet-bridge do?

推荐答案

摘自上述Jeremy Walton链接的规范.

From the spec linked by Jeremy Walton above.

2.1什么是Portlet Bridge?

2.1 What is a Portlet Bridge?

Java™Portlet规范 为直接定义一组API 实现portlet.一个Portlet 桥梁是一项由 桥接到执行的Portlet 不同的环境 抽象用于渲染 标记或处理用户 互动.通常这些是 知名的,可能是标准的网站 开发环境.例子 包括JavaServer™Faces和Apache 支柱.

The Java™ Portlet Specification defines a set of APIs for directly implementing a portlet. A portlet bridge is a technology used by a portlet to bridge to an execution environment where differing abstractions are used for rendering markup or processing user interactions. Typically these are well-known, possibly standard web development environments. Examples include JavaServer™ Faces and Apache Struts.

portlet桥接器充当 Portlet之间的翻译引擎 环境和目标系统. 表示portlet请求 桥接环境的上下文 执行请求并进行转换 适当的回应 Portlet环境.它提供了一个 Portlet环境的抽象 对于桥接的环境,以及 在桥接器中工作的开发人员 环境.这些开发商是 可以执行以下操作来释放Faces视图: Portlet,无需 了解portlet的详细信息 API和开发模型.

The portlet bridge acts as the translation engine between the portlet environment and the targeted system. It expresses the portlet request context to the bridged environment, executes the request and transforms the response as appropriate for the portlet environment. It provides an abstraction of the portlet environment for the bridged environment, and for developers working within the bridged environment. These developers are freed to execute Faces views as portlets, without the need to understand the details of the portlet APIs and development model.

简单地说,portlet网桥是 允许Java网站的技术 开发人员执行已开发的视图 使用其他网络编程 没有portlet的抽象 需要知道和/或了解 Portlet开发,概念或 API.

To put it simply, a portlet bridge is the technology that allows a Java web developer to execute views developed using other web programming abstractions as portlets without needing to know and or learn about portlet development, concepts, or APIs.

用于JavaServer™的Portlet桥 面孔是具体的桥梁 支持这一点的技术 JavaServer™的桥接行为 面孔.

The Portlet Bridge for JavaServer™ Faces is the specific bridge technology needed to support this bridging behavior for JavaServer™ Faces.

这篇关于Portlet桥有什么作用?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆