• 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:
  • Tim Cooke
  • Campbell Ritchie
  • paul wheaton
  • Ron McLeod
  • Devaka Cooray
Sheriffs:
  • Jeanne Boyarsky
  • Liutauras Vilda
  • Paul Clapham
Saloon Keepers:
  • Tim Holloway
  • Carey Brown
  • Piet Souris
Bartenders:

NetBeans: how does a "Web Module" work ?

 
Ranch Hand
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
Posts: 18944
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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
 
Ranch Hand
Posts: 34
  • Mark post as helpful
  • send pies
    Number of slices to send:
    Optional 'thank-you' note:
  • Quote
  • Report post to moderator
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.
 
Consider Paul's rocket mass heater.
reply
    Bookmark Topic Watch Topic
  • New Topic