没有用weblogic服务器,是不是需要在ejb-jar.xml中配置数据源?
解决方案 »
- 求推荐一本讲解j2ee的书
- java.sql.SQLException: JZ0P1: 意外的结果类型|| 调用过程报错
- 如何用反射写一个通用的添加功能呢
- ssh结合出现错误,大家帮帮忙
- 把eclipse的项目放在myeclipse中运行
- 有采用weblogic开发过webservice(有soapheader)的人没有?
- hibernate 插入多条记录问题 报错Could not execute JDBC batch update 困惑我2天了!
- help!各位救命!
- 小弟有个问题请教各位大虾们!
- 现在做java程序员,前影怎么样?
- ssh框架必须配置声明式事务吗?
- 求MyEclipse 开发环境使用手册
这样配置正确吗?weblogic-ejb-jar.xml文件时候需要配置?或者LS能否根据我提供我文件帮我配置一下,谢谢!
<session>
<display-name>ProductDao</display-name>
<ejb-name>ProductDao</ejb-name>
<business-local>com.nec.jp.zaa03.db.dao.ProductDao</business-local>
<ejb-class>com.nec.jp.zaa03.db.dao.ProductDaoImpl</ejb-class>
<session-type>Stateless</session-type>
<resource-ref>
<res-ref-name>jdbc/tutorialDB</res-ref-name>
<res-type>javax.sql.DataSource</res-type>
<res-auth>Container</res-auth>
<res-sharing-scope>Shareable</res-sharing-scope>
<injection-target>
<injection-target-class>com.nec.jp.zaa03.db.dao.ProductDaoImpl</injection-target-class>
<injection-target-name>ds</injection-target-name>
</injection-target>
</resource-ref>
</session>