You are mixing things up a bit. InfoPath is a rich client application, not a Web application. SharePoint comes with InfoPath Forms Services which turns InfoPath forms into web-based forms. Those forms can indeed access a database through an intermediate Web Service described in a UDC file. We use InfoPath to edit all of the data in our database. We developed a Web Service to help others to the same. It's called DBXL. Free downloads exist.