The basic approach is given in the OSGi principles and best practices book, where a few lines of code are added to the Lin Hao went to complete a usable example:
1 first set up several plug-in projects, and exported into the plug-in package, where the export of the plug-in package is uniformly placed under the G://osgi_prj//system_bundle directory
2 build Java project and write a class with the main method for starting
processes.
Osgi can be seen as an idea and basic environment for component development. The application system requirement model in the osgi environment requires developers to have a full understanding of components and object development. One of the criteria for measuring whether a system should be implemented is whether the system is loosely coupled and highly cohesive. The key to achieving this goal in
OSGI (Dynamic model system for Java)The OSGi (Open Service Gateway Initiative) technology is a dynamic model system for Java. The OSGi service platform provides services to Java, which makes Java a preferred environment for software integration and software development. Java provides portability for products that are supported on multiple platforms.
2. Integration with popular JAVA B/S Architecture
This paper introduces the basic idea of OSGi system design, and further studies the integration of OSGi with popular framework (spring,struts,hibernate, etc.), and explains the integration principle first.
• solution and Spring Integration
Because spring applications occupy most of the Java applications, solving the integration with spring is a must for
September 21, 2006 the core of the Eclipse Integrated Development Environment (IDE) and Eclipse Rich-Client Platform (RCP) applications is implemented by the Open Services Gateway Initiative (OSGI) specification Driven. This article illustrates the relationship between Eclipse and OSGi by describing what Plug-ins are for the Eclipse platform and tracking the development of Plug-ins from Eclipse V2.1 to toda
IBM and OSGi
OSGi is a dynamic modular system of the Java language. IBM is one of the initial members of the OSGi Consortium, which aims to promote the widespread adoption of the OSGi service platform to ensure interoperability of applications and services delivered and managed over the network. For years, IBM has bee
Software modules more and more plug-in development, even the hardware is everywhere hot plug, software more when so. Remember that there is a JPF (Java Plugin Framework), but also to achieve dynamic plug-in, but if there is an industry-standard things generally better. So the turn to OSGi (Open Service Gateway Initiative) on the stage, OSGi has been out for several years, the application is also vigorous, s
The first helloworld plug-in project was built according to the book during OSGI learning today. The following error occurs during the running process:
!SESSION 2014-06-09 21:04:49.038 -----------------------------------------------eclipse.buildId=unknownjava.version=1.6.0_35java.vendor=Sun Microsystems Inc.BootLoader constants: OS=win32, ARCH=x86_64, WS=win32, NL=en_USCommand-line arguments: -dev file:E:/XJTU/.metadata/.plugins/org.eclipse.pde.core
Recently, I have discussed the role of OSGi with other people on cnblogs. Since the people there will only copy the online rhetoric from the Internet over the past n years, and seldom have their own analysis and insights, you cannot start the discussion. I would like to write an article to clarify my point of view and discuss this technology with more people.
OSGi is an open service specification proposed
After having a preliminary understanding of osgi, we are ready to write some code to run and try our best,First, I downloaded a copy of bluedavy's osgi practice.There is code that can be run directly in it. Double-click Run. BAT to run normally, which is cool!Start to practice the user login authentication module in osgi practice, and repeat the code in a row. Th
[51cto] This article is "Hello, osgiSeriesPart 5. Starting from this article, we will introduce the spring dynamic model. Let's take a look at why spring dynamic models are so exciting for developers. These developers haveSpring configurations are very familiar and need to explore osgi's modularity, simple version control, and application Lifecycle Support.
51cto editing recommendations:Osgi introduction and Practice
Use osgi and spring to build servi
What is OSGi?OSGi is also known as the dynamic modular system of the Java language , which defines an infrastructure for the development of modular applications. OSGi containers already have several open source implementations, such as Knoflerfish,Equinox , and Apache Felix. Through these containers, you can split your application into multiple module units so th
After having a preliminary understanding of osgi, we are ready to write some code to run and try our best,First, I downloaded a copy of bluedavy's osgi practice.There is code that can be run directly in it. Double-click Run. BAT to run normally, which is cool!Start to practice the user login authentication module in osgi practice, and repeat the code in a row. Th
The first contact with OSGi, an online news that was seen in 2006, mentions that the BMW car's communication-entertainment (infotainment) system employs an OSGi architecture that is designed to control speakers, lighting, navigation and communications equipment on cars, The entire system consists of more than 1000 modules, starting time only need 3.5 seconds, which for a java-based framework, has two signif
[51cto] This article is "Hello, osgiThe eighth part of the series. In the previous articleUsedSpring DM creates helloThe following step is to import and export the service suite. To put it simply, build a service-oriented contact management application.
51cto editing recommendations:Osgi introduction and Practice
Import and Export Service suite
The contact management application contains two suites. The first suite is contactdao, which is used to talk to the database andThe contactdao object is
This article isGood, osgiThe second part of the series. What is osgi?, FollowingThis document introduces how to develop a simple osgi Bundle: Hello world.
51cto editing recommendations:Osgi introduction and Practice
Develop a simple hello World osgi bundle (osgi binding package)
In
Original URL: http://sangmin214.iteye.com/blog/781600
Chapter 1 osgi
This book first points out that Java does not explicitly provide support for building modular systems, but only common Object-oriented Data encapsulation. Therefore, developers often need to make up for this. To make up for this and let application developers focus on application development, the osgi Service Platform came into being.
A simple understanding of OSGiJust like a Java Web application needs to run in a container such as Tomcat, WebLogic. The OSGi packages developed by programmers also need to be run in OSGi containers. Currently, the main OSGi containers include Apache Felix and Eclipse Equinox.OSGi packages are called in OSGi Bundle . B
Deep understanding of OSGi Web application specifications and GlassFish osgi/web containers
Related articles: GlassFish osgi-javaee (i) GlassFish and enterprise-class OSGi development
Http://www.bianceng.cnhttp://www.bianceng.cn/Programming/Java/201312/38601.htm
In Part1, we mentioned that Enterprise
Osgi 4.2 specification released
Original article: osgi 4.2 released, Infoq
Author:Alex Blewitt September 16, 2009
Translators: 88250September 17, 2009
Osgi AllianceOsgi 4.2 was released the day before yesterdaySpecification. Although early drafts have been available, this is the final standard release version.
Some osgi
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.