File APIs for Java Developers
Manipulate DOC, XLS, PPT, PDF and many others from your application.
http://aspose.com/file-tools
The moose likes IDEs, Version Control and other tools and the fly likes NetBeans: how does a Big Moose Saloon
  Search | Java FAQ | Recent Topics | Flagged Topics | Hot Topics | Zero Replies
Register / Login


Win a copy of Soft Skills this week in the Jobs Discussion forum!
JavaRanch » Java Forums » Engineering » IDEs, Version Control and other tools
Bookmark "NetBeans: how does a "Web Module" work ?" Watch "NetBeans: how does a "Web Module" work ?" New topic
Author

NetBeans: how does a "Web Module" work ?

Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
hi !
i'm working with NetBeans, and I reckon a Web Module is supposed to make it easy to work with J2EE applications.
i don't really understand it, though.
how am i supposed to work with it, or is it better not to use this at all ?
cheers
dennis
Anonymous
Ranch Hand

Joined: Nov 22, 2008
Posts: 18944
I have a better way to put my question:
where am I supposed to put my java source files/packages so that the corresponding .class files will be put in the web application's "classes" folder ?
thanx,
Dennis
Trish Wu
Ranch Hand

Joined: Oct 09, 2002
Posts: 34
I am also starting to use netbeans to do my web application development. Actually, I have uninstalled the WSAD as it takes too long to compile a jsp file.
I am not an expert in Netbeans, but the web module thing has been working quite smoothly for me. BTW, I am using 3.4.
For starting on a web app, I would mount a folder in the file system. This directory is my webapp directory. Then I will right click in the Filesystem explorer and choose to create a new webmodule. After that, the classes directory is automatically mounted. And if u change the tab to the project explorer, u can concentrate only on your web modules.After that, I will just use the wizard to create servlet and jsps.
Also, I will also switch the the runtime tab and add a context in under Tomcat 4.0/internal. I think this is the same as adding a context element in the server.xml (for crosscontext!!! etc.).
Luckily, my current projects do not require the use of EJBs, but it will be good for someone in this ranch to share their experiences in using netbeans for cooking EJBs.
Maybe I dont have the incentives to upgrade my workstation to use WSAD, so netbeans have been quite useful for me in developing my projects.
Hoping to hear more comments on this cool IDE.
 
I agree. Here's the link: http://aspose.com/file-tools
 
subject: NetBeans: how does a "Web Module" work ?