Original address: http://blog.csdn.net/jsjszg/article/details/7370814
When you create a new plug-in project, you need to select Target platform:
There are three types of options:
1. Eclipse version
2, an OSGi Framework:equinox
3, an OSGi Framework:standard
What do you mean?
Eclipse version refers to how the Eclipse UI plug-in works.The An OSGi framework refers
reflect the dynamic deployment capabilities of the OSGi bundle, we write two service bundle, one of which computes two digits and (called Add bundle), and the other calculates the product of two digits (called multiply bundle). When we click on the "Compute" button, if the add bundle is deployed at this time, the page will return two digits of the and, otherwise if the multiply bundle is deployed at this time, the page will return two number of the p
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
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
know what the folder structure is.So, the solution is to put a cxf.jar in the war/web-inf/lib. And then no more axis2 came to haunt us.Here is a problem, the Lib package has a Cxf,eclipse plugin folder also has a cxf.Will there be a class conflict when using it?Assuming that the cxf of Eclipse's plugin folder is removed directly, the various bundles depend on the error when booting. So the outside of a cxf, inside a CXF will not have a conflict?The answer is no.Because I deleted the contents of
Eclipse comes with the equinox of OSGi and examines the OSGi environment of Eclipse:
Run-->run Configuration-->osgi framework--> Right-click New
Select Org.eclipse.osgi when selecting Bundles. Click Run.
Error occurred: org.osgi.framework.bundleexception:couldnotfindbundle: org.eclipse.equinox.console at Org.eclipse.os
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
OSGi uses the Equnix Framework bridge approach (partly from the IBM Web site):
Http://www.cnblogs.com/lxhomj/archive/2012/04/19/2457911.html
Bridge Way Construction Method
A Install Eclipse,jdk,tomcat. This paper takes eclipse3.7.2,jdk1.7.0,tomcat-7.0.27 as an example
Lab environment: Win7 X64 Home Premium Edition
Two We need to configure our Tomcat in Eclipse preferences
Select runtime environment in the server
Note (If you don't have a server
[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
[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
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
Some of the fragmented knowledge of OSGi
The following command explains the content from Eclipse's OSGi framework equinox.
---Controlling the OSGi framework---Launch-start the OSGi FrameworkShutdown-shutdown the OSGi FrameworkClos
worry about this.
Metric SPI
The default vert.x does not log any metric information. The Vert.x returns an SPI for other implementations and what can be added to the classpath. This metric SPI is an advanced feature that enables it to fetch events from vert.x and collect metrics. For more information about this, you can query the API documentation.
In the case of embedded vert.x, using the Setfactory method, you can programmatically specify a metric factory.
This article isGood, osgiThe fourth part of the series. The following describes the osgi service. Readers who are not familiar with osgi can first read what osgi is.Article.
Osgi Service
As mentioned above, the osgi architecture is very suitable for implementing service-orie
It turns out that our programs are based on the Equinox architecture, but later, because of the need to implement the deployment of the war package in the middleware, the implementation of the eclipse-provided bridging approach is used.There's time behind the bridge. I write an article specifically, please refer to Eclipse official documentation for a moment. The main point here is that the bridge has been successful, but the problem is encountered wh
The build of CQ is based on the OSGi container, so the custom code and functionality can be added to CQ via the feature provided by OSGi. To deploy custom code to OSGi containers, developers must package their code as a bundle. An OSGi bundle is just a jar file with additional metadata added. This article details how t
Original URL: http://sangmin214.iteye.com/blog/784131
Chapter 2 proficiency
This is mainly about osgi's modularity. What is atomicity? Generally, why is regionalization so important, and how it will benefit you from future Java development, construction, and maintenance.
Specifically, this chapter describes the metadata of osgi bundle and how to use the metadata to describe the adequacy of your application. Of course, there is another example.
2.1 W
Introduction
OSGi is a java-based, runtime framework that provides dynamic module loading and management, which has been widely used in the industry. The OSGi framework uses Bundle to modularize complex applications. In the OSGi framework, the Bundle lifecycle is managed by the OSGi runtime environment, Bundle in loos
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.