计算机英文翻译?(英语高手请进)4-5

4 Packaging and deployment
A portlet application’s resources, portlets and deployment descriptors are packaged together in one Web application archive (WAR file). In contrast to servlet-only Web applications, portlet applications consist of two deployment descriptors: one to specify the Web application resources, the web. xml, and one to specify the portlet resources, the portlet.xml. All Web resources that are not portlets must be specified in the web. xml deployment descriptor and all portlets and port- let related settings must be specified in the port let. xml. As a result of the two deployment descriptor ifies, portlet application deployment is a two-step deployment process that deploys the Web application into the application server and the portlets into the portal server.
Figs. 6 and 7 depict the schema of the portlet.xml file. Eachiabeled box represents a XML tag, dashed boxes are optional, non- dashed ones are required. Some tags may occur more than once and therefore have a cardinality added to them (0.. .oc for an unrestricted occurrence, 1.. .oc for at least one). Fig. 6 shows the settings that can be applied on the application level. These settings include the support of custom portlet modes or window states, user attributes (like the first or last name of the user, see also [4] for the most common user attribute names) and security constraints when accessing the portlet (like always use a SSL connection when accessing this portlet).

Fig. 7 depicts the settings on the portlet level, which include name and class of the portlet, initialization parameters, cache settings, supported output MIME types (e.g. text/html), supported locales, persistent preferences the portlet uses (see (3.4.1)), and J2EE roles the portlet accesses. An example of a deployment descriptor is presented in the example below.

5 Porfiets and J2EE
The portlet specification is very closely aligned with J2EE concepts.This close alignment is reflected in:
•Portlet applications are WAR files and can be deployed using the existing infrastructure for WAR files.
• portlets use also the HttpSession and can share data via the session with other J2EE artifacts like servlets.
•Portlets can access the web application context via the portlet API and share data with other J2EE artifacts on the context level.
• Portlets can access web application initialization parameters defined in the web. xml via the portlet context.
• Portlets can include servlets and JSPs via a request dispatcher.
• Portlet J2EE roles defined in the portlet.xml can reference J2EE roles defined in the web. xml enabling a unified role mapping between portlets and servlets.
The future goal is to keep the portlet specification aligned with the next J2EE versions and to become part of J2EE some day in the future.
请高手帮我翻译下列英文! 不要求很对,但要求很通顺! 谢谢!

请不要用翻译软件敷衍我!

4 包装和配置
portlet 申请的资源、 portlets 和配置描述符在一个网络申请文件中一起被包装。 (战争文件) 与唯 servlet 网络申请相反, portlet 申请有二个配置描述符: 一叙述网络申请资源,网。 xml, 和一叙述 portlet 资源,portlet.xml。 不是 portlets 的所有的网络资源一定在网中被指定。 xml 配置描述符和所有的 portlets 和港口- 让相关的设定一定在被让的港口中被指定。 xml。 这二个配置的结果描述符 ifies, portlet 申请配置是两步舞配置部署网络申请进入申请伺候器,而且部署 portlets 进入门的伺候器的程序。
无花果树。 6 和 7 描述 portlet.xml 文件的轮廓。 Eachiabeled 盒子表现一个可扩展标示语言标签, 被猛掷盒子是可选择、非猛掷一被需要。 一些标签可能发生超过一次因此对他们增加一个基数 (0.。 。oc 为无限制的发生, 1.。 。oc 为至少一). 图 6 表演能在申请水平上被应用的设定。 这些设定包括订制 portlet 模态的支持,否则窗户说, 使用者属性 (喜欢第一或者使用者的姓, 也见到给最通常的使用者属性的命名) 和安全限制当存取 portlet 的时候.(当存取这一 portlet 的时候,同类总是使用 SSL 连接)

图 7 在 portlet 水平,包括 portlet 的名字和班级上描述设定, 设定初值叁数,贮藏设定, 支援了输出多用途互联网邮件扩充类型 (举例来说本文/html),支援了现场,固执的偏爱 portlet 使用 (见到 )4, 和 J2 EE 角色 portlet 通路。 配置描述符的一个例子在下面的例子中被呈现。

5 Porfiets 和 J2 EE
portlet 规格非常接近地被使 J2 EE 观念一致。这结束对准被反映在:
?Portlet 申请是战争文件而且能被部署使用现有的系统内各部分作为战争文件。
? portlets 也使用 HttpSession 而且经由会议能以其他的 J2 EE 像 servlets 的人工品分享数据。
?Portlets 经由 portlet 美国石油协会和部份数据能在上下文水平上以其他的 J2 EE 人工品存取网申请上下文。
? Portlets 能存取在网中被定义的网申请设定初值叁数。 经由 portlet 上下文的 xml。
? Portlets 经由一个请求发送者能包括 servlets 和 JSPs 。
? Portlet J2 EE 角色在 portlet.xml 中定义能在网中定义的叁考 J2 EE 角色。 xml 促成一个被统一的角色在 portlets 和 servlets 之间映射。
将来的目标将保存使下 J2 EE 版本一致的 portlet 规格而且将来有一天变成 J2 的一部份 EE 。
温馨提示:答案为网友推荐,仅供参考
第1个回答  2007-04-20
4 包装和部署 portlet 应用的资源、portlets 和部署形容标志一起被包装在一个网应用档案里(战争文件) 。与servlet-only 网应用对比, portlet 应用包括二个部署形容标志: 一指定网应用资源, 网xml, 和一个指定portlet 资源, portlet.xml 。不是portlets 的所有网资源必须被指定在网xml 部署形容标志和所有portlets 和口岸让相关的设置必须被指定在口岸让xml 。由于二部署形容标志ifies, portlet 应用部署是部署网应用入应用服务器和portlets 入门服务器的一个二步部署过程。 无花果。6 和7 描述portlet.xml 文件的图解。Eachiabeled 箱子代表XML 标记, 该死的箱子是任意, 非该死那些必需。一些标记也许发生更比一次和因此有基数增加来他们(0. 。oc 为无限制的发生, 1. 。oc 为至少一个) 。图6 显示可能是应用的在应用水平上的设置。这些设置包括习惯portlet 方式支持或窗口状态、用户属性(象用户的第一或姓, 看见也[ 4 ] 为最共同的用户属性名字) 并且安全限制当访问portlet (象总用途SSL 连接当访问这portlet) 。 图7 描述设置在portlet 水平, 上包括portlet 的名字和组, 初始化参量, 贮藏所设置, 支持的产品MIME 类型(即text/html), 支持的地点, 坚持特选portlet 用途(参见(3.4.1)), 并且portlet 访问的J2.EE 角色。部署形容标志的例子被提出在例子如下。 5 Porfiets 和J2.EE portlet 规格与J2.EE concepts.This 紧密对准线被排列非常严密被反射在: ?Portlet 应用是战争文件, 可能部署使用现有的基础设施为战争文件。 ? portlets 并且使用HttpSession, 可能与其它J2.EE 人工制品分享数据通过会议象servlets 。 ?Portlets 可能访问网应用上下文通过portlet API 和份额数据以其它J2.EE 人工制品在上下文水平上。 ? Portlets 可能访问网应用初始化参量被定义在网xml 通过portlet 上下文。 ? Portlets 可能包括servlets 和JSPs 通过请求调度员。 ? Portlet J2.EE 角色被定义在portlet.xml 可能参考J2.EE 角色被定义在网xml 使能一个统一的角色映射在portlets 和servlets 之间。 未来目标是保持portlet 规格与下个J2.EE 版本被排列和在将来成为一部分的J2.EE 某一天。
第2个回答  2007-04-25
4包装和部署一个portlet应用程序的资源, portlets和部署描述包装起来,用一个Web应用档案(战争档案). 对比servlet只有Web应用,portlet应用分为两个部署描述: 一个明确的Web应用的资源网路. XML技术,一个具体的Portlet资源,portlet.xml. 所有网站资源,则不能portlets必须在指定的网站上. XML的部署描述和所有portlets和港口,让相关的设置,必须在指定的港口让. xml. 由于这两个部署描述征候, portlet应用部署是一个两步走的部署过程,部署Web应用到应用服务器和portlets 进入服务器的门户. figs. 6日和7笔触式的portlet.xml文件. eachiabeled信箱代表了XML标记,冲上箱可选,非落空的要求. 有些标记可能发生不只一次,因此具有cardinality加进去(0...团不受限制 发生,1...奥委会至少进行一次). 无花果. 6显示设置,可用于不同的应用水平. 这些设定包括支持定制portlet的模式或窗口, 用户属性(如第一次或最后的用户名, 又见[4]为最通用的属性名)和安全方面的限制,当访问portlet(如经常使用 一个ssl连接时使用这个portlet). 无花果. 7描绘的设置对Portlet的水平,其中包括姓名和一流的portlet,初始化参数 快取设定,支持输出MIME类型(例如:text/html),支持locales,持续偏好的portlet用途(见(3.4.1)), 及J2EE角色的portlet通道. 例如,一个部署描述是在下面的例子. 5porfiets和J2EE的portletspecification很密切配合j2eeconcepts.this关系密切反映在以下方面: •portlet应用都是战争的档案,并可以部署利用现有的基础设施,为战争的档案. •portlets还使用了HttpSession对象,并能共享数据通过会议,与其他J2EE的文物,就像servlets. •portlets可以存取Web应用方面通过portletAPI和共享数据与其他J2EE的遗物论 方面的水平. •portlets可以访问Web应用初始化参数定义在网. 透过XML的portlet的背景. •portlets可以包括servlets和jsps经请求调度. •portletJ2EE的角色定义在portlet.xml可以参考J2EE中的角色界定的网站. XML使一个统一的角色之间的映射portlets和servlets. 今后的目标是要portlet规格与未来的J2EE版本,并成为 J2EE的部分在未来的一天.
相似回答