[udig-devel] Known performance issues when adding JAI en JIO to libs plugin?

Jesse Eichar jeichar.w at gmail.com
Thu May 8 03:49:39 PDT 2008


That is fine for certain solutions if you know that your users have  
Java 5 installed correctly.  However we do not know that so we want to  
provide the JRE for simplicity.  Also many people have a reflexive  
negative reaction to desktop java applications.  This allows uDig to  
not appear to be a Java application so those people will actually try  
it and hopefully get hooked before realize it is a Java application.

As for performance issues, as long as the native libraries are being  
used it should be fine.  To make this work you have to make a fragment  
for every different platform you want to deploy on and put the  
binaries in that fragment.  Also this will likely make it impossible  
to break libs up into different jars as the way that JAI looks up  
plugins is not eclipse friendly and therefore must be in the same  
plugin as all the code that need to look up JAI plugins.  For example  
The export to image code would likely fail to work correctly.

Mind you this is partly speculation but I expect it to be true.

Jesse

On 8-May-08, at 11:39 AM, Johan de Koning wrote:

> Hello,
>
> I was wondering if performance issues are known when adding the JAI  
> library and JIO libary directly to the libs plugin? This way a JRE  
> with these extensions should not be provided to the user keeping  
> uDig smaller. This solution is also needed to get uDig working with  
> Webstart (still planned to write a document about how to get that  
> done, because it is working).
>
> I added the libraries and it looks like it has the same speed. I now  
> used to windows version of the jars so still native parts are used.  
> For the final implementation different fragments should be created  
> for the libs plugin to add the correct (native) version of JAI and  
> JIO according to the operating system.
>
> But first i wanted to know if somebody used the same solution and  
> found really big performance issues?
>
> Bye
>
> Johan de Koning
>
> BTW i added the following jars to the libs plugin
>
> clib_jiio.dll.jar
> clib_jiio_sse2.dll.jar
> clib_jiio_util.dll.jar
> clibwrapper_jiio.jar
> jai_codec.jar
> jai_core.jar
> jai_imageio.jar
> mlib_jai.dll.jar
> mlib_jai_mmx.dll.jar
> mlib_jai_util.dll.jar
> mlibwrapper_jai.jar
>
>
>
>
> _______________________________________________
> User-friendly Desktop Internet GIS (uDig)
> http://udig.refractions.net
> http://lists.refractions.net/mailman/listinfo/udig-devel



More information about the udig-devel mailing list