Is it possible to use a COM API to query / update a database rather than going directly to the tables?
We have an application that has a COM API that has the business rules / validation etc.
We can use the Query method to read data from the database, the Replace , TableUpdate method to write data back etc.
Is this possible?
Are we able to map the methods and properties directly into Servoy and access them?
Cheers
David
IT2Be
2
Yes, that is possible but you would need java<->com bridge libraries for that.
When you have that the challenge will be:
-
find the correct com functions to address.
-
generate a .dll
-
create a plug-in using the .dll
-
deploy the dll
-
will take time.
-
is an automated process
-
not much different from creating any other plug-in
-
is pretty straight forward ( once you know what to do
).
Hope this helps
You can look for the jacob.jar and jacob.dll, which is an open source solution for connecting Java applications to a Windows COM OLE application.
If you google you will find the site http://danadler.com/jacob/ en other websites on the subject as well.