이 콘텐츠는 선택한 언어로 제공되지 않습니다.

Chapter 5. Introduction to OSGi


Abstract

The OSGi specification supports modular application development by defining a runtime framework that simplifies building, deploying, and managing complex applications.

5.1. Red Hat JBoss Fuse

Overview

Red Hat JBoss Fuse has the following layered architecture:
  • Technology layer—includes technologies such as JBI, JAX-WS, JAX-RS, JMS, Spring, and JEE
  • the section called “Red Hat JBoss Fuse” —a wrapper layer around the OSGi container implementation, which provides support for deploying the OSGi container as a runtime server. Runtime features provided by the Red Hat JBoss Fuse include hot deployment, management, and administration features.
  • OSGi framework —implements OSGi functionality, including managing dependencies and bundle lifecycles

Red Hat JBoss Fuse

Figure 5.1 shows the architecture of Red Hat JBoss Fuse.

Figure 5.1.  Red Hat JBoss Fuse Architecture

Red Hat JBoss Fuse is based on Apache Karaf, a powerful, lightweight, OSGi-based runtime container for deploying and managing bundles to facilitate componentization of applications. Red Hat JBoss Fuse also provides native OS integration and can be integrated into the operating system as a service so that the lifecycle is bound to the operating system.
As shown in Figure 5.1, Red Hat JBoss Fuse extends the OSGi layers with:
  • Console— an extensible Gogo console manages services, installs and manages applications and libraries, and interacts with the Red Hat JBoss Fuse runtime. It provides console commands to administer instances of Red Hat JBoss Fuse. See the "Console Reference".
  • Logging—a powerful, unified logging subsystem provides console commands to display, view and change log levels. See "Configuring and Running Red Hat JBoss Fuse".
  • Deployment—supports both manual deployment of OSGi bundles using the osgi:install and osgi:start commands and hot deployment of applications. When a JAR file, WAR file, FAB file, or OSGi bundle is copied into the hot deployment folder InstallDir/deploy, it's automatically installed on-the-fly inside the Red Hat JBoss Fuse runtime. When you update or delete these files or bundles, the changes are made automatically. See Section 7.1, “Hot Deployment”.
  • Fuse Application Bundle (FAB)—FABs automate the creation and maintenance of OSGi bundles, freeing application developers to focus on building their applications. See Part III, “The Fuse Application Bundle Deployment Model”.
  • Provisioning—provides multiple mechanisms for installing applications and libraries. See Chapter 8, Deploying Features.
  • Configuration—the properties files stored in the InstallDir/etc folder are continuously monitored, and changes to them are automatically propagated to the relevant services at configurable intervals.
  • Spring DM—simplifies building Spring applications that run in an OSGi framework. When a Spring configuration file is copied to the hot deployment folder, Red Hat JBoss Fuse generates and OSGi bundle on-the-fly and instantiates the Spring application context.
  • Blueprint—is essentially a standardized version of Spring DM. It is a dependency injection framework that simplifies interaction with the OSGi container—for example, providing standard XML elements to import and export OSGi services.
맨 위로 이동
Red Hat logoGithubredditYoutubeTwitter

자세한 정보

평가판, 구매 및 판매

커뮤니티

Red Hat 문서 정보

Red Hat을 사용하는 고객은 신뢰할 수 있는 콘텐츠가 포함된 제품과 서비스를 통해 혁신하고 목표를 달성할 수 있습니다. 최신 업데이트를 확인하세요.

보다 포괄적 수용을 위한 오픈 소스 용어 교체

Red Hat은 코드, 문서, 웹 속성에서 문제가 있는 언어를 교체하기 위해 최선을 다하고 있습니다. 자세한 내용은 다음을 참조하세요.Red Hat 블로그.

Red Hat 소개

Red Hat은 기업이 핵심 데이터 센터에서 네트워크 에지에 이르기까지 플랫폼과 환경 전반에서 더 쉽게 작업할 수 있도록 강화된 솔루션을 제공합니다.

Theme

© 2025 Red Hat