File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes Web Component Certification (SCWCD/OCPJWCD) and the fly likes HFSJ using Eclipse Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login
JavaRanch » Java Forums » Certification » Web Component Certification (SCWCD/OCPJWCD)
Bookmark "HFSJ using Eclipse" Watch "HFSJ using Eclipse" New topic
Author

HFSJ using Eclipse

emaa rose
Greenhorn

Joined: Mar 30, 2009
Posts: 12
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

Joined: Dec 28, 2007
Posts: 2265
    
    3

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


Cheers, Bob "John Lennon" Perillo
SCJP, SCWCD, SCJD, SCBCD - Daileon: A Tool for Enabling Domain Annotations
emaa rose
Greenhorn

Joined: Mar 30, 2009
Posts: 12
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

Joined: Nov 24, 2005
Posts: 14687
    
  16

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.


[My Blog]
All roads lead to JavaRanch
emaa rose
Greenhorn

Joined: Mar 30, 2009
Posts: 12
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

Joined: Mar 30, 2009
Posts: 12
I finally figured out the directory structure and could go past the first deployment of servlet
Roberto Perillo
Bartender

Joined: Dec 28, 2007
Posts: 2265
    
    3

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!
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: HFSJ using Eclipse