Topic: 怎么把ejb的源文件(如.java文件)直接在JB7中生成ejb

  Print this page

1.怎么把ejb的源文件(如.java文件)直接在JB7中生成ejb Copy to clipboard
Posted by: snowred
Posted on: 2002-12-09 15:13

怎么把现有的EJB的java源文件直接生成EJB而不需再从头设置

2.Re:怎么把ejb的源文件(如.java文件)直接在JB7中生成ejb [Re: snowred] Copy to clipboard
Posted by: taogang
Posted on: 2002-12-17 13:26

JB7 uses a one-to-one Descriptor for each EJB, if you want to build EJB in JB7, you would have to provide this Descriptor. You can manually create such Descriptor and add them to your project, but, the easiest way to do this might be:

#1: use JB7 tools to generate Descriptors with all desired properties;
#2: over-write the generated java file with correct one;
#3: build the EJBs with correct EJB container settings;
#4: enjoy the results.

hope it could help.


   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