MVSFORUMS.com Forum Index MVSFORUMS.com
A Community of and for MVS Professionals
 
 FAQFAQ   SearchSearch   Quick Manuals   RegisterRegister 
 ProfileProfile   Log in to check your private messagesLog in to check your private messages   Log inLog in 

why CICS

 
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware
View previous topic :: View next topic  
Author Message
sumithar
Beginner


Joined: 22 Sep 2006
Posts: 84
Topics: 29

PostPosted: Thu Jan 24, 2008 4:49 pm    Post subject: why CICS Reply with quote

OK guys, this has to be a stupid question.

Let's say I have a situation.

I am developing a web frontend app that is inquiry only. The data I need to display is in DB2 tables on a z/OS box.

I have a choice.

I can code JDBC calls in my app (for purposes of simplicity let us mix up presentation and data access into the same program for now Wink to go directly against the DB2 tables.

OR

I don't know exactly what the benefits of bringing CICS into the equation but I have been told that it is better to go thru CICS to get to DB2 than direct calls to the database.
So, being an ex COBOL programmer, I can write some trivial CICS transactions to dump the required data on the screen using SEND TEXT (no need to format, I can do that in my Java app) and then use the HTTP server built into CICS to invoke these trans, retrieve the data into my Java app and display formatted as HTML.

is there any reason not to go with direct ODBC calls?
Back to top
View user's profile Send private message
Bill Dennis
Advanced


Joined: 03 Dec 2002
Posts: 579
Topics: 1
Location: Iowa, USA

PostPosted: Fri Jan 25, 2008 11:51 am    Post subject: Reply with quote

1. Will your app be executing 24x7 waiting for users to enter a query, "triggered" as needed or would an occasional CICS transaction be better?

2. How will you handle user authentication? Could CICS userID/password security do this better?
_________________
Regards,
Bill Dennis

Disclaimer: My comments on this foorum are my own and do not represent the opinions or suggestions of any other person or business entity.
Back to top
View user's profile Send private message
sumithar
Beginner


Joined: 22 Sep 2006
Posts: 84
Topics: 29

PostPosted: Fri Jan 25, 2008 1:32 pm    Post subject: Reply with quote

1)The intent is user can go to the URL any time but expectation is s/he will do it only during the working day. But you raise an interesting point, since our CICS does come down 9pm-7AM option 2 would cause an unavailability situation tho' I doubt it will be an issue
2) If I chose option 2, we already have a CICS user created for any web based access which would need to be authorised for this new transaction i.e. all web access would supply this user id/pwd as credential. But the input data stream would include the actual userid of the person typing the URL and verification would be done against DB2 database.
Back to top
View user's profile Send private message
Display posts from previous:   
Post new topic   Reply to topic   printer-friendly view    MVSFORUMS.com Forum Index -> CICS and Middleware All times are GMT - 5 Hours
Page 1 of 1

 
Jump to:  
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum


MVSFORUMS
Powered by phpBB © 2001, 2005 phpBB Group