[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index] [Newsgroup Home]
[news.eclipse.platform.swt] Is it possible to factor the jni stuff separately from swt ?

What i mean is right now the platform api is done in such a way that it has
intimate knowledge/dependency of jni. If one wanted to separate that
dependency how he should go about ? I am thinking of putting the interface
definition in an interface declaration language (ala com/corba) and generate
the apropriate stubs. I could use aop & gmt to generate the apropriate jni
code. The benefits are :

1) Non dependency on jni.
2) virtualization of the platform api.
3) The underlying bridge could be running on top of corba or anything else
in the future.
4) Simplification of the native library. The monolithic single
(strct.c/swt.c) file could be broken up and made easy to port/maintain.

What are your toughts ? would the swt team accept/contribute to such an
(overwelming) effort ?