有誰測試過Jbuilder7中EJB例子中ESiteWL程式???
borland公司提供的幫助文件如下
Project Notes
--------------------------------------------------------------------------------
Project: ESite for EJB 2.0 Weblogic
Author: JBuilder Group
Company: Borland.com
Description: A simple shopping cart example using 2.0 EJB's, JSP's, servlets, and DataExpress
--------------------------------------------------------------------------------
To run
Weblogic 6.x must be installed and setup for JBuilder in order to build this sample. If you have not done so, install Weblogic (recommended Weblogic 7). Then in JBuilder, select Tools | Configure Servers..., select Weblogic 6.x. Set the values of the Home directory on the General tab and BEA Home directory and the administrative password on the Custom tab.
If you configured Weblogic 6.x prior to opening the sample project, refresh project properties from your server configuration.
Click on Project | Project Properties.
Click on the Servers tab.
Click on the ellipsis (...) button next to the server select in the Single server... drop down list
Click <OK> on the Configure Servers dialog
Click <OK> on the Project Properties dialog
Create a WebLogic transactional data source named ESiteSource. You will need to check your WebLogic documentation on how to create a data source. You will need the following settings
The database URL should be of the following format: jdbc:borland:dslocal:/jbuilder7/samples/Ejb/db/esite.jds, ensuring that you have the correct path to esite.jds.
The driver will be com.borland.datastore.jdbc.DataStoreDriver.
This JDataStore is not password protected, but you must still specify a user; any user will do, e.g., user=Frank;password=
Launch the application server by clicking on the little down-arrow on the toolbar next to the green arrow. In the drop down select Server. The server should start successfully.
Deploy the EJB module. Right click on the EJB module esite in the project view and select the context menu option Deploy Options | Deploy
After the archive has been loaded successfully, click on the link below to launch the web application :
http://localhost:7001/bookstore/welcome.jsp
Note : If the server name or port number that you use are different, please modify the URL to launch the web application.
If you wish, you can also run the Java Client. Repeat the same process as above, except select Java Client
Using a QueryProvider
By default, this program uses an EntityBeanProvider for all DataSets. If you wish, you can instead use a QueryProvider for the Inventory DataSet. A QueryProvider can be useful for retrieving large amounts of data from a database without having to create an entity bean for every row of data. The Inventory DataSet will still use an EntityBeanResolver, so that updates are still done using the security, transaction, etc. features of EJB.
To use a QueryProvider
Modify ServerDataModuleBean.java, changing the line
private boolean useInventoryQueryProvider = false; to
private boolean useInventoryQueryProvider = true;
----------------------------------------------------------
我在weblogic7.0中配置資料路連線池的時候就出錯了,
請問那位高手可以幫忙,是不是他的文件寫的有錯誤???
謝謝了!!!!!!!!
Project Notes
--------------------------------------------------------------------------------
Project: ESite for EJB 2.0 Weblogic
Author: JBuilder Group
Company: Borland.com
Description: A simple shopping cart example using 2.0 EJB's, JSP's, servlets, and DataExpress
--------------------------------------------------------------------------------
To run
Weblogic 6.x must be installed and setup for JBuilder in order to build this sample. If you have not done so, install Weblogic (recommended Weblogic 7). Then in JBuilder, select Tools | Configure Servers..., select Weblogic 6.x. Set the values of the Home directory on the General tab and BEA Home directory and the administrative password on the Custom tab.
If you configured Weblogic 6.x prior to opening the sample project, refresh project properties from your server configuration.
Click on Project | Project Properties.
Click on the Servers tab.
Click on the ellipsis (...) button next to the server select in the Single server... drop down list
Click <OK> on the Configure Servers dialog
Click <OK> on the Project Properties dialog
Create a WebLogic transactional data source named ESiteSource. You will need to check your WebLogic documentation on how to create a data source. You will need the following settings
The database URL should be of the following format: jdbc:borland:dslocal:/jbuilder7/samples/Ejb/db/esite.jds, ensuring that you have the correct path to esite.jds.
The driver will be com.borland.datastore.jdbc.DataStoreDriver.
This JDataStore is not password protected, but you must still specify a user; any user will do, e.g., user=Frank;password=
Launch the application server by clicking on the little down-arrow on the toolbar next to the green arrow. In the drop down select Server. The server should start successfully.
Deploy the EJB module. Right click on the EJB module esite in the project view and select the context menu option Deploy Options | Deploy
After the archive has been loaded successfully, click on the link below to launch the web application :
http://localhost:7001/bookstore/welcome.jsp
Note : If the server name or port number that you use are different, please modify the URL to launch the web application.
If you wish, you can also run the Java Client. Repeat the same process as above, except select Java Client
Using a QueryProvider
By default, this program uses an EntityBeanProvider for all DataSets. If you wish, you can instead use a QueryProvider for the Inventory DataSet. A QueryProvider can be useful for retrieving large amounts of data from a database without having to create an entity bean for every row of data. The Inventory DataSet will still use an EntityBeanResolver, so that updates are still done using the security, transaction, etc. features of EJB.
To use a QueryProvider
Modify ServerDataModuleBean.java, changing the line
private boolean useInventoryQueryProvider = false; to
private boolean useInventoryQueryProvider = true;
----------------------------------------------------------
我在weblogic7.0中配置資料路連線池的時候就出錯了,
請問那位高手可以幫忙,是不是他的文件寫的有錯誤???
謝謝了!!!!!!!!
相關文章
- 誰有structs+Jboss程式碼例子 自己做了個例子出下面問題Struct
- 誰有樹型選單的例子
- dockerfile測試例子Docker
- OpenCv 中Snake程式的例子OpenCV
- 有成功執行過ejb的例子news的嗎?
- 在JBuilder7中除錯Jive中的JspUI除錯JS
- 軟體效能測試有哪些測試過程?
- 微信小程式測試過程中的各個要點(乾貨)微信小程式
- 執行news例子說ejb沒有繫結錯誤
- ORACLE儲存過程中建立子過程的測試!Oracle儲存過程
- Oracle 連線條件中帶有OR的測試Oracle
- 電商APP測試過程中遇到的問題APP
- 測試過程中如何快速定位一個 bug
- 測試過程中如何快速定位一個bug
- 軟體測試過程中的度量與分析
- 軟體測試過程中的痛點思考
- IOS測試用例例子iOS
- 在平時的測試過程中,測試需要做推進工作嗎?
- 有誰用過或者研究過Structs?Struct
- 有關mysql中ROW_COUNT()的小例子MySql
- 如何測試電腦程式中的 UI 元素?UI
- Jboss3.0.7在Jbuilder7中的配置 (轉)S3UI
- 求助:ejb3 的local介面測試
- 軟體測試中的功能測試和非功能測試
- 軟體測試中功能測試的測試工作流程
- 如何在瀏覽器中測試JavaScript程式碼?瀏覽器JavaScript
- JBuiler 建立資料庫查詢工程過程中問題,有誰能幫我?UI資料庫
- 軟體測試中過度設計的那些事兒
- asm中template特性測試!ASM
- 單元測試:單元測試中的mockMock
- “中繼段光纜測試”與“使用者光纜測試”有什麼區別?中繼
- 請教一個jbuilder7中的中文問題UI
- 自動化測試中如何判斷測試是否通過?詳解 Pytest 測試框架的斷言用法框架
- 軟體測試中的Bug迴歸,到底有多重要?
- OTT 方面的測試,有沒有熱 做過系統一點的測試,求指教。
- 在微信小程式中打造 MQTT 連線測試工具微信小程式MQQT
- openssl中的s_server程式測試手記 (轉)Server
- 網站測試中需要測試的三個方面網站