On Wed, Jun 04, 2008 at 09:31:54AM -0400, Craig Phillips wrote: > Hi, I am a developer using OSGi (preferably Felix and Newton); I am doing a > lot > of research/development and have some ability to go off and explore a feature > set; > > I have done more than my fair share of JNI work over the years; I even wrote a > rather encompassing briefing on JNI, but it’s rather dated (circa jdk1.3/ > jdk1.4), so I probably am missing out on generics/typing, but that’s a > tangent… > > I would like to explore the OSGi capabilities as expressed in section 3.9 of > the OSGi R4 core spec, regarding native bundles; I must say, reading the spec, > I like what I see in terms of the framework’s ability to auto-determine the > native library to load based on metadata and environmental factors; > > I was wondering if someone could reply/attach/mail/URL me some sample code… > unit test / hello world level code is fine… I just want something that gets me > started… As for platform, I’m sort of doing cygwin/C++/gnu on a windows box > (XP > and 2000) although I have a linux/ubuntu load available to me; > > Much appreciated, Craig Phillips, Praxis Engineering >
One, example is the Knopflerfish comm-win32 bundle (also made around the time of JDK 1.3/1.4): https://www.knopflerfish.org/svn/knopflerfish.org/trunk/osgi/bundles_opt/serial/comm-win32/ A similar bundle for Linux (commm-linux) is available in a sibling directory: https://www.knopflerfish.org/svn/knopflerfish.org/trunk/osgi/bundles_opt/serial/comm-linux/ BR, \GE _______________________________________________ OSGi Developer Mail List [email protected] https://mail.osgi.org/mailman/listinfo/osgi-dev
