Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NetBeans




NetBeans does not install Tomcat. It uses a local copy of the Tomcat embedded server to run your application.

A J2EE web application should follow the folder structure illustrated below:

- The root level of your application generally contains .html, .jsp, .gif, and .jpg files.
- A directory called WEB-INF contains your web.xml file, .tld tag library definition files, other xml configuration files,
classes and lib directories.
- Your classes directory holds servlets, JavaBeans, filters, and tag library class files.
- The lib directory holds .jar files (JDBC drivers, tag and other misc libraries) that you want to make
available exclusively to your application.

Here is an example of the directory structure of a web application containing two jsp pages, a servlet, and the MySQL jdbc driver .jar file:

/
index.jsp
thanks.jsp
WEB-INF
web.xml
classes
SigninServlet.class
lib

mysql-connector-java-3.0.16-ga-bin.jar

fwiw - I have found that my students prefer Eclipse over NetBeans by a factor of 5 to 1...

Cheers,

Darnell Gadberry
Lecturer, Department of Computer Science & Engineering
University of California, San Diego
dgadberry AT cs DOT ucsd DOT edu

On Apr 13, 2005, at 8:19 AM, email@hidden wrote:

I'm evaluating NetBeans as far as a Web application development tool for Mac and Windows. I'm creating a sample app that connects to a DB using JDBC. I'm making an assumption that when you install NetBeans it installs it's own copy of Tomcat to deploy apps to when you select RUN. Is that true? If so, where is the folder containing the copy of Tomcat. I need to know where to copy the .jar with the JDBC drivers. Any hep would be appreciated.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Java-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/java-dev/email@hidden

This email sent to email@hidden

References: 
 >NetBeans (From: email@hidden)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.