, RPC software company decided to use open source software as the foundation of the solution. RPC Software's product line has an ERP rich-client/server-side component based on Eclipse RCP and Apache Tomat Technology, a web-based project management solution based on open source Dotproject PHP applications, There is also a forthcoming web-based CRM product based on open source SugarCRM.
For project management and CRM products, a web-based solution is chosen because there is no need to install a
When referencing a jar package, if it is a package referenced in the project, it needs to be MANIFEST. MF Inside definitionOne, external jar:For example: The external package reference needs to be defined in the import packages, such as: Google-gson-2.2.2.jar I need to reference this external package,need to add a line in the import package: com.google.gson;version= "2.2.2", here is a noteworthy place, as follows (this is collected online, specifically I did not practice):Bundlea:Import-package:
Virgo server's simplest spring Web instance based on OSGi
One: the development tool downloads and the environment constructs
1. Download and install the jdk6u30 version, download the following address:
Http://www.oracle.com/technetwork/java/javasebusiness/downloads/java-archive-downlo
Ads-javase6-419409.html#jdk-6u30-oth-jpr
2. Download and install the Springsourcetools Suite Development IDE Tools version 2.7.2.RELEASE, download the address:
http://d
Reprint please retain the author information:
Author: 88250
blog:http:/blog.csdn.net/dl88250
MSN Gmail qq:dl88250@gmail.com
SummaryThe last time we learned about the background of OSGi and used NETBEANS6, we completed the first OSGi application--firstosgi based on Knopflerfish (an RI of OSGi). This time, we'll do a little bit of research on
It looks normal when you are working directly with the plugin that you are developing. But when the export was put into eclipse, there was something wrong with the plugin running. This time you need to debug the plugin in the console of OSGi, this article will tell you how to debug the Eclipse plug-in simply (the plugin has been exported).1. Send the eclipse.exe of the eclipse that was placed into the plugin to the desktop shortcutPS: I developed the
bit and this demand is not very fitting, In particular, the Jini itself is a service framework that is not very powerful, if adopted it will cause also need to transform, stripped of its service that block of mechanism or do compatibility, and Jini in use for Jini itself is too dependent on the package, which we expect the Pojo mechanism is very troublesome, of course, Jini is not without merit, if you look at the Jini implementation framework of the visual services of the monitoring end, it is
1. After the packaged product will have an. exe file, create a new shortcut, right-click Properties, will pop up a window, in the window can find the target of a column2. In the back, add some parameters to run, here we need to add a-console3. When you are sure, use this shortcut to start the product3. There will be a console pop-up that can be viewed on this console to see how the plugin is running4. osgi> SS can see the operation of all plugins.Note
It seems the environment works properly, but I get the "error every time I open the program.
Here is the log:
! MESSAGE An internal error occurred during: "Enable Debugging and Flush log Cache". ! STACK 0 java.lang.noclassdeffounderror:org/eclipse/osgi/framework/internal/core/frameworkproperties at Com.aptana.core.util.EclipseUtil.setPlatformDebugging (eclipseutil.java:449) at Com.aptana.core.CorePlugin.enableDebugging (coreplugin.java:110) at com.apt
The STS and Virgo environments have been configured above, and the Virgo server can be successfully run. Next we will use STS to build several projects.
We simulate an example of registration. In our actual case, data is sometimes written to the
Next we will create a web project. For simplicity, We will directly use the template in Virgo to create a new project. The control layer uses spring MVC 3.Create a WEB Project
Open STS and create a project. Select sprinng template project.
Scene:
1 levels of small to release skills, there are now 2 skills to choose from, Avalanche (V) and Toss (T), because it is a small 1 level, so you can only choose 2 skills of 1.
Creation of 4 bundles
Com.ferry.ability.api There is only one skill
Superpixel was originally presented by Xiaofeng Ren (ICCV 2003), but I have not yet found the source code for this original idea on the web; it's easier to get Greg Mori (CVPR 2004,ICCV 2005) based on The Xiaofeng ren algorithm does the code https:/
Servicelistener of three states:
serviceevent.registered
serviceevent.modified
serviceevent.unregistering
Demo for service lookup based on Servicelistener
Provider
Student-manage/activator.java
Package com.demo.service;
Import
At present, only the basic functions have been done, such as:
Separate AppDomain containers for each module
Activator activation
Exported service Checks
However, although this, but the current version has been able to achieve module separation,
We introduced the most basic environment (STS+VIRGO) needed to develop a modular web in Java, and this section describes how to integrate snaps into Virgo and demonstrate several official demos. 1. Preliminary knowledge
What snaps is.
You can refer
logs. If Log service is unavailable at this time, what will happen?
Assuming that the service can be dynamically loaded and unloaded during operation, the client should be able to cope with situations where the service does not exist. In this case, it may be able to intelligently move to another mechanism (such as output to standard output), or wait for the Service to be available in a blocked state (not a good answer for the logging system ). However, it is impractical to make the service avai
In fact, the root cause of the tangle is that the built-in eclipse in myeclipse cannot find the myeclipse path. Make sure that the myeclipse root directory is under an English folder. The specific modification address is as follows:
Directory/myeclipse 6.0/Eclipse/links/COM. genuitec. Eclipse. myeclipse. Link
Detailed error details:
! Session 2010-03-06 09:48:03. 984 -----------------------------------------------Eclipse. buildid = M20070921-1145Java. Version = 1.6.0 _ 17Java. Vendor = Sun Mic
-line arguments:-application teshost. application-data D: \ work \ src /.. /runtime-teshost.application-dev file: D:/work/src /. met Adata/. plugins/org. eclipse. PVDF. core/teshost. application/dev. properties-OS win32-ws win32-arch x86-consoleLog! ENTRY org. eclipse. osgi 2 0 2011-11-22 22:58:21. 360! MESSAGE One or more bundles are not resolved because the following root constraints are not resolved :! SUBENTRY 1 org. eclipse.
be managed remotely. OSGi technology was initially focused on embedded areas, such as set-top boxes, service gateways, mobile phones, and other application environments. But it works perfectly for any modular, component-oriented, service-oriented project. After Eclipse V3.0 uses OSGi as its modular and dynamic platform, it designs the Equinox kernel and uses
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.