-
1. Re: Help!
ali-gator Apr 11, 2003 10:57 AM (in response to fengdabin)You must have 3 xml with your bean:
> ejb-jar.xml
> jboss.xml
> jbosscmp-jdbc.xml
Rgs
Max -
2. Re: Help!
fengdabin Apr 11, 2003 9:55 PM (in response to fengdabin)In jboss3.0.6, do you mean that the file is standardjbosscmp-jdbc.xml?
and how to write the xml?
could you give me an example?
one more question:
do you mean that i have to package all three xml files and bean files together?
thank very much! -
3. Re: Help!
ali-gator Apr 14, 2003 4:43 AM (in response to fengdabin)Here are the 3 files I mentionned.
I used XDoclet so were they automatically generated but you can do it by yourself.
It's a quite simple example where you just have a table called BONUS with 2 fields (ID the primary key, and BONUS).
I know, it's not very clever to use the same name for the table and a field ;-)
Those 3 files must be put in a repository called META-INF which must be package in your jar file:
something.jar
^
|-------- your package <----- *.class
|-------- META-INF <----------*.xml
Hope it'll help you. Regards
Max