Gerry Giese
Posts: 18
Nickname: gerryg
Registered: Feb, 2003
|
|
Re: Should Linux and Java be Merged?
|
Posted: Feb 28, 2003 4:24 PM
|
|
I'll admit I haven't thought this completely through, which is part of why I opened up the question. What would be the benefits? What would be the costs or tradeoffs? As you say, combine might be the best word, but what combinations [i[]would[/i] make sense?
I brought up the example of the Java implementation on the Sharp Linux-based Zaurus as an example (PersonalJava implmented by JeodeRuntime, Linux implemented by Lineo Embedix). I encourage you to read the following before continuing:
http://www.zaurus.com/dev/support/jaav.htm http://www.zaurus.com/dev/support/downloads/architecture.pdf http://wireless.java.sun.com/personal/articles/ztutorial/
Especially if you look at the architecture document, there are a number of things that Java could take the place of. And because of the dynamicly extensible and internet-aware nature of Java, writing new apps or just extending existing ones is very easy.
I'm not in any way proposing that Linux or X apps be replaced, unless it makes sense for the target. Where I see a good Linux/Java comination is the gray area between PDA and full-blown desktop, and specialized vertical-market solutions, such as medical devices, POS cash registers, kiosks, TIVO, PC-to-Home Theatre integration devices, etc.
I would still like to see a Java window manager for Linux if the performance issues could be solved (Java 1.5 will supposedly take care of a lot of GUI and memory-related performance issues). But I wouldn't necessarily want it to run ONLY Java apps. But the ability to have Java apps be "native" to the environment, or rather have the environment be highly "Java-aware", would be useful.
The reason for this is that it is easy to write many basic types of applications in Java, even GUI and internet apps. And doing so is much less complicated than dealing with gcc and bunches of libraries. It brings things that much closer to the average Joe being able to do something cool or useful on his desktop to "scratch the itch" that we always talk about open source developers having.
Adding some integration, combination, or whatever between Linux and Java, through the window manager or whatever mechanism, makes for a very powerful environment to live. The complexity of developing for Qt/KDE or gtk/Gnome is beyond many people, so the accessability of Java is in my mind an important thing to have on a Linux box, whatever size/shape/application function it is.
So the issues then are, I guess, how to get the JVM to be more a part of linux, the x system, the window manager, whatever, and how to tune it for more performance, possibly by coupling it the kernel or some of the service layers that run just above it. Java could be inserted at any of a number of levels, but the question of course is which one makes the most sense in terms of performance, stability, security, and usefulness to the end user.
Am I making any sense now? I may have approached this in a way that seemed silly, but I really don't think it is. I just see so much potential in a Java/Linux hookup that I keep wondering what would be the best way to do it, and whether it could be done well for everyone or would need to be more specialized, as mentioned before.
I believe that Java just needs to move from being purely in the application layer (as an application itself) to being something that applications run on (much like a servlet or EJB container). By moving "deeper" it becomes more useful, in my opinion. The original JavaOS efforts I think, as you were probably thinking I was suggesting, went too far into the deep end thinking that the JVM should be an OS. But leaving it up in the shallows doesn't seem to be the right thing to do, either, at least on the desktop, because then it can't swim as well.
Thanks for your reply, Tobias! Keep up with the reality checks if you still think this is a stupid idea.
|
|