I am reading the book EJB 3 2nd by Anpress. Together with the book is the sample code. In the chapter 2, there is the tutorial to deploy the project. According to the book , I should do the following steps:
-in Netbean, choose Open Projects
-navigate to the folder of the sample code (that is the folder "Chapter02-SessionSamples")
-in the Open Project Window, in Project Name field , there should be Chapter02-SessionSamples, under this field, check on Open Required Projects, with the 2 files ejb and war
-click finish and use Netbean to deploy the project
in the book is this :
in my computer, it's like this :
I wonder what is missed in the process.
Thank you for your help!
Joined: Apr 27, 2013
Sorry, I forget to specify my problem, my problem (as you can see in the picture) is that: Netbean treats my sample code folder like a normal folder, and it can't identify it's a project.
Can you tell me what I miss?
This isn't an EJB question. Anyway, I'm not much of a NetBean user. But in order to pick up an ordinary folder as a project folder, NetBean will look for project files. The downloaded code is obviously missing those files. Try this to import your downloaded code: https://netbeans.org/kb/docs/java/project-setup.html#projects-importing and please Google your problem beforehand.