Transcript Overview
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.
We’ll briefly review some topics you learned in BCIS
3680 -
3
Methods
Arrays
Packages
Use of classes
Technology in Use
Each student will get a virtual machine for testing out the
examples and for doing assignments.
It’s a Windows 7 machine with all the software
applications installed and in working order.
You need a computer (one checked out from the CoB
general computer lab, you own, or any PC on which you
have the permission and rights to install the VM access
client) to access the VM.
The following slides regarding software
installation are only relevant if you decide to
install the applications on your own computer
directly.
4
Software for This Course
Software needed for this course includes:
Java JDK
Java editor
5
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.
6
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!
7
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.
8
JDK Installation
It helps later if you take note of where you install your JDK to.
9
JDK Installation
The installation process also will install the JRE (Java Runtime
Environment). It’s not as important to note its location.
10
Download NetBeans
http://www.netbeans.org/downloads/
Select the “Java EE” bundle
11
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.
12
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).
13
Deselect GlassFish; Select Tomcat
14
Yaddy, Yaddy, Yadda…
15
Yaddy, Yaddy, Yadda…2
16
Nice, JDK Path Is Auto-Detected…
Don’t change this. The
installer will auto-detect it
for you.
17
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.
18
Change Tomcat Installation Folder…
… to something short, and with no spaces.
19
Now We’re Talking!
20
If Your NetBeans Looks Different from Mine
21
Now That’s Better!
22