Home > Ask the Data Center Experts > Questions & Answers > Any reason why we shouldn't write CICS transactions in Java vs COBOL?
Ask The Data Center Expert: Questions & Answers
EMAIL THIS

Any reason why we shouldn't write CICS transactions in Java vs COBOL?

Robert Crawford EXPERT RESPONSE FROM: Robert Crawford

Pose a Question
Other Data Center Categories
Meet all Data Center Experts
Become an Expert for this site


Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   


>
QUESTION POSED ON: 11 February 2002

We are starting new development project based on CICS:
- clients are written in Java
- server components must be implemented inside the CICS
- current release of operating system is z/OS v1.0

System will be highly loaded by significant number of concurrent users. According to manuals, there is no problem if we write CICS transactions in Java (using HPCJ). Since we don't have practical experience our questions are:

Is there any reason why we shouldn't write CICS transactions in Java (why use COBOL instead of Java)?

What are practical experiences (performance and stability) of highly loaded system based on CICS transactions written in Java?


>

You do not say but I deduce from the fact that you are proposing to use HPCJ that you will be deploying your Java programs on CICS TS V1.3, at least initially. In that case you should be aware that Java is, as yet, an immature technology compared to COBOL. It is therefore to be expected that it will not perform as well as COBOL.

In terms of a ballpark figure we would expect the instruction pathlength for a typical COBOL transaction, which we think of as around 1M instructions, to be increased by a factor of 2 or 3 by rewriting it in Java. We confidently expect that number to improve over time and it can indeed be improved upon by using hot-pooling in CICS TS V1.3. But Java, or indeed any object oriented language, will always carry a significant overhead compared with COBOL.

One approach is to write the crucial, heavily used programs in COBOL, especially if they will access DB2, and write the less performance critical parts of the application in Java. This will provide you with the thoughput you need at lower CPU cost, allows you to gain experience with Java and reduces the effort should you want to change to pure Java at some time in the future.


BROWSE BY TAG
CICS Newsletter,   VIEW ALL TAGS

Digg This!    StumbleUpon Toolbar StumbleUpon    Bookmark with Delicious Del.icio.us   



RELATED CONTENT
CICS Newsletter
IBM z/OS 1.11 preview: New features and functions
New statistics for CICS Transaction Server 3.2
Manage CICS workloads with transaction classes
Run CICS in batch to beat a shrinking batch window
Ensuring CICS security with the Web Services Security standard
Use DFHLS2WS to expose CICS applications as a Web service
Using IBM IPCS to battle software bugs
CICS and Web services: Ready to go
Using External Call Interface (EXCI) to access CICS
Using CICS event monitoring points (EMPs) for tuning and debugging

RELATED RESOURCES
2020software.com, trial software downloads for accounting software, ERP software, CRM software and business software systems
Search Bitpipe.com for the latest white papers and business webcasts
Whatis.com, the online computer dictionary



Search and Browse the Expert Answer Center
Search and browse more than 25,000 question and answer pairs from more than 250 TechTarget industry experts.
Browse our Expert Advice



Building Green Data Centers
HomeNewsTopicsITKnowledge ExchangeTipsBlogsMultimediaWhite PapersEvents
About Us  |  Contact Us  |  For Advertisers  |  For Business Partners  |  Site Index  |  RSS
SEARCH 
TechTarget provides technology professionals with the information they need to perform their jobs - from developing strategy, to making cost-effective purchase decisions and managing their organizations' technology projects - with its network of technology-specific websites, events and online magazines.

TechTarget Corporate Web Site  |  Media Kits  |  Site Map




All Rights Reserved, Copyright 2005 - 2009, TechTarget | Read our Privacy Policy
  TechTarget - The IT Media ROI Experts