• Post Reply Bookmark Topic Watch Topic
  • New Topic
programming forums Java Mobile Certification Databases Caching Books Engineering Micro Controllers OS Languages Paradigms IDEs Build Tools Frameworks Application Servers Open Source This Site Careers Other Pie Elite all forums
this forum made possible by our volunteer staff, including ...
Marshals:
  • Campbell Ritchie
  • Jeanne Boyarsky
  • Ron McLeod
  • Paul Clapham
  • Liutauras Vilda
Sheriffs:
  • paul wheaton
  • Rob Spoor
  • Devaka Cooray
Saloon Keepers:
  • Stephan van Hulst
  • Tim Holloway
  • Carey Brown
  • Frits Walraven
  • Tim Moores
Bartenders:
  • Mikalai Zaikin

can't use EJB 3 sample code from Anpress

 
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Hi everyone,
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!
 
Huy Than
Greenhorn
Posts: 4
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
Ah,
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?
Many thanks!
 
Ranch Hand
Posts: 49
Eclipse IDE Java Linux
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
With a little knowledge, a cast iron skillet is non-stick and lasts a lifetime.
reply
    Bookmark Topic Watch Topic
  • New Topic