<?xml version="1.0" encoding="utf-8"?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd"> <html xmlns:MadCap="http://www.madcapsoftware.com/Schemas/MadCap.xsd" MadCap:lastBlockDepth="2" MadCap:lastHeight="120" MadCap:lastWidth="624" MadCap:disableMasterStylesheet="true" MadCap:tocPath="" MadCap:InPreviewMode="false" MadCap:RuntimeFileType="Topic" MadCap:TargetType="WebHelp" MadCap:PathToHelpSystem="../../../" MadCap:HelpSystemFileName="index.xml" MadCap:SearchType="Stem"> <head><title>Eclipse Plug-In With Db4o Service </title> <script type="text/javascript">/* <![CDATA[ */ window.onload = function(){ var pathToFlash = $('html').attr('MadCap:PathToHelpSystem') + 'Content/Resources/Code/ZeroClipboard.swf'; ZeroClipboard.setMoviePath(pathToFlash); function bindToClipBord(element,content){ var clip = new ZeroClipboard.Client(); clip.setText(content); clip.glue(element); }; if(location.protocol==='file:'){ $('.copylink-marker').remove(); } else{ $('.copylink-marker').each(function(){ var text = $(this).parent().parent().children('.prettyprint').html(); $(this).hover(function(){ bindToClipBord(this,text); }, function(){}); }); } prettyPrint(); }; /* ]]> */</script> <link href="../../SkinSupport/MadCap.css" rel="stylesheet" /> <link href="../../Resources/Stylesheets/OnlineStyle.css" rel="stylesheet" /> <script src="../../SkinSupport/MadCapAll.js"> </script> <script src="../../Resources/Code/prettify.js"> </script> <script src="../../Resources/Code/lang-vb.js"> </script> <script src="../../Resources/Code/jquery.min.js"> </script> <script src="../../Resources/Code/ZeroClipboard.js"> </script> </head> <body> <p class="MCWebHelpFramesetLink" style="display: none;"><a href="../../../index_CSH.html#platform_specific_issues/database_for_osgi/eclipse_plug-in_with_db4o_service.htm" style="">Open topic with navigation</a> </p> <p> <script type="text/javascript">/*<![CDATA[*/document.write('<a href="' + location.href +'">'); document.write("Direct Link"); document.write('</a>');/*]]>*/</script> </p> <p> </p> <h1>Eclipse Plug-In With Db4o Service</h1> <p>The following example was created to show a practical usage of db4o_osgi service. Though targeting a wide auditory, it can be especially helpful to people new to <span class="MCPopup"><a href="javascript:void(0);" class="MCPopupSpot" onclick="FMCPopup( event, this ); return false;" MadCap:src="../database_for_osgi.htm">OSGI<img style="border: none;margin-left: 5px;" src="../../SkinSupport/ExpandingClosed.gif" MadCap:altsrc="../../SkinSupport/ExpandingOpen.gif" class="MCExpandingIcon" onload="if ( typeof( FMCPreloadImage ) == 'function' ) { FMCPreloadImage( '../../SkinSupport/ExpandingOpen.gif' ); }" /></a></span> and plug-in development. </p> <p>In this example we will create a simple Eclipse UI plug-in, which will store notes between Eclipse sessions using db4o as storage.</p> <p>To be able to follow the explanation you will need:</p> <ul> <li value="1">JDK 1.5</li> <li value="2">db4o for Java (<a href="http://developer.db4o.com/files/">download</a>)</li> <li value="3">Eclipse IDE (<a href="http://www.eclipse.org/">download</a>). </li> </ul>More Reading:<ul><li value="1"><p><a href="eclipse_plug-in_with_db4o_service/creating_a_plugin.htm">Creating A Plugin</a></p></li><li value="2"><p><a href="eclipse_plug-in_with_db4o_service/code_overview.htm">Code Overview</a></p></li><li value="3"><p><a href="eclipse_plug-in_with_db4o_service/connecting_to_db4o.htm">Connecting To Db4o</a></p></li><li value="4"><p><a href="eclipse_plug-in_with_db4o_service/testing_memoplugin.htm">Testing MemoPlugin</a></p></li></ul><script type="text/javascript" src="../../SkinSupport/MadCapBodyEnd.js"></script></body> </html>