Win a copy of Re-engineering Legacy Software this week in the Refactoring forum
or Docker in Action in the Agile forum!
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic

HFSJ using Eclipse

 
emaa rose
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I was just curious to find out if using Eclipse is a good idea for working on the tutorials in this book? There are places that where the book talk about command line.

PS: apologize if this question is not posted in the right forum. I was not sure if I should post it in the IDEs forum as this does relate to the HFSJ for SCWCD.

Thanks.
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Hey, partner!

In my opinion, it is a good idea. You can have a web container, like Tomcat, configured in your Eclipse to make things easier. At least, that's how I studied
 
emaa rose
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
In that case how did you build the directory structure to mimic the one in the book. Also, I have made a new project beerV1 as a dynamic web application, is that correct?
 
Christophe Verré
Sheriff
Posts: 14691
16
Eclipse IDE Ubuntu VI Editor
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Your problem is that you seem to be struggling to use the IDE. If you're not familiar with it, you'll waste more time trying to make things run than it would take you to do it one the command line. If you still want to use Eclipse, look for an online tutorial which explains the steps to make a web application.
 
emaa rose
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
My problem is in creating the exact same directory structure as the book using Eclipse. I am somewhat familiar with the IDE as I have worked on it for over a year and would really want to use it instead of command line.

When I create a new server and add a project to it, the folders for the server are also created in my workspace. The book says that all the folders, web.xml and the class file should be created in the original folder where Tomcat was installed.

Please let me know if my question is not clear enough.
 
emaa rose
Greenhorn
Posts: 12
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I finally figured out the directory structure and could go past the first deployment of servlet
 
Roberto Perillo
Bartender
Posts: 2271
3
Eclipse IDE Java Spring
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
Howdy, Emaa!

Sorry, I tried to search for a tutorial about how to work on a dynamic web project in Eclipse, using Tomcat, but couldn't find any cool one. Anyway, I'm glad you could make it!
 
  • Post Reply
  • Bookmark Topic Watch Topic
  • New Topic