Augusto Sellhorn wrote:
Now, what about version ranges? More specifically, let's say I want to restrict this to say ONLY support version 1.8 of that package? I can do this manually like this;
Now, is there a way to tell the plugin to do this and maybe other variations, without me needing to type in all possible packages for my project?
Augusto Sellhorn wrote:
Richard S. Hall wrote:
The simplest approach is to create one big self-contained bundle, but it depends on your situation.
You mean embedded jars in the bundle? We ended up having to do that after bnd wrapping all dependencies wouldn't work in all cases.
Migue Carvajal wrote:
We have had some trouble using third party libraries in OSGi. Sometimes, our approach has been "bundlelize" the library, and this has revealed new troubles related to dependencies with other libraries, this end in a very big bundle containing a lot of dependent components.
Do you recommend any strategies to cope with this situations?
Migue Carvajal wrote:
Regarding to mobile phones and tablets, do you think Android is adequate to deploy OSGi over it? Is it possible to run OSGi in J2ME platform?
Thanks in advance,
Augusto Sellhorn wrote:As I mentioned on another thread, I do consider OSGi a type of SOA system, if you don't go with the misconception that SOA is all about Web Services.
I think a lot of OSGi folks see it that way too;
http://www.osgi.org/blog/2007/09/soa-osgi.html
Gurmeet Jabbal wrote:How is OSGi different from SOA?
Chaminda Amarasinghe wrote:
What is the best definition for OSGI?
Is that a Framework or Model?
Don Scott wrote:Many of our apps use a javaagent to do some loadtime weaving with ASM. Since OSGI has a sort of start/stop available status for a module, how much does this affect the bytecode weavin? Is compile time weaving even possible in a generic way yet ie. not just an Equinox solution?
Pradeep bhatt wrote:What happens when bundle1 dependent on bundle2 is shutdown. Will runtime exception be thrown ? One more question, if changes are made to argument passed to bundle 2 from bundle 1 I guess it wont get reflected in the caller's object, I mean is it similar to RMI calls ?
Pradeep bhatt wrote:Thanks authors. what about .NET langauges like C# ? Is modularity taken care of there ?
Pradeep bhatt wrote:I think it make sense to use ogsi when we need to maintain multiple versions of applications. Each version deployed as a bundle. Do you agree with this author ?
Pradeep bhatt wrote:
Wouldn't it burden the deployer to specify the external depedency. There is a chance it may be missed because the code uses say class.forname(..)
Raghavan Muthu wrote:
I have not heard of OSGi so far. Had been browsing the threads here and somehow could get that OSGI is a platform for addressing the modularity issues in Java based applications.
1. Is that modularity in terms of packaging alone? or anything else?
Raghavan Muthu wrote:
2. Conceptually, how does the OSGi work?
Raghavan Muthu wrote:
3. Would there be any issues with scalability of my Java application? If so how do I address them?
Augusto Sellhorn wrote:Ok, ok, XML was a bad example :-) I'm not a fan either, although you all know Declarative Services, Blueprint and Spring DM all use XML right? :-)
Augusto Sellhorn wrote:What I meant is the MANIFEST.MF file is kind of like Makefiles, it's sentitive to space indentation in some cases. For example, if you new line a long package you have to add a space (" ") to continue the line. I just tried it again to double check.
Although I admit it has gotten better, I could swear at one point if you didn't have an extra line or some other nonsense at the end of the MANIFEST file it wouldn't parse it correctly (just tried that and it didn't cause problems).
BTW Jigsaw doesn't use XML, their format looks like compilable source.