Re: Resource loading: resolver performance tuning

2018-11-15 Thread Jochen Wiedmann
On Wed, Nov 14, 2018 at 6:04 PM Daniel Stoch wrote: > Profiler results for ClassLoader.getResource(String) > https://dl.dropboxusercontent.com/s/e69xav1dogwch4o/GetResource_profiling.zip?dl=1 That link doesn't work (at least not for me) Jochen --

Re: Datasource with Apache Felix.

2014-12-17 Thread Jochen Wiedmann
The problem with the easy/flexible/enterprise ready container on top of the framework is, that a real lot of users (including me) cannot use it, because their applications *must* run within a difficult/inflexible/enterprise ready 10 years ago container. Or, in other words: A solution must be availa

Re: OSGi and JDK8 Status?

2014-01-24 Thread Jochen Wiedmann
On Wed, Jan 22, 2014 at 8:56 PM, Mark Derricutt wrote: > > So far AFAIK: > >- maven-scr-plugin broken due to ASM 5 not being released, so doesn't >support new bytecode > > ASM 5.0-beta is out. Why not use that? -- "That's what prayers are ... it's frightened people trying to make frie

Re: ClassLoader creation

2012-05-02 Thread Jochen Wiedmann
ach bundle, > this appears to match your requirements. > > Neil > > Jochen Wiedmann > 2 May 2012 12:06 > No suggestions? > > On Wed, Apr 18, 2012 at 8:55 AM, Jochen Wiedmann > > > > Jochen Wiedmann > 18 April 2012 07:55 > Okay, let's try a n

Re: ClassLoader creation

2012-05-02 Thread Jochen Wiedmann
No suggestions? On Wed, Apr 18, 2012 at 8:55 AM, Jochen Wiedmann wrote: > Okay, let's try a new start: > > Suggest, that I am implementing a J2EE container, like Tomcat, or > Jetty (in fact, Tomcat is the background I am asking) and would like > to see it running as an OSGI

Re: ClassLoader creation

2012-04-17 Thread Jochen Wiedmann
s, Jochen On Fri, Mar 30, 2012 at 8:04 PM, Nick Baker wrote: > On 3/30/12 12:41 PM, "Bram de Kruijff" wrote: > >>On Fri, Mar 30, 2012 at 5:54 PM, Jochen Wiedmann >> wrote: >>> 2012/3/30 Holger Hoffstätte : >>> >>>> I don't know if

Re: ClassLoader creation

2012-03-30 Thread Jochen Wiedmann
2012/3/30 Holger Hoffstätte : > I don't know if that is "what you want" (or not), but it is certainly not > what would happen. :) The Bundles will be installed into the framework as > if installed "manually", and each will have its own classloader. > Essentially you will play the role of a deploym

Re: ClassLoader creation

2012-03-30 Thread Jochen Wiedmann
On Fri, Mar 30, 2012 at 1:02 PM, Felix Meschberger wrote: > If sou, you would just open an InputStream to those JAR files and had it over > to BundleContext.installBundle(String, inputStream) where string would be an > URL (or an URL like identification, for example the URL from where you got

ClassLoader creation

2012-03-30 Thread Jochen Wiedmann
Hi, being a complete novice with OSGI and Felix, I wonder how to properly port the following code: final URL[] urls; //List of jar files, which are downloaded from a server. final ClassLoader parent: final ClassLoader cl = new URLClassLoader(urls, parent); The idea being, of cour