Topic: ★How to Make a CMP2.0 for JBoss3.2★

  Print this page

1.★How to Make a CMP2.0 for JBoss3.2★ Copy to clipboard
Posted by: ringayumi
Posted on: 2003-07-01 17:51

How to Make a CMP2.0 for JBoss3.2 use Mysql DB!!
Could anyone provide a sample?
thanks

2.Re:★How to Make a CMP2.0 for JBoss3.2★ [Re: ringayumi] Copy to clipboard
Posted by: why
Posted on: 2003-07-01 22:26

Have you tried the exercise workbook for JBoss 3.2 for the book EJB 3.0?
http://www.oreilly.com/catalog/entjbeans3/workbooks/index.html
Just plug in MySQL to replace the default HypersonicSQLStupid will do.

you may also base on struggle's post 在JBOSS3.0.7下的一个CMP实现的全过程 and make it work for JBoss 3.2.X. (it's the example from《精通EJB第二版》第七章CMP)

3.Re:★How to Make a CMP2.0 for JBoss3.2★ [Re: why] Copy to clipboard
Posted by: ringayumi
Posted on: 2003-07-02 00:42

thank you very much!! why.....
在JBOSS3.0.7下的一个CMP实现的全过程 <== the article is very great!!^_^
But I was tried JBoss 3.2 for the book EJB3.0 , it's failed......

4.Re:★How to Make a CMP2.0 for JBoss3.2★ [Re: ringayumi] Copy to clipboard
Posted by: nothing
Posted on: 2003-07-02 01:07

是不是jboss的配置方法总是变,他们才能卖服务和书啊?

Smile Smile

5.Re:★How to Make a CMP2.0 for JBoss3.2★ [Re: ringayumi] Copy to clipboard
Posted by: why
Posted on: 2003-07-02 01:53

ringayumi wrote:
thank you very much!! why.....
在JBOSS3.0.7下的一个CMP实现的全过程 <== the article is very great!!^_^
But I was tried JBoss 3.2 for the book EJB3.0 , it's failed......

Did you tried CMP实现的全过程 on JBoss 3.2?
It'd be nice if you could write notes on 在JBOSS3.2.X下的一个CMP实现的全过程 Smile
BTW, struggle mentioned in his article that 带MAIN的测
试程序后来才运行成功。等我有时间了,将其加进去。也只是两个
参数改一下的问题。
Perhaps you can help struggle to have this part completed.

How did the workbook exercise fail?

6.Re:★How to Make a CMP2.0 for JBoss3.2★ [Re: ringayumi] Copy to clipboard
Posted by: struggle
Posted on: 2003-07-02 20:14

TO:ringayumi
这个例子在JBOSS3.2下是有点问题,不过问题不大。将附件中
所带源码的ProductClient.java文件的create()方法抛出createException
异常,然后重新编译,重新部署即可!

TO:why
我这两天就会进一步完善我的那个贴!我的贴希望尽量做到无错。

7.Re:★How to Make a CMP2.0 for JBoss3.2★ [Re: ringayumi] Copy to clipboard
Posted by: why
Posted on: 2003-07-03 01:13

struggle:
I'm wondering if you would post the JBoss3.2 stuff in a new thread.
I hope you can add (with highlight) the JBoss 3.2 specific information/modifications in your 3.0 全过程.

8.Re:★How to Make a CMP2.0 for JBoss3.2★ [Re: ringayumi] Copy to clipboard
Posted by: struggle
Posted on: 2003-07-03 12:00

TO:why
由于我功底不够厚,所以只是将那个例子在JBOSS3.0.7和JBOSS3.2.1下
运行通过。在此过程中也只遇到了上述情况,可见JBOSS3.0.7对语法检查不是很严格。
所以就我写的那个例子而言,只要严格按照规范,过程一模一样!因为
此例简单,没有用到事务、异步。至于3.2和3.0.7区别到底是什么,我
不知道。所以无法胜任此工作,只能完善那篇贴子而已。


   Powered by Jute Powerful Forum® Version Jute 1.5.6 Ent
Copyright © 2002-2021 Cjsdn Team. All Righits Reserved. 闽ICP备05005120号-1
客服电话 18559299278    客服信箱 714923@qq.com    客服QQ 714923