JiveJdon Community Forums
在线78人   首页   主题总表   培训咨询   精华   查搜   注册    登陆
首页 » 论坛 » J2EE/JavaEE/JEE/EJB/JSF等技术讨论
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表
???en_US.forumThreadNext.name??? 下一主题
Go 总共有 1 回复 / 1
 发表新帖子   回复该主题贴
jdhjdhjdh

悄悄话
发表文章: 1
注册时间: 2003年04月17日 09:04
有谁测试过Jbuilder7中EJB例子中ESiteWL程序??? 2003年04月17日 09:10 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
标签列表
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中配置数据路连接池的时候就出错了,
请问那位高手可以帮忙,是不是他的文档写的有错误???
谢谢了!!!!!!!!
SUPERMY

悄悄话
发表文章: 25
注册时间: 2002年10月21日 20:10
Re: 有谁测试过Jbuilder7中EJB例子中ESiteWL程序??? 2003年06月23日 08:39 到本帖网址 加入本帖到收藏夹 发送到手机 回复该主题
巨滥,建议你不要学习他入门。
这个主题有 1 回复 / 1Go
???en_US.forumThreadPrev.name??? 上一主题
  Go back to the topic 返回本主题   Go back to the topic listing返回主题列表    返回页首返回页首
???en_US.forumThreadNext.name??? 下一主题
热点TAG: AOP cache 缓存 DDD EJB 集群 设计模式 Hibernate IOC JiveJdon OO RBAC Seam Spring Struts
google yahoo 新浪ViVi 365Key网摘 天极网摘 CSDN网摘 添加到百度搜藏 POCO网摘 博采网摘
查询本论坛内 回复超过的热门帖子
     回复该主题贴
标题
 
粗体 斜体 下划线 插入图片 插入代码 插入url链接 插入附件
内容
 

手机阅读 add to google add to yahoo
解惑之道在J道 ,打造中国最具影响力的的企业软件社区
OpenSource JIVEJDON v3.0 Powered by JdonFramework Code © 2002-08 jdon.com
anti spam