ben oliver wrote:I want to create a EJB 3 project in RAD. couple silly questions :
1. The IDE automatically generates a "ejbModule" folder. Should I put my ejb source code there ? I am used to put source code in some folder like "src". Is that ok ?
Answer #1: Yes it is absolutely fine to change ejbModule to src. I do that all the time. I am using RAD 7.5.3 and have seen no issues. You can leave it as ejbModule if you like it like that but as I said there is no issue if you change it to src.
ben oliver wrote:
2. Is the ejb-jar.xml file automatically generated by IDE inside "ejbModule" folder ?
Answer #2: No the deployment descriptor files will be generated in EJB3 project only if you opted for it. For example: If you generated the project with "interfaces in ejb client jar" the deployment descriptors will be generated. The location of the ejb-jar.xml (and addn ibm bind files) is src/META-INF or ejbModule/META-INF.