I want to generate a web component from an existing PowerBuilder application. I may design the web pages in whatever scripting language I choose (ASP/PHP/JSP). I want to design a component that will act as a bridge between my web pages and my PowerBuilder application.
As an example, suppose I have a web page. When the user clicks on a link on this page, it will re-direct the URL arguments to my component which after receiving the arguments communicates with the application, fetches the data that need to be displayed, constructs HTML string from that data and returns the string to the web page which then displays it for the user.
How can I build the component? The Application was written using PowerBuilder 10.5, and I may write this component in PowerBuilder 12.NET or PowerBuilder 12 Classic if need be.