ASG
IBM
Zystems
Cressida
Icon
Netflexity
 
  MQSeries.net
Search  Search       Tech Exchange      Education      Certifications      Library      Info Center      SupportPacs      LinkedIn  Search  Search                                                                   FAQ  FAQ   Usergroups  Usergroups
 
Register  ::  Log in Log in to check your private messages
 
RSS Feed - WebSphere MQ Support RSS Feed - Message Broker Support

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » External APIs

Post new topic  Reply to topic
 External APIs « View previous topic :: View next topic » 
Author Message
jeevan
PostPosted: Mon Nov 21, 2005 11:32 am    Post subject: External APIs Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

I need to use external API. I have been given it to me. Where should I keep the jar file of that APIS

thanks
Back to top
View user's profile Send private message
Ratan
PostPosted: Mon Nov 21, 2005 1:16 pm    Post subject: Reply with quote

Grand Master

Joined: 18 Jul 2002
Posts: 1245

Add the path of the jar file to JCLASSES env variable of your Server startup file.

Also add the path and the file name to cwtools.cfg in <bin> directory of your ICS installation folder in [codeGeneration] section.

eg: classpath=D:\tmp\myjar.jar
_________________
-Ratan
Back to top
View user's profile Send private message Send e-mail
djeripo
PostPosted: Mon Nov 21, 2005 1:23 pm    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Quote:
I need to use external API. I have been given it to me. Where should I keep the jar file of that APIS


Be clear in what you are trying to ask.
What do you mean by external API?
From my understanding you are trying to access some java classes and interfaces which are not part of collab API.If that is the case,Say for example you want to access a class called 'Vector' in your CollabTemplate,
Open your collab template,Go to Defintions and cick on the tab Declarations.In the middle section you find Import and Comment.

As you are trying to access 'Vector' simply import java.util.*; in the Import column.
There is no need to place any jars (htmlconverter.jar ,dt.jar or tools.jar) anywhere as these come with ICS.
Back to top
View user's profile Send private message Visit poster's website
jeevan
PostPosted: Mon Nov 21, 2005 3:38 pm    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

thank you for the suggestion. I want to or need to use a custome makde Api SOMEONE has developed (not java classes) to get default value of a some attribute in a map.



thanks
Back to top
View user's profile Send private message
djeripo
PostPosted: Tue Nov 22, 2005 8:53 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Quote:
I want to or need to use a custome makde Api SOMEONE has developed (not java classes) to get default value of a some attribute in a map


What do you mean by custom made API?
From your post,I dont even think you are referring to some custom jar files which are meant for the internal projects.I know you can import custom jar files into SystemManager which are nothing but a bunch of java classes.I dont think ICS supports anything other than Java inside the ICS components like Maps,CollabTemplates.
Back to top
View user's profile Send private message Visit poster's website
jeevan
PostPosted: Tue Nov 22, 2005 9:21 am    Post subject: Reply with quote

Grand Master

Joined: 12 Nov 2005
Posts: 1432

The answer is what Ratan said.
Back to top
View user's profile Send private message
djeripo
PostPosted: Tue Nov 22, 2005 9:30 am    Post subject: Reply with quote

Master

Joined: 25 Jan 2004
Posts: 225

Quote:
I want to or need to use a custome makde Api SOMEONE has developed (not java classes) to get default value of a some attribute in a map


Then why did you say not java classes? Does jar file contain anything other java classes? Remember one thing nobody here is obliged to answer all the questions you post.You are at the pity of the people who answer.
http://www.mqseries.net/phpBB2/viewtopic.php?t=25622
Back to top
View user's profile Send private message Visit poster's website
Display posts from previous:   
Post new topic  Reply to topic Page 1 of 1

MQSeries.net Forum Index » WebSphere Interchange Server + Adapters » External APIs
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
Protected by Anti-Spam ACP
 
 


Theme by Dustin Baccetti
Powered by phpBB © 2001, 2002 phpBB Group

Copyright © MQSeries.net. All rights reserved.