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 2 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. 3 Software for This Course Software needed for this course includes: Java JDK Java editor 4 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 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. 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. 5 Download Java and NetBeans Download JDK 7 from the course website: http://www.cob.unt.edu/itds/faculty/wu/bcis3680/installers/jdk-7u25windows-i586.exe Download Tomcat from the course website: http://www.cob.unt.edu/itds/faculty/wu/bcis3680/installers/apachetomcat-7.0.42-windows-x86.zip If you choose to download from other sources, you’ll be on your own! 6 Other mixes of the software may or may not work properly for this course. If they don’t, you may have to uninstall them and use the course versions instead. 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. 7 JDK Installation It helps later if you take note of where you install your JDK to. 8 JDK Installation The installation process also will install the JRE (Java Runtime Environment). It’s not as important to note its location. 9 Download NetBeans http://www.netbeans.org/downloads/ Select the “Java EE” bundle 10 NetBeans Installation The use of NetBeans in this course is absolutely optional. 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. 11 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 repartition 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). 12 Deselect GlassFish; Select Tomcat 13 Yaddy, Yaddy, Yadda… 14 Yaddy, Yaddy, Yadda…2 15 Nice, JDK Path Is Auto-Detected… Don’t change this. The installer will auto-detect it for you. 16 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. 17 Change Tomcat Installation Folder… … to something short, and with no spaces. 18 Now We’re Talking! 19 If Your NetBeans Looks Different from Mine 20 Now That’s Better! 21