A few days ago, I used spring DM to create a simple web application. I had already written all the jar packages and ensured that the environment was in normal use,
However, after sending a request to the front-end of the page, the backend always reports that the corresponding class cannot be found. Of course, this exception is not just a simple introduction but a startup level problem,
However, since osgi was first introduced, all the startup levels i
What is OSGi? OSGi is a Java modular specification, translated by the Open Service Gateway Protocol (open Services gateways Initiative) OSGi is not an application-level framework, but a specification at the software design levelWhat does it bring to us?1 reusable component accumulation and reuse, functional decoupling. (multiplexing, cohesion, and coupling can al
Eclipse's plug-in architecture allows us to flexibly define plug-ins and assemble them into pluggable software systems. osgi's declarative services (DS) there is a similar idea with eclipse extension points (see a detailed comparison Article). Naturally, if DS is applied to Web applicationsProgramWe will be able to build SOA Web applications by defining our own "extension points. "Configurable" in the question refers to the product/solution tailored to the customer by providing different package
About two years ago I received an email from bluedavy asking me if I could authorize him to translate the BND manual into Chinese. He explained that many people in China are using BND, however, there is a lack of relevant documentation. I am very happy to provide him with a webpage for publishing the Chinese version. The translated content looks strange. There are a lot of unfamiliar Chinese characters mixed with several familiar English words. It seems like you have met your friends in a distan
It takes some time to look at such a pile.
Osgi springhttp: // www.springframework.org/osgi/specification
Spring osgi specification (v0.7) Osgi SCA http://newton.codecauldron.org/osgi binding for exposing SCA services as osgi
Http://oscar.objectweb.org/
What is Oscar?
Oscar is an open source implementation of the open services Gateway Initiative (osgi) Framework Specification; the goal is to provide a completely compliant implementation of the osgi framework specification. oscar is currently compliant with a large portion of the osgi 3 specifications, although certain compliance work
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
Whether interface-oriented development can be implemented is closely related to the container or framework used by the system. The most important thing for interface-oriented development is to solve the system dependency problem, at this point, the most mature solution is IOC, and the most successful IOC container is spring. Does osgi-based solution bring different perspectives, let's take a look at these examples:1. Class A: Class A that implements t
Osgi startlevel explained and using startup level mechanism and usage
Bundle startlevel
In the actual application environment, our bundle is dependent on each other, so there must be a difference in the startup sequence, such as building a building,Start from laying the foundation.In fact, the initial start level of the osgi framework is 0,The startup sequence is as follows: add one to the startup level
First, what is OSGiThe OSGi (Open Service Gateway Initiative) technology is a series of specifications for the dynamic modular system of Java. OSGi, on the one hand, refers to the official OSGi alliance that maintains the OSGi specification and, on the other hand, the Java-language-based Service (business) specificatio
OSGI (Open Service Gateway Initiative) OSGI defines a dynamic model system that helps you better manage your code structure and code lifecycle, cooperation with code modules (loose ).
Modularity-the code is divided into clear functional blocks with clear interface interactions between functional blocks.
You will naturally think that Object-oriented has the concept of a module. But there are limitations:
1.
Reprint please retain the author information:
Author: 88250
blog:http:/blog.csdn.net/dl88250
MSN Gmail qq:dl88250@gmail.com
SummaryLast time, we analyzed the design of the KF (Knopflerfish) framework and practiced the design of an OSGI based application framework. In this context, we will implement the OSGi specification Http Service based on KF, do a simple servlet combined with html/javascript practice
How to debug bundle during development has always been a problem. Today, let's look at how eclipse solves this problem.
I usedEclipse javaee indigo 3.7.2Version.
Step 1: Enable eclipse and addPlug-inProject.
Step 2: Enter the project nameHelloworldbundleNote that you must select the running mode of the plug-in here.An osgi framework.
Step 3: Enter the metadata information related to the bundle. Here we use the default value.
What is service?
It is a Java object registered to osgi.
Service Registration:
Through bundlecontext: registerservice (Java. Lang. String [] clazzes, java. Lang. Object Service, java. util. dictionary properties)
Service search and use:
Through bundlecontext: getservicereference (Java. Lang. String clazz), return servicereference through bundlecontext: getservice (servicereference reference), return the registered service objec
Now more and more Java developers are talking about OSGi for a reason. When I went to school a few years ago, I had a lot of eclipse plug-in development, and I felt the flexibility and power of the Eclipse plug-in system, and the system and OSGi were same strain and feather. Recently planned to re-study OSGi, while learning to write an
Course Outline1:OSGI Overview and Course plan2:apache Felix Introduction3:osgi Helloword4:osgi Bundle5:bundle's event monitoringClass loading mechanism of 6:OSGIIntroduction to 7:OSGI Services8:OSGI Service TrackerEvent Monitoring for 9:
Osgi is currently the most promising technology that can bring javaee into the next golden decade. For a long time,
Developers and enterprise users are not satisfied with the modularization and dynamic capabilities of Java EE, which are the weakness of Java ee. Do
Java EE 6's modular capabilities have been improved a lot, such as the Web fragment introduced by servlet3.0, but it is still not enough.
Complete. On the contrary,
OSGi framework of Apache Felix Equinox The concept of OSGi bundle is the difference between the PlugIn of the Eclipse of Maven's module .... OSGi and Maven Maven also features a modular system, but it is a compile-time tool, not a runtime framework. MAVEN is not a competitor to OSGi, but a complement to
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.