Search code examples
javascriptbrowseribm-midrange

How to connect to an AS/400 system from a chrome (or other) browser using javascript?


I would need to connect to a database that is in a AS/400 system using just a browser, at least in Chrome, but without any plugins/extensions.

If it's possible you may post a link to a page or show an example of how to implement it. I've been searching on Google but no luck :s

Update:

Even using some plugins/extensions is not possible?

Thanks (:


Solution

  • No web browser can connect to a remote database directly, unless the DBMS happens to support HTTP (if there are any, I'm not aware of them). Browsers use HTTP for network communications. DBMSs use their own proprietary protocols. To use a browser to access a database, you need some sort of intermediary server on the computer hosting the database that bridges between HTTP and the DBMS.