IB - Developer Center    Forums  Hop To Forum Categories  iWay Products    Writing functions in iWay 5.5 SM
Go
New
Search
Notify
Tools
Reply
  
-star Rating Rate It!  Login/Join 
Member
Posted
Hy,

I see in Programmers guide that we can write functions to add them in Iway.

The problem is that I not understand how I must compile and package them.

Someone know how do this?

Thanks
Manu


iWay 5.5 SM
 
Posts: 4 | Registered: June 23, 2008Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Hi Manu,

I had seen your post earlier and just came across this today and remembered your post:

http://iwse.ibi.com/iway55/documentation/smsp2/i_programmers.pdf

It is the iWay Service Manager's Programming Guide. Under Writing Management Components, there is a section called Writing Functions. Is that what you are looking for?

Good luck!


WF Reporting Server 71x, 76x
 
Posts: 14 | Registered: September 10, 2007Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Thanks Barbara,

Yes, the programmer guide is what we need but it not explain how to compile new functions.

We are trying a solution using the iway integration tool, when we test it we share it here.

byes.


iWay 5.5 SM
 
Posts: 4 | Registered: June 23, 2008Reply With QuoteEdit or Delete MessageReport This Post
Member
Posted Hide Post
Hello Manu,

Can you tell us a litte more about what you're trying to do.

There are two ways, that I've used, to add functionality to the iWay software.

One is the custom agent, which can be used like the other XDAgent. And the other is the custom fuction, which can be used in the transformer.

You compile them the same way, with the java compiler:

C:\> javac myCustomFunction.java

This is a .CLASS file, you can import it in your Transformer project.

If you want to make a JAR file and place it in your classpath, you need to create a directory structure and use the jar tool to create the archive:

C:\> mkdir com\ibi\agents
C:\> copy myCustomFunction.class
C:\> jar cvf myFucntions.jar com

The directory structure is the same you see in the generated stub, the first line has a package directive, this is where you want to put your file in.

Hope that helps...

NGT

---
iSM 5.5 SP2, Windows 2003 Server SP2, MSSQL 2005 SP2
 
Posts: 4 | Registered: September 21, 2006Reply With QuoteEdit or Delete MessageReport This Post
 Previous Topic | Next Topic powered by eve community  
 

IB - Developer Center    Forums  Hop To Forum Categories  iWay Products    Writing functions in iWay 5.5 SM

Copyright © 1996-2008 Information Builders, leaders in enterprise business intelligence.