I agree with Marcel, I think it is a good idea. Our example app
creates a very simple swing app that is extensible by bundles:
http://felix.apache.org/site/apache-felix-application-
demonstration.html
It is too simplistic, but it gives you an example to see it all
working together.
-> richard
On Oct 18, 2007, at 3:37 AM, Marcel Offermans wrote:
Hello Jim,
On Oct 17, 2007, at 21:59 , Jim B wrote:
I want to ask a general question about designing from the ground
up a Java Desktop application using the Felix OSGi framework.
Really I'm just looking for opinions as too whether it's a good
use case for it or not. I'm designing two, small, hopefully fast
application in Java. One sort of is a workbench app but I feel
the likes of Eclipse RPC and its massive size as over kill. I'd
like to try keep it under a meg, as far under as I can. My first
intention was to build the core swing application, probably using
the new Application framework (JSR 296?) and then use the Java
Plugin Framework(JPF) to make it extensible. I plan to have the
app run using only the core but be fully extensible. So I could
say, create a new view, like thumbnails for the data display panel
and have all the menus automatically put this option in the views
section so it can be chosen and just work. Then when I have time
I can just stick in new jars to add new features. The core is
obviously the important part and people can start using it once I
have finished the core.
First of all, let me state that I think it's a good use case. In
fact, a while ago I wrote a small article (in dutch, so you
probably can't read it, but I'll provide a link anyway: http://
www.osgi.nl/2007/03/11/framework-voor-de-desktop.html) exactly
about this: how JSR 296 would benefit from being implemented on top
of OSGi.
I look around on the web and sourceforge and I don't see any
project or people talking about projects like this that they have
done using OSGi. Other than eclipse, net beans and things using
their RPC stuff. Is this just to simple a case for the use of
OSGi. I see OSGi as something very useful to learn, and JPF/Felix
are similar in kilobyte size so it doesn't affect my size limit.
In the past I've done some smaller Swing/OSGi applications, some
even open source. Recently we've developed a couple of commercial
ones that unfortunately I cannot show here. None of that is based
on JSR-296 though.
Has anyone done something simple like this, maybe as an open
source project with documentation :)
Perhaps this is something we can start doing? Developing the basic
components for doing a Swing based UI for OSGi. I'm sure others
have an interest in this too, and even for Felix itself it would be
great to have a "management UI" that makes it very easy to monitor
all aspects of the framework.
Or does anyone have any advice, things I should read. Are their
any good books about software design using OSGi?
There are, unfortunately, hardly any books on OSGi.
Greetings, Marcel
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
---------------------------------------------------------------------
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]