[4558] in java-interest

home help back first fref pref prev next nref lref last post

linking a java program with existing C dso's

daemon@ATHENA.MIT.EDU (Pramod Rustagi, 415-336-0658, Mana)
Fri Jan 5 21:39:51 1996

Date: Fri, 5 Jan 1996 17:02:13 -0800
From: Pramod.Rustagi@corp.sun.com (Pramod Rustagi, 415-336-0658, Manager, MDE -- Graphics, Imaging, MCAD, HPC)
To: java-interest@java.Eng.Sun.COM
Cc: pramod.rustagi@corp.sun.com


----- Begin Included Message -----

From rustagi@valiant Fri Jan  5 16:46 PST 1996
Date: Fri, 5 Jan 1996 16:46:49 -0800
From: rustagi@valiant (Pramod Rustagi, 415-336-0658, Manager, MDE -- Graphics, Imaging, MCAD, HPC)
To: java@java.sun.com
Subject: linking a java program with existing C dso's
Cc: pramod.rustagi@Corp



folks,

	a) can you point me to documentation/sample on how a
	   java program links with existing libraries,
	   such as a opengl dso, or a math library that have
	   c language bindings ?

	b) since the dso resides on the local machine, and
	   therefore should be "trusted", will the java
	   environment provide simple verification mechanizms,
	   such as do'ing a checksum on the dso file to verify
	   that it has not been modified ?

	c) what is the best approach to engineer an application ?
	   
		1) java program that is linked with a locally supplied dso
		   [the app needs to verify if the dso exists locally,
		   and if not, ask the user to get it and pay for it, etc.]

		2) the app is a native C app that links with the dso 
		   and then is extensible by making calls to java 
		   applets [this would be similar to the way netscape
		   is engineered]

	/rustagi


----- End Included Message -----

-
This message was sent to the java-interest mailing list
Info: send 'help' to java-interest-request@java.sun.com

home help back first fref pref prev next nref lref last post