220 likes | 310 Views
Course Overview, JDK & NetBeans. BCIS 3680 Enterprise Programming. Structure of Course. Java in Action Methods – Overloading and overriding Arrays and loops OOP Encapsulation Inheritance Java on the Web Apache Web server JSP Form processing Java on Data MySQL JDBC Handling data.
E N D
Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming
Structure of Course • Java in Action • Methods – Overloading and overriding • Arrays and loops • OOP • Encapsulation • Inheritance • Java on the Web • Apache Web server • JSP • Form processing • Java on Data • MySQL • JDBC • Handling data
What We Won’t Cover • I will not go over if statements in detail. • Loops will be discussed only in relation to arrays. • Consult your 3630 materials if you think your knowledge of these is rusty.
Software for This Course • Software needed for this course includes: • Java JDK • If you have installed the JDK for BCIS 3630, you don’t have to reinstall it, even though its version is not the most current. • Java editor • My recommendation is NetBeans. But you may use any tool that is capable of creating and editing Java classes. You may continue using the tool you used in BCIS 3630. If you’re interested in Android development in the future, Eclipse is recommended. • HTML editor • Dreamweaver (any version) is recommended. But again, you may use your preferred HTML editor. On CoB lab computers, you can find Dreamweaver in the menu for Dr. Peak’s courses. • Tomcat • MySQL
Software Installation • Before installing software, it is highly recommended that you go through my PowerPoint slides on System Restore. • Manually create a restore point so that you can revert your system to its clean state if anything goes wrong during the installation.
Download Java and NetBeans • I recommend that you download NetBeans and JDK separately instead of selecting the JDK+NetBeans bundled. • Option 1: Recommended • Get them from the course website. • The installation screenshots that follow are based on a slightly older version of NetBeans. The lab machines also have this version. • Option 2: For those who always want to be on the cutting edge of IT • Download and install the latest version; but you’re on your own
Download Java SE JDK • http://www.oracle.com/technetwork/java/javase/downloads/jdk7-downloads-1880260.html • Download the JDK, not the JRE!
Download NetBeans • http://www.netbeans.org/downloads/ • Select the “Java EE” bundle
JDK Installation • Once you have downloaded the installer files, install the Java SE JDK first. Then install NetBeans. • We will use NetBeans to write Java classes in this course. • We also will use Tomcat as the Web server for our Web applications. The Tomcat installer is integrated in the NetBeans installer.
JDK Installation • It helps later if you take note of where you install your JDK to.
JDK Installation • The installation process also will install the JRE (Java Runtime Environment). It’s not as important to note its location.
NetBeans Installation • You may choose to install Tomcat together while installing NetBeans. But this is not absolutely necessary. • You can install Tomcat later either as a separate installation or modification of NetBeans features. • You don’t have to install other Web server app that may also come with NetBeans. Tomcat is enough for this course.
Installation Folder • In the following slides, I’m installing programs to my “program partition,” which is my D: drive. So you see all the installation folders share the common D: root. • You don’t have to do the same. In fact, if you didn’t re-partition your PC, you probably have just a C: partition and D: is your DVD drive. • Most likely, your programs will be installed under C:\Program Files. It’s fine to accept the defaults, except for Tomcat. I suggest that you installed it in the folder C:\Apache\Tomcat (see details later).
Nice, JDK Path Is Auto-Detected… Don’t change this. The installer will auto-detect it for you.
Hold It Right There… You don’t want to use the default for Tomcat. The long directory path and the spaces may cause some hassle, if not frustration.
Change Tomcat Installation Folder… … to something short, and with no spaces.