How to write and compile for Java API?

We will be using the Dreamweaver tool to use the JSP Tag LIbraries.No Need to code and all.I think I am right??

BUt Suppose if we are using the Java API it is stored in .java extension.Where should I write the code and from where I should import the Tamino related classes and packages and all? SHould I write it as Normal Java program? How should I compile that ?? PLease give an explanatory answer sir…

Thank u.

dgdfgf

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.

Hello,

this topic will be moved to the Assistance Forum in the next days.
The assistance forum is intended to be used for technical questions and answers.

Thank you for your understanding.

Regards,
Christian.