cancel
Showing results for 
Search instead for 
Did you mean: 

how to compile the DB lookup code for XI:

Senthilprakash1
Participant
0 Kudos

Dear All,

i am very new to java and XI. Please let me know how to compile a Java Code for DB lookup and put in the imported Archive in IR. is there a seperate way to do it? Please guide me step by step. for performing Communication channel DB lookup.

I have gone through the Communication channel lookup of siva,

/people/siva.maranani/blog/2005/08/23/lookup146s-in-xi-made-simpler

but i am not understanding how to compile the given code in Advanced user functions area without any mandetory .jar files and header files. and put it into XI .

please guide me.

I mean i use a jdk1.4.2 Compiler as my XI server has 1.4.2 compiler.

Regards,

prakash

Edited by: senthilprakash selvaraj on Jun 17, 2008 4:03 AM

Edited by: senthilprakash selvaraj on Jun 17, 2008 4:04 AM

Accepted Solutions (1)

Accepted Solutions (1)

Former Member
0 Kudos

Hi,

You don't have to worry about compliation. XI will automatically comple it when you create the udf, activate it and test your mapping. In case of any error it will give compliation error there itself.

Regarding all the mandatory jar files which are required for compilation is already available in XI server.

If you are using any third party libraries(jar files) you just need to add the jar file in your external definition and need to import the necessary packages in User Define Function. I hope it answers all your questions.

Thanks

Amit

Reward point if answer is helpful

Answers (0)