2013-01-03 18:06题主

新手问题:视频和工程目录在哪里啊?

请问一下!有麼有多点视频啊教程啊!基础的啊!创建的工程目录在哪里啊!如何在加入到webbuilder去,我看网上视频很少!

2013-01-03 18:13#1
这里有基础的视频教程 http://www.geejing.com/main?xwl=browse&id=23NRVJS38URO
你的问题在文档中都能找到答案。
2013-01-03 18:19#2

Setup and Redistribution

1. WebBuilder Setup

WebBuilder provides install wizard to install WebBuilder on your server. Please follow these steps to install:

1.1 Step 1

Install JAVA web application server and prepare a database of any types, create a JNDI entry for the database connection, ensure the JNDI is available, WebBuilder will use the database.

1.2 Step 2

Extract application folder wb from the webbuilder.zip file and copy to the web application server.
For example, if you use Tomcat, you should copy wb folder to webapps/wb.

1.3 Step 3

Open web browser and browse [http://ip:port/wb] to open the install wizard to complete the installation.
For example, browse http://localhost:8080/wb

1.4 Step 4

Login to the system with default administrator account.
The administrator's default username is admin, password is admin.
The portal's url is:
http://ip:port/wb
http://ip:port/wb/main
http://ip:port/wb/main?xwl=portal
they are equivalent.


2. Create Java Development Environment

2.1 Installing Java IDE

Download and install Java Development tools, such as Eclipse, IntelliJ IDEA.

2.2 Creating Application Project

Create web application project, and import WebBuilder to the project. When using Eclipse, you can import project files(in webbuilder.zip) to Eclipse workspace directly. When the project is running or debugging, you can browse [http://ip:port/wb/main] to access the system.

2.3 Team Development

WebBuilder support team development, each developer can maintain an independent local development environment. You can develop and debug in the local, and run in the remote. You can upload the latest Jar or other files to the remote web application servers by the remote WebBuilder [Management Tools]->[File Manager] module, the XWL modules are auto saved into the remote database, you can refresh the remote system by click [Tools]->[Refresh System] in the remote WebBuilder IDE module.
In team development mode, you must config WebBuilder variable serverId to unique in each web application server.
For example, you can config the WebBuilder variables in each server like the following:
remote serverA: serverId=2
remote serverB: serverId=3
developerA's local server: serverId=A
developerB's local server: serverId=B
developerC's local server: serverId=C


3. Application Redistribution

You can redistribute your application through the following method:
.Copy the web application folder to the destination server and copy default database data to the destination database.
.On the destination server, check the web application server's jndi configuration, ensure jndi of the default database is available.
.On the destination server, check the WebBuilder's default jndi setting in the file webbuilder/data/config.txt and search the key "jndi", ensure the value of the key is the same as the web application server's destination jndi name.

4. Install FAQs

.System show exception "jndi not found" when click Install.

This exception indicates that the jndi of the default database has not found.
Solutions:
.Create a new jndi or config existing jndi of the default database, ensure the jndi is available.
.If necessary, restart the web application server.

返回开发者社区