Skip to Content

how to compile the DB lookup code for XI:

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

Add a comment
10|10000 characters needed characters exceeded

Assigned Tags

Related questions

1 Answer

  • Best Answer
    author's profile photo Former Member
    Former Member
    Posted on Jun 17, 2008 at 02:31 AM

    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

    Add a comment
    10|10000 characters needed characters exceeded

Before answering

You should only submit an answer when you are proposing a solution to the poster's problem. If you want the poster to clarify the question or provide more information, please leave a comment instead, requesting additional details. When answering, please include specifics, such as step-by-step instructions, context for the solution, and links to useful resources. Also, please make sure that you answer complies with our Rules of Engagement.
You must be Logged in to submit an answer.

Up to 10 attachments (including images) can be used with a maximum of 1.0 MB each and 10.5 MB total.