Comments on Native C Methods
Advantages
- May call resources available from C
- Window/Graphic Systems
- Database
- Networking and Other Third Party Libraries
- Higher performance as compiled (always) and as C (advantage with todays compilers)
Disadvantages
- Classes with native methods, or library linking calls, may not be downloaded across the network.
- Libraries may not be downloaded across the network.
- Programmer must write a native library for every platform used.
So usually user defined native method can not be used remotely in Applet.
- Can pre-download as a plugin