Advertisement
Promo

Office applications Toolkit

Web-enabling COBOL applications

Keith Mante Builder.com

Published: 14 Aug 2002 19:25 BST

  • Email
  • Trackback
  • Clip Link
  • Print friendly
  • Post Comment

Many enterprises have generated COBOL applications involving huge investments in both money and resources over the last 20 years. The last thing they want to do is throw this investment away and rewrite it all in Java.

They may also have newer systems already written in Java or have a desire to take advantage of Java for less business-oriented, new application development.

A typical example of how this situation materialises for the IT manager is delivering Web access to legacy applications and data. Organisations need to deliver their existing COBOL business logic and extend it to the Web.

But how can you integrate new Web development technologies with existing legacy code and reuse, rather than rewrite, existing business logic? Take advantage of Enterprise JavaBeans (EJB).

In the past, the interfaces and capabilities of Web application servers differed considerably. A common attribute was that they typically targeted Java or C++, making it difficult for COBOL applications to use them. In recent years, with the growing prominence of the EJB model, application servers have begun to support EJB. The EJB model can deliver existing COBOL business logic and use Java classes from COBOL to establish interoperability between Java and COBOL.

Although Java and COBOL interoperability has long been possible, it hasn't been easy. A mechanism called the Java Native Interface (JNI) is built into the Java platform that allows Java methods to call non-Java (or native) methods. JNI is powerful, but it's not intuitive, especially for COBOL programmers. JNI lets COBOL and Java mix easily, and COBOL applications can be wrapped as EJB. This creates an infrastructure that provides a strategic platform for extension and maintenance of legacy applications.

Calling legacy COBOL programs from Java and EJB provides a fast way of making COBOL business logic available to Java programs. Using toolsets and wizards, developers can easily create COBOL-wrapped EJB and COBOL classes for use as an EJB. By calling on an organisation's business logic within COBOL-wrapped EJB, the benefits of an application server environment are combined with the performance gain of compiled COBOL code.

The ability to integrate new Web development technologies with existing legacy code and to reuse, rather than rewrite, existing business logic, lies in unleashing the power of EJB to preserve the investment you have in your existing COBOL applications.


Have your say instantly in the Tech Update forum.

Find out what's where in the new Tech Update with our Guided Tour.

Let the editors know what you think in the Mailroom.

  • Email
  • Trackback
  • Clip Link
  • Print friendlyPrint with EPSON

Did you find this article useful?
302 out of 340 people found this useful


Full Talkback thread

0 comments

Company/Topic Alerts

Create a new alert from the list below:










Video icon

Video

Discussions

CA CA

Not that I use it....

Friday 18 December 2009, 1:35 AM

1 comment
CA CA

Good...

Friday 18 December 2009, 1:24 AM

1 comment
CA CA

Bottoms up..

Friday 18 December 2009, 1:17 AM

2 comments
CA CA

yup..

Friday 18 December 2009, 12:16 AM

7 comments

Vista Upgrade Blog

Tinsel on the TARDIS

There were shepherds on the hill, and the Doctor popped his head out of the TARDIS and said "you might want to see this" and they were astounded. WHY do we pay for a TV license?... More

Post a comment

Can I have fries with that? (Consumer...

Licence policies of Tech company's have been for a long time both complicated and 'Dick Turpin-esque', people just click 'I agree' without reading the Agreement. I do the same, but... More

1 comment

This Crap Site

How utterly stupid - I am ranked #40 in the top 100 - as a member of this site..... I mean HOW utterly stupid.... I have done sweet FA, I have only rejoined this site after a 3 or... More

2 comments


Skip Sub Navigation Links to CNET Brand Links

Help

Become part of the ZDNet community.

Newsletters