The initial reaction most people have to developing a web application
in COBOL is very negative!
In general, I agree, and recommend not using COBOL for front end web development simply
because there are other tools that come with a lot of pre-packaged support for
building this sort of application. Support generally comes through library
add-ons and pre-built interfaces to web services. The
implementation language itself is less important.
As one example, Ruby on Rails is an
application framework based on the MVC model using Ruby (language)
to "glue" it all together. A fair bit of your development effort evaporates
as long as you stick to the Rails framework. However, break the framework
and it might very well break you. I see using frameworks such as Ruby on Rails
ideal for new development where you control everything from the ground up.
Your situation may be somewhat different. If I have understood correctly, you
have a base of COBOL applications and a mySQL database that need to be integrated into
a new web application. The Rails framework may or may not be particularly
useful in this context. It all depends on how you "meet in the middle". It is
a fairly common industry practice to use strong web-enabled tools to front-end
web applications with COBOL based back ends. Making the two come together
is a fairly platform specific art form.
The same comments apply to any other web application framework and tool set. I just
used Ruby on Rails as an example. Bottom line is that not many people (me among them)
have given much thought to fronting a web application using COBOL.
Not withstanding the above, I noticed that you are using openCobol in your shop.
This could make building
a COBOL only solution a reasonable prospect. Unlike many COBOL implementations,
openCobol comes "web ready" and
has a database independent abstract layer
so getting at your mySQL database should be quite painless.
Web readiness is partly a consequence of openCobol using the
C Application Binary Interface (ABI). The C ABI should greatly facilitate working in a
mixed language environment and makes interacting with a CGI (Common Gateway Interface) pretty
much trivial; as can be seen from this example.
OpenCobol makes building a web application feasible, but is it practical? As noted earlier,
unless there is a documented web application framework in place to draw upon, you
will end up doing a lot of it yourself. I think you may have already come to this
conclusion when posting your question. As far as I can tell, developing such a framework
is also feasible but does not yet exist. If you go forward with this project,
maybe you could contribute toward developing a web application framework for openCobol.
I found the "Cobol on Cogs" reference in the accepted answer
a little unfair, you asked a serious question
and deserved a completely serious answer. This type of reference probably reflects a bit
of "red necked" closed mindedness toward COBOL (Yes, I'm ready for and expecting
down votes on this one).