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
Joined: Nov 22, 2008
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
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.