Re: NETLink - CREATING a new class?
- To: mathgroup at smc.vnet.net
- Subject: [mg45124] Re: [mg45085] NETLink - CREATING a new class?
- From: "ToolmakerSteve" <ToolmakerSteve at shawstudio.com>
- Date: Wed, 17 Dec 2003 07:54:39 -0500 (EST)
- References: <200312161121.GAA24769@smc.vnet.net> <4546.129.27.203.80.1071594228.bloek@pwebmail.utanet.at>
- Sender: owner-wri-mathgroup at wolfram.com
Thanks - I had overlooked that part of the JLink docs. Once I understand what that says, I will consider whether a similar technique in NETLink would help me. I am writing a NET/CodeDOM example - will post shortly. - - - - - You are right: what I REALLY want is Mathematica => NET compilation. I don't need the full symbolic power of Mathematica. I just love the interactive nature of writing software in Mathematica. -- ToolmakerSteve ----- Original Message ----- From: "Werner Schuster" <werner.schuster at netway.at> To: mathgroup at smc.vnet.net ... > J/Link uses some form of what you want by using the Java Dynamic Proxy API; > this allows you to assign Handlers for Methods of a Java Interface; > example: > public interface Foo{ > public void bar(); > } > > Now, say you want to create an object whose class implements type Foo, > that invokes an M_-function when the "bar()" method is invoked; this is > possible > with J/Link (see the details at > http://documents.wolfram.com/v5/Add-onsLinks/JLink/Part1.InstallableJavaCallingJavaFromMathematica/JLink1.2.17.html > )
- References:
- NETLink - CREATING a new class?
- From: ToolmakerSteve@shawstudio.com (ToolmakerSteve)
- NETLink - CREATING a new class?