Link to home
Start Free TrialLog in
Avatar of shailendrapn
shailendrapn

asked on

Connecting to Oracle from .net compact framework on pocket PC

can we connect to oracle database from a pocket pc using .net compact framework, if so can you tell me how
Avatar of testn
testn

I would say that it is very unlikely since Oracle core client library in PC is kinda big (100MB++), it should not be able to fit in and I've never heard that before. However, you can use SOAP/WebServices to send the SQL statement/result instead.
Yes you can, building a .net remoting object on a server, or a XML Web Service

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconchoosingcommunicationoptionsinnet.asp

If you use a XML Web Service you could be able to make the class to access to your database and use that class to get the data from your Pocket PC. After this, the client (Pocket PC) can use those class from the server by creating a Proxy class and connecting by the internet.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconwebservicesoverview.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/vsent7/html/vbwlkwalkthroughbuildingwebservicewithmanagedcode.asp

Also, you can build a Com+ remoting object, it's just as the same as a XML Web Service, but it's throught a network and it's more flexible than a XML Web Service, and faster.

http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconservicedcomponentexample.asp
http://msdn.microsoft.com/library/default.asp?url=/library/en-us/cpguide/html/cpconservicedcomponentoverview.asp

Hope it helps
Avatar of shailendrapn

ASKER

Hi Dranizz,

  Thanks a lot for the comment you have posted for my question. But what i was looking at was is there any other possible way to connect to oracle database without connecting through a webserver. I mean is there any way to connect directly without using a webserver to a remote machine.

Thanks testn also for replying kindly help me further
Avatar of Bob Learned
No comment has been added lately, so it's time to clean up this TA.
I will leave the following recommendation for this question in the Cleanup topic area:

PAQ with points refunded

Please leave any comments here within the next seven days.
PLEASE DO NOT ACCEPT THIS COMMENT AS AN ANSWER!

TheLearnedOne
EE Cleanup Volunteer
ASKER CERTIFIED SOLUTION
Avatar of Computer101
Computer101
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial