M
Me
Evening all
I am trying to work out the best way to communicate with an Oracle database
from a .Net CF application. My main requirements are to be able to:
- Execute an Oracle PL/SQL stored procedure designed to return simple/scalar
values.
- Execute an Oracle PL/SQL stored procedure designed to return a
dataset/datatable (via a Ref Cursor).
- Execute an Oracle PL/SQL stored procedure designed to perform
updates/Inserts. In this case the client application will have to forward a
data structure containing all of the field values for a particular record.
All of the database I/O logic is to be encapsulated inside the stored
procedures. Note that there is no need for direct access to database tables.
The dataset will only be used for browse/display purposes.
As it is, remarkably, there are *no* Oracle data providers for .Net CF
applications. So, I am looking for the next best alternative and I am hoping
to develop a solution that will be host platform independent.
So far I know of two possible options:
1)
Write a Web Service, most likely of the XML variety, to run on the host. The
Web Service receives requests from the client .Net CF application and
processes them by executing the appropriate stored procedure(s) and if
necessary, returning data to the client.
2) Create a set of COM "wrapper" classes to be deployed on a middle tier.
The client application can then use these COM objects to perform the
required stored procedure calls and data transfer functions.
In any case:
What development tool(s) / languages(s) would be the most likely to provide
for the goal of platform independence?
Are there any solutions available in the marketplace that can be adapted to
meet specific requirements? eg A web service containing stored procedure
calls. A .Net CF application using the web service.
Does anyone have a preferred solution and if so what are your reasons?
Thanks for your help
Deej
I am trying to work out the best way to communicate with an Oracle database
from a .Net CF application. My main requirements are to be able to:
- Execute an Oracle PL/SQL stored procedure designed to return simple/scalar
values.
- Execute an Oracle PL/SQL stored procedure designed to return a
dataset/datatable (via a Ref Cursor).
- Execute an Oracle PL/SQL stored procedure designed to perform
updates/Inserts. In this case the client application will have to forward a
data structure containing all of the field values for a particular record.
All of the database I/O logic is to be encapsulated inside the stored
procedures. Note that there is no need for direct access to database tables.
The dataset will only be used for browse/display purposes.
As it is, remarkably, there are *no* Oracle data providers for .Net CF
applications. So, I am looking for the next best alternative and I am hoping
to develop a solution that will be host platform independent.
So far I know of two possible options:
1)
Write a Web Service, most likely of the XML variety, to run on the host. The
Web Service receives requests from the client .Net CF application and
processes them by executing the appropriate stored procedure(s) and if
necessary, returning data to the client.
2) Create a set of COM "wrapper" classes to be deployed on a middle tier.
The client application can then use these COM objects to perform the
required stored procedure calls and data transfer functions.
In any case:
What development tool(s) / languages(s) would be the most likely to provide
for the goal of platform independence?
Are there any solutions available in the marketplace that can be adapted to
meet specific requirements? eg A web service containing stored procedure
calls. A .Net CF application using the web service.
Does anyone have a preferred solution and if so what are your reasons?
Thanks for your help
Deej