Calling EJB or HTTP Procedures using Datastage

Post questions here relative to DataStage Server Edition for such areas as Server job design, DS Basic, Routines, Job Sequences, etc.

Moderators: chulett, rschirm, roy

Post Reply
wasimus
Participant
Posts: 7
Joined: Mon Jul 10, 2006 9:53 am

Calling EJB or HTTP Procedures using Datastage

Post 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
eostic
Premium Member
Premium Member
Posts: 3838
Joined: Mon Oct 17, 2005 9:34 am

Post 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
Post Reply