Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Question about JAVA from within VFP
Message
From
17/04/2006 16:42:14
 
 
To
15/04/2006 00:43:39
General information
Forum:
Visual FoxPro
Category:
Coding, syntax & commands
Environment versions
Visual FoxPro:
VFP 9 SP1
OS:
Windows XP SP2
Miscellaneous
Thread ID:
01113488
Message ID:
01114153
Views:
20
>>Since Java is platform independent, this can't be done natively. There are some commercial products that provide Java/com interop. Do a google search on Java com bridge
>
>You could also write a .fll which calls hosts the java runtime and communicates directly with java classes. You don't have the performance hit of marshalling any variable twice (vfp - COM - java) with each call. But it might be reinventing the wheel... BAse rule: write chunky, not chatty code across different runtimes.

Some pointers - Free toolkits:
http://jcom2.sourceforge.net/
http://sourceforge.net/projects/jcom
http://sourceforge.net/projects/jacob-project

Commercial products:
http://www.jniwrapper.com/pages/home
http://www.ezjcom.com/google.html

Hope this helps,
Previous
Reply
Map
View

Click here to load this message in the networking platform