The Nexaweb Platform includes Nexaweb server and Nexaweb client.
The Nexaweb Platform follows Java 2 Platform, Enterprise Edition (J2EE) standards. This adherence to open standards simplifies both server-side deployment and client-side configuration requirements, as summarized below.
Nexaweb Server Requirements
Nexaweb Server is 100% pure Java and runs in server environments that provide:
- Java runtime environment 1.3 or greater.
- A Java Servlet container supporting at least Java Servlet Specification 2.3.
You can deploy and run any Nexawebified* J2EE application on any J2EE application server on whatever operating system that application server is installed.
*Nexawebify is a process to unpack and merge Nexaweb platform configuration files with user's configuration files, for example, web.xml.
Nexaweb Client Requirements
Nexaweb requires a minimum Java Virtual Machine (JVM) version 1.1.5 enabled browser.
...
- JRE (Java Runtime Environment) 1.3 以上
- Java Servlet 仕様 2.3 以上をサポートする Java Servlet コンテナ
Nexaweb Client の要件
Nexaweb には、JVM (Java Virtual Machine) バージョン 1.1.5 以上に対応したブラウザが必要です。
...
Building and Deploying Nexaweb Installed Samples
In order to build Nexaweb samples, you need:
...
Nexaweb のインストール済みサンプルのビルドとデプロイ
Nexaweb のサンプルをビルドする場合の要件は次のとおりです。
- JDK (Java Development Kit) 1.3
...
- 以上がインストールされている
- JAVA_HOME
...
Nexaweb provides two methods for you to build Nexaweb applications, using:
...
- 環境変数セット
- コマンド ラインで Apache Ant を使用する
- Nexaweb Studio
...
For more detailed information, check build environment.
The following sections provide an overview of the steps to build Nexaweb insalled samples using each of the build methods.
Using Ant
...
- を使用する
Ant の使用
Ant を使用して Nexaweb のインストール済みサンプルをビルドする場合の要件は次のとおりです。
- Apache Ant 1.6.1
...
- 以上がインストールされている
- ANT_HOME
...
To use Ant to build Nexaweb installed samples, follow these general steps:
...
...
- 環境変数セット
- コマンド プロンプトを開きます。
- Nexaweb Platform のインストール ディレクトリ内にある samples ディレクトリに移動します。たとえば、C:\Program Files\Nexaweb\Nexaweb Platform 4.1\samples
...
- に移動します。
- 「build.bat」と入力し、Enter キーを押して build.bat
...
...
Eclipse/Nexaweb Studio
To use Eclipse/Nexaweb Studio to build Nexaweb installed samples, see the Nexaweb Insallation Guide.
Running Nexaweb Sample Applications
Before you run any Nexaweb sample application:
- Deploy the sample application to your application server
- Ensure that your application server is running
...
- ファイルを実行します。
- ビルドが正常に完了すると、デプロイ可能な WAR ファイル形式のサンプル アプリケーションを含む dist ディレクトリが表示されます。各 WAR ファイルには完全なアプリケーションが含まれています。
- WAR ファイル形式の Nexaweb サンプル アプリケーションを、実行先のアプリケーション サーバーにデプロイします。
Nexaweb サンプルアプリケーションの実行
Nexaweb サンプルアプリケーションを実行する前に、次の作業を行います。
- サンプル アプリケーションをアプリケーション サーバーにデプロイする
- アプリケーション サーバーが稼動中であることを確認する
...
...
...
Mechanics Behind the Scene
Typically, the index.xal file, in XAL format, defines the UI for a Nexaweb application. Check XML UI to find details about XAL.
The following example shows the index.nxml for the helloworld sample.
index.xal <helloworld sample>
...
...
隠された仕組みについて
index.nxml <helloworld サンプル>
Code Block |
---|
<nxml> <label text="Hello Nexaweb!"/> </ |
...
nxml> |
ア プリケーションを起動すると、Nexaweb クライアントは index.nxml
...
を DOM (Document Object Model
...
) に解析し、その DOM に基づいてクライアントサイドの UI をレンダリングします。クライアントサイドで実行される UI は Java アプレットの一形式で、クライアントサイドで JVM が動作可能になっている必要があります。Nexaweb アプリケーションは、クライアントサイドまたはサーバーサイドで、クライアントサイドのユーザーインタラクションを処理できます。