We know enterprise applications like Jira/Confluence, Eclipse, Intellij Idea etc, all application are infinite extensible cause they provide supports to develop and install plugin.
우리는 Jira/Confluence, Eclipse, Intellij 와 같은 기업앱을 알고 있다. 모든 앱은 플러그인을 설치하고 개발의 지원을 제공함으로써 한계가없이 확장할수 있다.
Same question came to my mind that if we want achieve same plug-ability with Spring-Boot Application, they how we can archive that? This blog may help you to provide modularity and plug-ability in your enterprise application.
/*번역이 좀 이상..*/
Spring-Boot Application과 동일한 플러그 인 기능을 구현하고 싶다면 어떻게 아카이빙할 수 있는지와 같은 질문이 떠올랐습니다.
What is Spring Boot?
Spring Boot is an open source most popular Java-based framework used to create a micro Service.
스프링 부트는 무엇일까?
스프링부투는 마이크로 서비스를 만들기 위해 사용되는 자바기반 프레임워크에서 가장 인기있는 오픈소스다.
What is OSGi?
The OSGi framework is a standardized module system and service platform for the Java programming language. The OSGi standards has both open-source and commercial implementations. Below are some popular open source implementations of OSGi.
OSGI 는 무엇일까?
OSGI프레임워크는 자바에서 기준이되는 모듈시스템 그리고 서비스 플랫폼이다.
OSGI는 오픈소스 그리고 상업적 구현체에서 모두 기준이다.
아래의는 OSGI로 구현된 가장 인기 있는 오픈소스가 있다.
Any OSGi application runs on any of above OSGi container and application will be developed as a Module/Plugins. Here is a OSGi plugin lifecycle. So once OSGi container started you can install, uninstall, start and stop plugin at runtime. One plugin may dependent on other plugin also.
어떤 OSGI 앱은 OSGI 컨테이너 위에서 동작하고, 앱은 모듈과 플러그인으로서 개발되어진다.
여기 OSGI플러그인 라이프사이클이 있다. 일단 OSGI 컨데이너가 설치되기 시작되고, 너는 설치할수 있고, 삭제 시작 멈춤이 가능핟.
플러그인은 다른플러그인에 중속되어질것이다.

Example
I have developed a small POC of Calculator, which demonstrate how to add more calculator Operations at runtime using plugins.
This example divided in two plugin.
- calc-core — Provides calculator API and Addition implementation
- calc-plugin — Plugin for calc-core application which provides Substraction implementation.
예시
나는 작은 POC 계산기 를 개발했다. 그것은 어떻게 더하기 계산기가 실시간으로 동작하는지 보여줄것이다.
이것은 2개의 플러그인으로 나뉜다.
1. calc-core 더하기 구현과 계산기 API를 제공한다.
2. calc-plugin 빼기 calc-core앱의 빼기 기능의 플러그인
1. calc-core
Define an API which needs to be implemented by plugin. Here we define below Calculator API.
1. calc-core
플러그인으로서 구현되는데 필요한 API를 제공하고 여기아래의 API를 제공한다.
public interface CalculatorService{
String name();
int execute(int n1, int n2);
}
'영어공부' 카테고리의 다른 글
JAVA vs NODE (0) | 2022.06.27 |
---|---|
Is the single page application the new normal? (0) | 2022.06.04 |
Guide to Java Versions and Features (0) | 2022.01.08 |
JavaScript Data Types (0) | 2020.02.12 |
JavaScript Variables (0) | 2020.02.12 |
We know enterprise applications like Jira/Confluence, Eclipse, Intellij Idea etc, all application are infinite extensible cause they provide supports to develop and install plugin.
우리는 Jira/Confluence, Eclipse, Intellij 와 같은 기업앱을 알고 있다. 모든 앱은 플러그인을 설치하고 개발의 지원을 제공함으로써 한계가없이 확장할수 있다.
Same question came to my mind that if we want achieve same plug-ability with Spring-Boot Application, they how we can archive that? This blog may help you to provide modularity and plug-ability in your enterprise application.
/*번역이 좀 이상..*/
Spring-Boot Application과 동일한 플러그 인 기능을 구현하고 싶다면 어떻게 아카이빙할 수 있는지와 같은 질문이 떠올랐습니다.
What is Spring Boot?
Spring Boot is an open source most popular Java-based framework used to create a micro Service.
스프링 부트는 무엇일까?
스프링부투는 마이크로 서비스를 만들기 위해 사용되는 자바기반 프레임워크에서 가장 인기있는 오픈소스다.
What is OSGi?
The OSGi framework is a standardized module system and service platform for the Java programming language. The OSGi standards has both open-source and commercial implementations. Below are some popular open source implementations of OSGi.
OSGI 는 무엇일까?
OSGI프레임워크는 자바에서 기준이되는 모듈시스템 그리고 서비스 플랫폼이다.
OSGI는 오픈소스 그리고 상업적 구현체에서 모두 기준이다.
아래의는 OSGI로 구현된 가장 인기 있는 오픈소스가 있다.
Any OSGi application runs on any of above OSGi container and application will be developed as a Module/Plugins. Here is a OSGi plugin lifecycle. So once OSGi container started you can install, uninstall, start and stop plugin at runtime. One plugin may dependent on other plugin also.
어떤 OSGI 앱은 OSGI 컨테이너 위에서 동작하고, 앱은 모듈과 플러그인으로서 개발되어진다.
여기 OSGI플러그인 라이프사이클이 있다. 일단 OSGI 컨데이너가 설치되기 시작되고, 너는 설치할수 있고, 삭제 시작 멈춤이 가능핟.
플러그인은 다른플러그인에 중속되어질것이다.

Example
I have developed a small POC of Calculator, which demonstrate how to add more calculator Operations at runtime using plugins.
This example divided in two plugin.
- calc-core — Provides calculator API and Addition implementation
- calc-plugin — Plugin for calc-core application which provides Substraction implementation.
예시
나는 작은 POC 계산기 를 개발했다. 그것은 어떻게 더하기 계산기가 실시간으로 동작하는지 보여줄것이다.
이것은 2개의 플러그인으로 나뉜다.
1. calc-core 더하기 구현과 계산기 API를 제공한다.
2. calc-plugin 빼기 calc-core앱의 빼기 기능의 플러그인
1. calc-core
Define an API which needs to be implemented by plugin. Here we define below Calculator API.
1. calc-core
플러그인으로서 구현되는데 필요한 API를 제공하고 여기아래의 API를 제공한다.
public interface CalculatorService{
String name();
int execute(int n1, int n2);
}
'영어공부' 카테고리의 다른 글
JAVA vs NODE (0) | 2022.06.27 |
---|---|
Is the single page application the new normal? (0) | 2022.06.04 |
Guide to Java Versions and Features (0) | 2022.01.08 |
JavaScript Data Types (0) | 2020.02.12 |
JavaScript Variables (0) | 2020.02.12 |