Las aplicaciones y bibliotecas son contenedores desplegables de recursos, como por ejemplo, flujos de mensajes, subflujos, definiciones de mensajes (archivos DFDL, XSD), archivos JAR, hojas de estilo XSL y archivos de WebSphere Adapters.
Una aplicación es un contenedor de todos los recursos que son necesarios para crear una solución. An application can contain WebSphere Message Broker resources, such as flows, message definitions, libraries, and JAR files.
You use applications to group all the resources that are required to deliver an integration solution, enabling easier development and management. If you are developing resources for multiple integration solutions in the WebSphere Message Broker Toolkit, then consider grouping your resources into applications. The use of a library helps organization by grouping reusable resources together. This library can also be used by other applications, services, libraries, or Message Broker projects.
Applications typically contain message flows. If the message flow requires only one or two additional resources, such as one schema file and one ESQL file, consider storing all resources at the application level. But when you start to require multiple resources for your solution, or resources that might be shared with other solutions, consider putting the resources that your message flow requires into a library. That library can then be referenced by the application.
Applications provide runtime isolation whereby resources inside the application are not visible to other resources, such as message flows, libraries, or other applications that are running outside the application. Consider using applications if you need to ensure that updates to one group of deployed resources do not affect another group. For example, use an application when you want to control which flows pick up the latest version of an ESQL module. For examples of how to use applications to achieve runtime isolation, see Runtime isolation and resource sharing with applications and libraries.
Una biblioteca es una agrupación lógica de código relacionado y/o datos. A library typically contains reusable helper routines and resources such as subflows, ESQL modules, message definitions, maps, and Java utilities. Una biblioteca es útil para agrupar recursos del mismo tipo o función, para su reutilización o facilidad de gestión. Las bibliotecas son opcionales.
If you want to develop an integration solution where changes made to common resources can be deployed in one deployment operation without redeploying all your message flows and subflows, then you should define your message flows and subflows as independent resources within a Message Broker project or library that references the library that contains your common resources.
Para obtener un ejemplo de cómo utilizar aplicaciones y bibliotecas, consulte el ejemplo de Respuesta de solicitud coordinada. Puede ver información sobre los ejemplos sólo cuando utilice el centro de información que está integrado en WebSphere Message Broker Toolkit o el centro de información en línea. Puede ejecutar ejemplos sólo cuando utilice el centro de información que está integrado en WebSphere Message Broker Toolkit.
For an example of how you might convert your existing resources to applications and libraries, see Example: Conversion of Versión 7.0 resources to applications and libraries.
Applications and libraries provide a consistent view of your resources through the development, deployment, and operational management processes. In WebSphere Message Broker Versión 7.0 and earlier versions, file types and concepts were different at each stage of the development process. Multiple project types were used in the WebSphere Message Broker Toolkit to contain different types of resource. No consistent way existed of reusing common components across all processes. However, applications and libraries span the WebSphere Message Broker Toolkit for development, the broker archive (BAR) file for deployment, and tools like WebSphere Message Broker Explorer for operational management.

Las aplicaciones y bibliotecas se muestran en la Vista Desarrollo de intermediario. También se muestran los recursos incluidos en una aplicación o biblioteca, tanto si una aplicación como una biblioteca hace referencia a ellos directa o indirectamente.
Los proyectos de flujo de mensajes se han sustituido por Message Broker projects en WebSphere Message Broker Versión 8.0 (para más información, consulte Message Broker projects). Migre los proyectos de flujos de mensajes siguiendo las instrucciones en Importación de recursos de versiones anteriores.
| Icono | Descripción |
|---|---|
| Aplicación | |
| Biblioteca | |
| Message Broker project | |
| Proyecto Java | |
| Proyecto de conjunto de mensajes |
Las aplicaciones y bibliotecas que se han desplegado en un grupo de ejecución se visualizan directamente debajo del grupo de ejecución en WebSphere Message Broker Toolkit y WebSphere Message Broker Explorer. También puede ver las aplicaciones y bibliotecas desplegadas utilizando la API de Message Broker o el mandato mqsilist. Las bibliotecas a las que hacen referencia aplicaciones (es decir, bibliotecas privadas) se visualizan directamente debajo de la aplicación.
También puede especificar cómo se inicia una aplicación o flujo de mensajes una vez que se ha desplegado, o después de que se reinicie el intermediario, grupo de ejecución o aplicación contenedora. Puede elegir iniciar una aplicación o flujo manualmente, o que se inicie automáticamente. También puede elegir mantener el estado existente de una aplicación o biblioteca. Puede configurar el estado de ejecución utilizando el editor de archivo BAR, como se describe en Configurar la modalidad de inicio de flujos y aplicaciones durante el desarrollo. También puede utilizar el mandato mqsiapplybaroverride, como se describe en Establecer la modalidad de inicio de flujos y aplicaciones en tiempo de ejecución.
For detailed instructions about how to manage your resources by using applications and libraries, see Gestionar recursos de flujo de mensajes.
For a demonstration of how to start using applications and libraries, see IBM Education Assistant module: Applications and Libraries.