Hello,
You want to write a Java application based on the X-Application API?
My proposal for the frist step is looking at the examples.
You find them in the directory
%XAPPLICATION_HOME%\examples\API
> Where should I write the code and from where I
> should import the Tamino related classes and
> packages and all?
The examples includes command scripts to start them. Internally the script
%XAPPLICATION_HOME%\bin\xenv.cmd
is invoked to set the classpath XAPPLICATION_CP. This classpath is required to run the application based on the X-Application Java API.
> SHould I write it as Normal Java program?
Yes.
> How should I compile that ??
Use the classpath settings of the examples and compile your program.
If you want to have a quick start, you can develop your application under the directory
%XAPPLICATION_HOME%\examples\API
For compile open a console and
> cd %XAPPLICATION_HOME%
> build examples.API
Write a command script that equals an existing one to start your application.
Bye,
Christian.
#webMethods#Tamino#API-Management