请输入您要查询的百科知识:

 

词条 plexus
释义

Plexus概览待您完善

Plexus提供完整的软件栈,用于创建和执行软件项目。基于Plexus容器,应用程序可以利用面向组件的编程方式来构建模块化,容易集成和重复使用的可复用组件。

虽然Plexus是一个类似控制反转(IoC)或依赖注入(DI)框架的框架 ,事实上它更是一个支持如下许多功能的全面的容器:

组件生命周期

组件实例化战略

嵌套容器

组件配置

自动布线

组件依赖关系,并各种依赖注入技术,包括构造函数注入,setter注入和私人领域的注入。

该Plexus项目提供了一些预兴建的共同任务,如码头,速度,休眠,国际化,以及更多的工具包组成部分。然而,丛也能用于其他IoC框架未修改如春,Avalon和碧集装箱,以及允许您重用丛集装箱内现有的代码编写您现有的组件。

Plexus配备了一个应用服务器,可以运行您的应用,使它成为微不足道的建设,如服务执行独立的共同特点的可执行文件,如果需要的分配。然而,Plexus应用程序能够运行在任何环境中嵌入在现有应用程序的容器,包括Java EE应用程序或Web应用程序。

Plexus丛组件不需要Java编写的,与元件Jython中,JRuby的,Beanshell现有工厂,和Groovy。

容器的神经丛,在目前使用的应用程序和框架,尤其是Maven的2.0和WebWork 2.2(Struts的行动框架2.0)。

Overview英文对照

The Plexus project provides a full software stack for creating and executing software projects. Based on the Plexus container, the applications can utilise component-oriented programming to build modular, reusable components that can easily be assembled and reused.

While Plexus is similar to other inversion-of-control (IoC) or dependency injection frameworks such as the Spring Framework, it is a full-fledged container that supports many more features such as:

Component lifecycles Component instantiation strategies Nested containers Component configuration Auto-wiring Component dependencies, and Various dependency injection techniques including constructor injection, setter injection, and private field injection. See the Feature Comparison page for more information on the differences between Plexus and other products.

The Plexus project provides a number of pre-built components for common tasks and toolkits such as Jetty, Velocity, Hibernate, i18n, and many more. However, Plexus is also able to reuse your existing components written for other IoC frameworks such as Spring, Avalon and Pico Container unmodified, as well as allowing you to reuse your existing code inside the Plexus Container.

Plexus comes with an application server that can run your applications, making it trivial to build a standalone executable distribution with common features such as service execution if needed. However, Plexus applications can be run in any environment by embedding the container in an existing application, including Java EE applications or web applications.

Components in Plexus need not be written in Java, with component factories existing for Jython, JRuby, Beanshell, and Groovy.

The Plexus container is currently used in a number of applications and frameworks, most notably Maven 2.0 and Webwork 2.2 (Struts Action Framework 2.0).

For answers to common questions about Plexus, see the FAQ.

随便看

 

百科全书收录4421916条中文百科知识,基本涵盖了大多数领域的百科知识,是一部内容开放、自由的电子版百科全书。

 

Copyright © 2004-2023 Cnenc.net All Rights Reserved
更新时间:2025/1/11 15:36:51