Q
Problem solve Get help with specific problems with your technologies, process and projects.

Executing a JSP

There is a Web-based application(JSP) on a Websphere application server in a CICS environment, newly developed....

Also, there is a CICS application using COBOL running in the same environment. This application accesses as Web based in the HTML form after "screen scrapping." This is integrated with the WALKER system.

The question here is, how do you place the link in the CICS application in order to access the JSP deployed on the Websphere application server in CICS environment?


So, you want a CICS transaction to do some CICSy work and then execute a JSP running inside WebSphere?

Hmmmmm, I don't think this is going to be easy. CICS does not really like executing things outside of its own environment and especially things like JSPs. I'd also worry a bit about the UnitOfWork characteristics.

Only two ways spring to mind:

The first is to use the MVS sockets interface to send the required flow to WebSphere. Not as easy as it sounds as you will have to fully format the flow and unravel what comes back to extract the reply.

The second is to code up an EJB wrapper for the JSP and then you can write a Java class (so you can XC LINK to it) that can then issue the call to the JSP via its EJB wrapper.

If the JSP is not doing too much WebSphere or display specific work, then you could redeploy it within the CICS environment as a Java EJB or class that would solve the communication problem.

Also, have a look at the outbound part of the CICS SOAP SupportPac available via the CICS Web Site. This may be of use if XML is used by the JSP.

Robert Harris
Inventor
CICS Technical Strategist -- CICS expert at Search390.com

Editor's note: Do you agree with this expert's response? If you have more to share, post it in one of our .VO7aaqqaAFk.0@/search390>discussion forums.


This was last published in April 2003

Dig Deeper on IBM system z and mainframe systems

PRO+

Content

Find more PRO+ content and other member only offers, here.

Have a question for an expert?

Please add a title for your question

Get answers from a TechTarget expert on whatever's puzzling you.

You will be able to add details on the next page.

Start the conversation

Send me notifications when other members comment.

By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy

Please create a username to comment.

-ADS BY GOOGLE

SearchWindowsServer

SearchServerVirtualization

SearchCloudComputing

Close