http://lindows.iteye.com/blog/224004
下载中心
http://www.bstek.com/downloadcenter.htm
dorado debug shutcut
page time:Ctrl+Shift+F12
bstekIDE Eclipse插件扩展点应用介绍
http://macrochen.iteye.com/blog/138625
BstekIDE_1.2.2_Installer.jar
http://www.bstek.com/download?subpath=eclipse$2F
大小 | 最后修改时间 | 下载数量 | |
BstekDoradoStudioPluginI |
67KB | 2008-01-22 10:02:34 | 761 |
BstekIDE_1.2.1_Installer.exe | 60,171KB | 2008-04-14 14:59:40 | 30 |
BstekIDE_1.2.2_Installer.exe | 63,258KB | 2008-04-23 17:25:05 | 59 |
BstekIDE_1.2.3_Installer.jar | 73,111KB | 2008-06-24 18:17:03 | 18 |
BstekIDE_1.2.4_Installer.jar | 73,425KB | 2008-07-09 19:25:48 | 227 |
BstekIDE_1.2.5_Installer.jar | 73,444KB | 2008-09-01 18:35:04 | 224 |
BstekIDE_1.2_Installer.exe | 50,665KB | 2008-03-21 11:06:42 | 25 |
BstekIDE_1.2_Installer.jar | 52,143KB | 2008-03-21 18:06:31 | 17 |
com.bstek.ide.site | <Folder> | 2008-04-02 13:44:14 | <Folder> |
HelloWorld_Eclipse.rar | 69,662KB | 2008-01-22 17:02:30 | 60 |
update |
dorado begin ...
1.http://www.bstek.com/download?subpath=dorado$2Fdorado5$2Ezip/
D:\dorado5\如何开始.txt
请首先运行setup.bat完成dorado自动配置.
目录说明:
安装说明:
附注:
dorado current version:5.2 071127.1604 STD
D:\dorado5\studio\studio.exe
studio.exe>>>Start Up Service
http://localhost:8180/doradosample/main.jsp
studio.exe>>>Create a NEW Project>>>hr
Project >>>Configures>>>datasource>>>add
press "ok"
D:\dorado5\hr\home\datasource.xml
- <?xml
version="1.0" encoding="UTF-8"?> - <datasources>
-
name="hrJDBC" type="JDBC"> -
is >30000</minEvictableIdleTimeMillis > -
illis >30000</timeBetweenEvictionRunsMillis > -
-
-
-
-
-
-
-
-
-
- </datasources>
copy D:\dorado5\sample\web\WEB-INF\lib\hsqldb.jar to D:\dorado5\hr\web\WEB-INF\lib\hsqldb.jar
2.test hr_jdbc
studio.exe>>>Start Up Service>>>Project>>>hr>>>Configures>>>datasource>>>Validate>>>Test Finished Sucessfully!
为了方便以后的开发,我们需要把hrJDBC数据源配置到项目树的configures节点下的setting配置文件中。
D:\dorado5\hr\home\setting.xml
- <?xml
version="1.0" encoding="UTF-8"?> - <properties>
-
name="common.defaultDataSource" value="hrJDBC"/> -
略 --> - </properties>
3.添加视图模型对象
D:\dorado5\hr\src\com\bstek\dorado\demo\hr\Login.view.xml
- <?xml
version="1.0" encoding="UTF-8"?> - <view>
-
-
-
-
- </view>
4.添加DataSet对象
dorado studio jdbc
jdbc/sntest
com.bstek.dorado.data.db.dialect.Oracle10gDialect
oracle.jdbc.driver.OracleDriver
jdbc:oracle:thin:@192.168.100.120:1521:sntest
snworkorder
snworkorder
查询操作
------------------------------------------------------------------------------------------------------------
D:\dorado5\provider\web\WEB-INF\classes\doradohome\datasource.xml
- <?xml
version="1.0" encoding="UTF-8"?> - <datasources>
-
name="jdbc/sntest" type="JDBC"> -
is >30000</minEvictableIdleTimeMillis > -
illis >30000</timeBetweenEvictionRunsMillis > -
-
-
-
-
-
-
-
-
-
-
- </datasources>
------------------------------------------------------------------------------------------------------------
D:\dorado5\provider\web\WEB-INF\classes\provider.view.xml
- <?xml
version="1.0" encoding="UTF-8"?> - <view>
-
-
id="dataset1" type="Wrapper" wrappedType="AutoSql" dataSource="jdbc/sntest" originTable="TBL_EMPLOYEE" keyFields="EMPLOYEEID"> -
/> -
-
name="EMPLOYEEID" originField="EMPLOYEEID" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="EMPLOYEENAME" originField="EMPLOYEENAME" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="MOBILENUM" originField="MOBILENUM" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="JOBLEVEL" originField="JOBLEVEL" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="EMPLOYEESYSTEMCODE" originField="EMPLOYEESYSTEMCODE" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="KINDCODE" originField="KINDCODE" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="KINDNAME" originField="KINDNAME" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="EMAIL" originField="EMAIL" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="PHONENUM" originField="PHONENUM" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="ORGFINACIALCODE" originField="ORGFINACIALCODE" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
name="ORGFINACIALNAME" originField="ORGFINACIALNAME" table="TBL_EMPLOYEE" dataType="string" group="false"> -
/> -
-
-
-
level="1" dataType="string" escapeEnabled="true" table="TBL_EMPLOYEE" originField="EMPLOYEEID" operator="=" value=":EMPLOYEEID" /> -
-
/> -
/> -
/> -
/> -
-
id="datasetQuery" type="Form"> -
/> -
-
name="EMPLOYEEID" dataType="string"> -
/> -
-
-
/> -
/> -
-
-
-
id="table1" type="DataTable" dataset="dataset1" editable="false" width="100%" /> -
id="buttonQuery" type="Button" command="commandQuery" /> -
id="commandQuery" type="QueryCommand" conditionDataset="datasetQuery" queryDataset="dataset1"> -
/> -
/> -
-
id="pagepilot1" type="PagePilot" dataset="dataset1" /> -
id="formConditions" type="AutoForm" dataset="datasetQuery" groupType="subwindow"> -
-
name="EMPLOYEEID" field="EMPLOYEEID" type="TextEditor"> -
/> -
/> -
-
-
-
-
/> - </view>
D:\dorado5\provider\web\provider.jsp
-
<%@ page contentType="text/html;charset=UTF-8" % > - <%@
taglib uri="http://www.bstek.com/dorado"prefix="d" % > - <html>
- <head>
- <title></title>
- </head>
- <body>
-
config="provider"> -
id="table1" /> -
id="formConditions" /> -
id="pagepilot1" /> -
id="buttonQuery" /> -
-
-
- </body>
- </html>
sdfasfasf
Dorado在Eclipse中的集成
http://jarik.iteye.com/blog/169276
一、新建Eclipse工程。
二、拷贝dorado中的HOME文件夹到新工程中。
三、拷贝dorado中sample\web\WEB-INF下的dorado.properties,dorado.tld,dynamic-dropdown2.jsp三个文件到新工程的WEB-INF下。
四、修改dorado.properties文件:
五、修改新工程下的web.xml文件。
<web-app version="2.4"
xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee
http://java.sun.com/xml/ns/j2ee/web-app_2_4.xsd">
</web-app>
其中红色部分的<jsp-config></jsp-config>为增加的内容,因为jsp使用的标签库是2.4的,所以加这一部分内容。
六、拷贝dorado中sample\web\WEB-INF\lib文件夹下的所有jar包到新工程的WEB-INF\lib下。
七、发布工程,测试配置是否正确。若出现以下信息,表示配置正确:
[dorado] >>> Starting
Service... ... ...
[dorado] Using JDOM 0.9 as XML processor
[dorado] Configure loader:
com.bstek.dorado.common.fileloader.PathFileLoader
[dorado] Configure root:
D:/eclipse/workspace/sample2/home
[dorado] Source loader:
com.bstek.dorado.common.fileloader.PathFileLoader
[dorado] Source root:
D:/eclipse/workspace/sample2/src
[dorado] Loading "setting.xml"...
[dorado] Initializing Logger...
[dorado] Initializing Performance
Moniter...
[dorado] Loading "user-config.xml"...
[dorado] Loading
"mapping/global.map.xml"...
[dorado] Loading
"mapping/dorado.map.xml"...
[dorado] Loading
"mapping/sample.map.xml"...
[dorado] Initializing Velocity Service...
[dorado] Initializing Connection Pool...
[dorado] Testing Connection
"doradosample"...
[dorado] Initializing Module Manager...
[dorado] >>> Service
Started!
[dorado] Version: dorado-5.0 061119.2050
(Unregistered)
八、在新工程中新建文件。