Making & Running Pure Java Applications
Posted on 1998-07-29
Let me write you a little preface:
We want to migrate the major of our Microsoft client plataforms to X-Windows subsystem (just PCs with Linux) , and we have to re-write all the frontend Apps (now in Borland Pascal For Windows) into X-Windows, there are 2 options (by now):
1) Make a framework for the GUI(to X-Windows and MS-Windows) who maps the "painting" calls into the target plataform, in C++ language.
2) Make the client Apps directly in JAVA.
I prefer the second way, because of the support, portability and so on.
I got the jdk1.1.6 for Linux but when I make an Application (now a day I am writing the Apps just with vi, sure I will look for a good EDI) the Interpreter (java or jre) takes 22Mb size in memory! (Is there a super malloc for the bytecode?, what is this?), I know that is the JVM and so on, but is there other way to run the Apps?, I have seen J++, Turbo J, etc., what Is all about?.
The frontend machines are i486-DX33 8Mb running MS-Windows 3.11 and our Apps, and will migrate to Linux with X-Windows, but
If a simple program takes 22Mb size, the linux box will freeze with our 20 frontend Apps!
These frontend Apps needs our network binary protocol, Is there any problem to implement a class in Java just for read binary structs from the sockets (I think not, but you?)