Basic HTML version of Foils prepared 18 May 97

Foil 41 Comments on Native C Methods

From Java Tutorial - Spring 1997 Part 4: Multithreading, useful Java classes, I/O, Networking, and the future Peking Tutorial, Web Certificate -- Spring-Summer 1997. by Nancy J. McCracken,Geoffrey C. Fox


1 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)
2 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.
3 So usually user defined native method can not be used remotely in Applet.
  • Can pre-download as a plugin

in Table To:


© Northeast Parallel Architectures Center, Syracuse University, npac@npac.syr.edu

If you have any comments about this server, send e-mail to webmaster@npac.syr.edu.

Page produced by wwwfoil on Thu Jan 8 1998