dbTalk Databases Forums  

VFP calling JAVA

comp.databases.xbase.fox comp.databases.xbase.fox


Discuss VFP calling JAVA in the comp.databases.xbase.fox forum.



Reply
 
Thread Tools Display Modes
  #1  
Old   
Ernie
 
Posts: n/a

Default VFP calling JAVA - 11-16-2004 , 11:31 AM






Hello,

My question concerns calling JAVA from VFP. Our comany has
applications in many languages. We have applications in Oracle and
Visual Foxpro as well as Web applications in JAVA. In our VFP
applications we take advantage of Windows automation to control
Outlook, Word and Excel. We are currently exploring alternate ways to
Send and retrieve email information and attachments using Foxpro.
We have a JAVA email "procedure" (not sure what they are called in
JAVA) that can retrieve the body text and attachments from email as
well as send Emails.

I don't have a good undertanding of JAVA so I may be talking apples
and Oranges here but that being Said.

Does anyone know how to call the Java "procedure" from Foxpro?

Can this be done the same way you would call an ORACLE stored
procedure using ODBC?

Reply With Quote
  #2  
Old   
swdev2
 
Posts: n/a

Default Re: VFP calling JAVA - 11-16-2004 , 09:08 PM






Ernie -
there are good libraries that work with vfp already that can handle email
processing and parsing.

BUT ? lets assume for the moment that your Java Camp assumes that their
'codebase' is re-usable.
You Can TRY it from VFP, provided the 'proper' java run times are installed
..
and the 'thing' written in java is 'encapsulate-able' from VFP.

Specifically - for this question ->
Quote:
Can this be done the same way you would call an ORACLE stored
procedure using ODBC?
the answer is NO .
but ?
look at the concept of calling a non-vfp class library ...
the instantiation is similar, if not the same .

hope others will chime in and give you some more serious answers ..
warmest regards [Bill]

--
William Sanders / Electronic Filing Group Remove the DOT BOB to reply via
email.
Mondo Cool TeleCom -> http://www.efgroup.net/efgcog.html
Mondo Cool WebHosting -> http://www.efgroup.net/efglunar.html
Mondo Cool Satellites -> http://www.efgroup.net/sat
VFP Webhosting? You BET! -> http://efgroup.net/vfpwebhosting
mySql / VFP / MS-SQL

"Ernie" <erndogwatson (AT) yahoo (DOT) com> wrote

Quote:
Hello,

My question concerns calling JAVA from VFP. Our comany has
applications in many languages. We have applications in Oracle and
Visual Foxpro as well as Web applications in JAVA. In our VFP
applications we take advantage of Windows automation to control
Outlook, Word and Excel. We are currently exploring alternate ways to
Send and retrieve email information and attachments using Foxpro.
We have a JAVA email "procedure" (not sure what they are called in
JAVA) that can retrieve the body text and attachments from email as
well as send Emails.

I don't have a good undertanding of JAVA so I may be talking apples
and Oranges here but that being Said.

Does anyone know how to call the Java "procedure" from Foxpro?

Can this be done the same way you would call an ORACLE stored
procedure using ODBC?



Reply With Quote
Reply




Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off



Powered by vBulletin Version 3.5.3
Copyright ©2000 - 2012, Jelsoft Enterprises Ltd.