This week's book giveaway is in the OCAJP 8 forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide and have Edward Finegan & Robert Liguori on-line! See this thread for details.
I am a newbie of EJB. I am now reading a book called Mastering EJB. I am following the example in the chapter 3 of the book to generate a ejb-jar file. I have created all the java files and a deployment descriptor, and put all of them in a folder. In the book, it says that "if you're using a development environment supporting EJB, the development environment may contain an automated way to generate the Ejb-jar file for you" by the command "jar cf HelloWorld.jar *". However, after I have run this command, only the HelloWorld.jar is created. How can I set my computer to be an environment supporting EJB? Thanks! PS: I have set JBoss in my computer successfully and my platform is Windows ME. Stephen
Once you've created the EJB jar, you have to give a copy of it to JBoss. You'll have to read the JBoss manual to get the details - I don't remember them. And, of course, you write a client app to test the EJB.
An IDE is no substitute for an Intelligent Developer.