I am new to EJBs, I have created EJB files, but I have no idea how to compile them. Do I need a special EJB complier. I have down Loaded the BEA WebLogic server for EJB Deployment. Thank you for any Help TE
No you don't need any special compiler, you can use "javac". But make sure you have j2ee.jar is in your classpath. There is veru good documentation to run a "HelloWorld" kind of program in BEA website. I will advice to go over that.
Since WebLogic 6, you don't have to run ejbc if you don't want to. If you deploy just the javac-compiled ejb .class files in your ejb jar (or "exploded" directory), the server will "run ejbc" for you when the ejbs are deployed. Running ejbc manually does have the advantage that it will point out errors you might have in your beans or deployment descriptors. Finding out these things during "the build" is good. It also makes a jar that the server can consume more efficiently. But skipping it and just tossing the jar at the server is sometimes convenient and occassionally more fun (if you're into that sort of thing).
posted 18 years ago
Thank you everyone I will go over each reply, it will give me good experience. TE