course overview, jdk & netbeans bcis 3680 enterprise programming

21
Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

Upload: kelly-gray

Post on 18-Jan-2018

236 views

Category:

Documents


0 download

DESCRIPTION

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

TRANSCRIPT

Page 1: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

Course Overview, JDK & NetBeans

BCIS 3680 Enterprise Programming

Page 2: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

2

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

Page 3: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

3

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.

Page 4: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

4

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

Page 5: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

5

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.

Page 6: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

6

Download Java and NetBeans Download JDK 7 from the course website:

http://www.cob.unt.edu/itds/faculty/wu/bcis3680/installers/jdk-7u25-windows-i586.exe

Download Tomcat from the course website:http://www.cob.unt.edu/itds/faculty/wu/bcis3680/installers/apache-tomcat-7.0.42-windows-x86.zip

If you choose to download from other sources, you’ll be on your own! 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.

Page 7: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

7

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.

Page 8: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

8

JDK Installation It helps later if you take note of where you install your JDK to.

Page 9: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

9

JDK Installation The installation process also will install the JRE (Java Runtime

Environment). It’s not as important to note its location.

Page 10: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

10

Download NetBeans http://www.netbeans.org/downloads/ Select the “Java EE” bundle

Page 11: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

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.

Page 12: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

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 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).

Page 13: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

13

Deselect GlassFish; Select Tomcat

Page 14: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

14

Yaddy, Yaddy, Yadda…

Page 15: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

15

Yaddy, Yaddy, Yadda…2

Page 16: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

16

Nice, JDK Path Is Auto-Detected…

Don’t change this. The installer will auto-detect it for you.

Page 17: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

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.

Page 18: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

18

Change Tomcat Installation Folder…

… to something short, and with no spaces.

Page 19: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

19

Now We’re Talking!

Page 20: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

20

If Your NetBeans Looks Different from Mine

Page 21: Course Overview, JDK & NetBeans BCIS 3680 Enterprise Programming

21

Now That’s Better!