有誰測試過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中配置資料路連線池的時候就出錯了,
請問那位高手可以幫忙,是不是他的文件寫的有錯誤???
謝謝了!!!!!!!!
相關文章
- dockerfile測試例子Docker
- 軟體效能測試有哪些測試過程?
- 有關mysql中ROW_COUNT()的小例子MySql
- 微信小程式測試過程中的各個要點(乾貨)微信小程式
- ejb
- 軟體測試過程中的痛點思考
- 測試過程中如何快速定位一個 bug
- 測試過程中如何快速定位一個bug
- 中臺測試
- 測試中臺
- 在平時的測試過程中,測試需要做推進工作嗎?
- 如何測試電腦程式中的 UI 元素?UI
- 電商APP測試過程中遇到的問題APP
- 如何在瀏覽器中測試JavaScript程式碼?瀏覽器JavaScript
- 在效能測試的過程中會遇到哪些問題?
- 自動化測試中如何判斷測試是否透過?詳解 Pytest 測試框架的斷言用法框架
- 大佬們有沒有負責交易中臺或訂單中臺的測試任務的?請教一下中臺測試需要看頁面嗎?
- 你寫的前端程式碼有做過單元測試嗎?使用什麼工具?怎麼測試的?前端
- 軟體測試中的功能測試和非功能測試
- Goreplay 流量錄製重放到測試環境,效能測試過程中遇到的問題Go
- OTT 方面的測試,有沒有熱 做過系統一點的測試,求指教。
- 程式設計師筆試和麵試過程中,有哪些是面試官眼中的減分項和加分項?程式設計師筆試面試
- “中繼段光纜測試”與“使用者光纜測試”有什麼區別?中繼
- 軟體系統測試有哪些測試過程?系統測試報告如何收費?測試報告
- Spring Boot 中測試 CORSSpring BootCORS
- 單元測試:單元測試中的mockMock
- 演算法測試例子特殊輸入形式演算法
- 有沒有大佬用過高通的 QMVS 測試過 DDR,求指導
- 初次接觸測試模型相關,請教測試過程中應該注意的內容模型
- APP測試中IOS和Android的區別,有哪些注意點?APPiOSAndroid
- 軟體測試中的Bug迴歸,到底有多重要?
- 在微信小程式中打造 MQTT 連線測試工具微信小程式MQQT
- ① EJB無狀態的bean(建立EJB的基礎教程)Bean
- JS中 this 到底指向誰?JS
- 效能測試中唯一標識的 JMH 測試
- 網站測試中需要測試的三個方面網站
- 軟體測試中的黑盒測試是什麼?
- PHP中ZendCache用法的小例子PHP
- 通過命令列在 Python 中測試以太坊 RPC 客戶端命令列PythonRPC客戶端