Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Can VFP interface with Java API?
Message
 
À
24/05/2005 14:25:08
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Versions des environnements
Visual FoxPro:
VFP 9
Divers
Thread ID:
01017191
Message ID:
01017618
Vues:
20
I am not a expert but I have a little project experience. And we are lucky that there are a couple of very experienced Java engineers here, but they usually respond to very specific questions (with code examples). But they're here!

My short answer: Yes, you can.

There are some frameworks availabale (West Wind / ActiveVFP)that can integrate VFP with ASP (and NET). They are double-excellent products built specific for high end VFP poered server applications. This is one avenue.

Are you doing a SCORM project?

My Java API project required I build a JavaScript "API" (a "find object" loop in the content would assure "API" instanciation and then allow script to refrence functions in the "API") to replace a "sample" java class (and activeX) and jsp/Apache implementation. The "legacy" stuff is/was java classes and jsp. The project required only ECMA (JavaScript) and did not allow for server pages. A benfit of doing some projects without a "Server Page" layer may be that the overhead required for state management is shifted from the server to the client.

If this is a "browser" interface, and the "utility" is instanciated in the browser - you can, as I have, use a foxISAPI COM (IIS) to "build" and return script to the browser that will take advantage of the "utility" (and use everything as is!). You may also be able to instanciate the object on the server for your processes. With foxISAPI you would not need a framework. But they (ActiveVFP and West Wind) are good products (and they too, are all over the world!).

If this is a desktop interface (a form) there are other ways to get stuff from a server or server activex controls,also. There is an extensive "library" of MSDOM Document objects that do all sorts of things, and to use them all we have to do is:
oMyOject=createobject("OneOftheManyMSDOMObjects") (and we can do it right inside our VFP apps!)

Before going further (and putting foot deeper in mouth) - what does the project do? What does the "utility" do? What does the vendor's example instanciation code look like. What is the architecture - or what is planned for it? Do you already have ASP and or a fox web services framework installed? Do you require or need a server page engine?

Is it a desktop interface or a browser interface?

Does the vendors "utility" require an Apache Server or Sun Java's Object installed?

I think your vendor is correct - Java is everywhere and it is 100% W3C. You will have to sweat - but you will learn a bunch from this and take a whole lot more away from the table. It's not a job, it's an adventure!:-)
Imagination is more important than knowledge
Précédent
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform