Page 1 of 1

Calling EJB or HTTP Procedures using Datastage

Posted: Tue Dec 19, 2006 11:13 am
by wasimus
Hi

I would appreciate your help if somebody has successfully attempted to call EJB or HTTP procedures using Datastage. What are the pre-requisites to perform this task. An example would be highly appreciated.

Many thanks in advance

wasimus

Posted: Wed Dec 20, 2006 12:40 pm
by eostic
JavaPack, for both possibilities. This lets you invoke your own java class from within DataStage --- it's a bit fancier than just that, because it has an API that lets you interact with the DataStage engine and repository. You "read" rows from input links, and "write" rows to output links, and then can also query the repository for properties specified in the DS Job when it was designed, and even send things down a special "reject" link. You are given control at job initialization time and then again whenever your "stage" is called. I've used it to read from JMS queues, invoke EJB's and various other tasks.

Ernie