Osgi Specification
L an open specification for the delivery of managed services to networked environment.
L osgi services platform: osgi framework a set of standard service Definitions
The osgi framework
L osgi framework: sits on the top of JVM, the excution environment
Introduction to the application of OSGi ServicelistenerI wanted to skip the basics of OSGi directly, starting with some intermediate or high-level articles in OSGi, and then thinking about Servicelistener, Servicetracker, ds in OSGi, So decided to osgicommand the contents of the follow-up, starting from Servicelistener
Felix is an osgi version 4 Standard Apache implementation.
Osgi is a Java-based service platform specification. Its goal is to be used by systems that require long running, dynamic updates, and minimal damage to the running environment. Many companies (including Eclipse IDE, which is the first important project to adopt osgi technology) have used
Original link: http://marsvaadin.iteye.com/blog/1613429
Refer to the OSGi principle and practice of this book operation, using OSGi to build B/S program, where org.mortbay.jetty.jar this package, I eclipse did not, from the Web down this package, when the plug-in installation, in Run->run The framework under the CONFIGURATIONS->OSGI framework, its options bundles
Describe the scenario described in this article (3 servers, modules distributed across servers, distributed modules interdependent, interactive scenarios):
Multiple Osig engine interactions, using the. NET Remoting implementation principle:
When an interface is requested (that is, to obtain a service instance), OSGI is connected to the URL that provides the service via remoting, such as: Tcp://localhost:8888/o
In this space, the future analysis of the service lifecycle management of this distributed service framework in a distributed service framework, dynamic deployment, uninstall, and escalation of support services are critical, and the lifecycle of services needs to be notified in such a way as OSGi, and will be analyzed in this space, Finally, the lifecycle model of this distributed service framework and the service architecture model to date are formed
OSGi actual finished, feel the author writes very well, then see the OSGi advanced this article OpenDoc, first of all, to build the environment, in the OSGi real environment, I set out according to the author's method of the problem, through a series of online search found a solution, If you are in the OSGi combat envi
Use the Open Services Gateway initiative API to eliminate Eclipse plug-in dependencies
This article describes a plug-in example that uses XML to register extensions for well-defined extension points. By enabling Plug-ins to perceive extention Registry and provide OSGi services, we can complete this complete component decoupling operation.
Plug-ins, extension points, OSGi
As you know, Eclipse's component
The previous application of command in OSGiIn the previous blog post, we explained the blueprint in OSGi, but did not make any specific use of this, and in this article and later will talk about other applications in OSGi blueprint in the time to explain, this article will talk about the command in OSGi, In the written application, may involve data migration or s
In the previous blog post we explained the traditional registered service and declarative services of OSGi, and then we wrote the OSGi + Felix Example2, a blog post where we wrote a bundle and an interface and implemented the interface accordingly, The service was registered in the Start method of the bundle and was not used for this service. The program written in this article still does not use this servi
As an enterprise-class Web application, the MVC framework is essential. Spring MVC is currently widely used, and this article describes how to implement the integration of the spring, MyBatis, and spring MVC frameworks in OSGi applications, where the integration of spring MVC is difficult because spring is integrated into OSGi, Each bundle has an isolated applicationcontext, which means that dependency inje
Use osgi to develop HTTP services. The default port is 80 at startup. However, this port may have been occupied by other programs on the local machine. There are two solutions to the problem: 1) closing or modifying the port that occupies the program; 2) modifying the port at osgi startup.
It is also easy to modify the port number when osgi is started. You can a
The following is from Zhou Zhiming's in-depth understanding of Java virtual machines.Learn the JEE specification, go to the JBoss source code, learn the class loader, to see the OSGi source code.OSGI, the Open Service Gateway Initiative, is a dynamic modular specification based on the Java language.Only the export package can be accessed by an external module.OSGi allows for module-level hot-swappable functions.The relationship between the loaders in
The MVC framework, such as SPRINGMVC, is temporarily unsupported in OSGi, and when we write a method, we need to create a new servlet, which is cumbersome, so we want to implement an MVC framework that works in an OSGi environment, mimicking the SPRINGMVC or struts2 framework.1. First we look at the configuration of Web. Xml. It defines a servlet that filters all URIs with. Do, and initializes the parameter
Felix is an Apache-owned framework for implementing OSG specification I. Access Address: http://felix.apache.org/
Building the basic OSGi framework only requires downloading the Felix framework.
Unzip to any directory (for example: D:\felix-framework-4.4.1), open cmd Command window in felix-framework-4.4.1 directory, execute launch Felix framework command
Java-jar Bin/felix.jar
Enter the LB command to view the current launch of Felix's bundle afte
In our previous blog post, we built the entire operating environment of OSGI and integrated the other individual components into the subsequent development, and this podcast series will write all of example in Apache Felix's official website and then write the following OSGi articles, such as OSGi command , Blueprint,configadmin and so on, these aside for the tim
application of Servicelistener of OSGi
Preface
I was going to skip the basics of these OSGi directly, starting with some intermediate or advanced articles in OSGi applications, and then think of Servicelistener, Servicetracker, ds in OSGi, and all that needs to be said, So decided to osgicommand follow-up content, fr
After writing the analysis of the service framework based on OSGi, the decision was made to implement a distributed service framework based on OSGi, and its feature would be implemented in accordance with the elements of the service framework previously written, based on the previous analysis, This implementation process is divided into three major steps to complete: spike phase, implementation phase and te
Class loading in OSGiIn OSGi, there are multiple classloader, each of which loads a separate module, and when other modules need to find the class, the OSGi framework relies on the relational table to find the loader that the class is in, and the loader is commissioned to runClass loading in OFBizOFBiz integrates many applications, such as order, security, login, online, and Tomcat are also integrated into
## http://www.apache.org/licenses/LICENSE-2.0## unless required by applicable or agreed to writing, software# Distributed under the License is distributed on a "as is" BASIS,# without warranties or CONDITIONS of any KIND, either express or implied.# See the License for the specific language governing permissions and# Limitations under the License.################################################################################## Root LoggerLog4j. Rootlogger=info, stdout, out,
The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion;
products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the
content of the page makes you feel confusing, please write us an email, we will handle the problem
within 5 days after receiving your email.
If you find any instances of plagiarism from the community, please send an email to:
info-contact@alibabacloud.com
and provide relevant evidence. A staff member will contact you within 5 working days.