Lectures
 

Instructor: Brad Rippe
Office: T7B
Office Hours: 9 - 5 p.m., M - Th.
Course Room: 312, 6:30 - 9:00 p.m.
Course Lab: TBA
Course Site:
http://cis226.fullcoll.edu

Email: brippe@fullcoll.edu
(Place CIS 226 in the subject line)

Group Email: cis226@yahoogroups.com
Group Site: http://groups.yahoo.com/group/cis226
Phone: (714) 992 - 7516

IDE Downloads:
Download JCreator (1.93 MB)
Download JEDPlus
Download Borland's Control Center (Togethersoft)

My Notes:
My Editor: TogetherSoft (Borland) Control Center
SDK: Java 1.4.1 - if you use an early version, its possible that some examples and/or assignments won't work. I will assume you have installed the latest JVM.

This today 's class 7/1

Review for Tomorrow's Final
Solutions for 7, 8 and 9 will be posted following the final
Hypothetical Reservation System in Java

Homework 9 - the Final One - Submission Form
Homework 7 and 8 - GUI and More - 7/8 Submission Form

Homework 6 Solutions:
ExceptionRunner.java
ExceptionThrower.java
MyFirstException.java

Borland's Control Center Academic License

MORE INFO AT:
http://java.sun.com/docs/books/tutorial/java/TOC.html#nutsandbolts

Error in Syllabus - Assignments are worth 50pts each, not 100.

Test 2 Average Score: 88


Getting Started

To help you determine what you need to create Java programs, I've put together the brief outline to get you started. In addition, your text book (or some Java text book) will be needed.

Object: Java Source Code Creation (We need to write the code. How?)
Method: Java text editor - Togethersoft Control Center (Ask me about this program), JCreator, JEDPlus (or some other text editor like: WordPad, NotePad, Pico, JEditor). Java is a text file with a ".java" extension. Therefore, we can use any text editor to write Java source code.

Object: Writing correct code (Correct in the sense that the java compiler will understand what you have written)
Source Code Verification and Validation - means that your code was written with the correct syntax and conforms the java specification.
bytecode generation - once your code is verified and validated, it is converted into java bytecode, the .class file.

Method: javac - the Java compiler. This tool reads Java source code and ensures that the code is written syntactically correct (adheres to the Java specification, and rules) and creates bytecode.

Object: How does a ".class" file run? (Bytecode Translation)
Method: Java - Java virtual machine (jvm). This tool reads Java bytecode, the .class file, and translates it into instructions that the computer can understand and execute.

In order to begin, you need a text editor, the compiler (javac), and the Java virtual machine (jvm - java.exe). You can download the JCreator off of this page or use some other editor (your preference) and download the Java Software Development Kit (SDK) from Sun. Once you have those tools installed, have read the assigned chapters and assignments\code conventions, you're ready to begin Assignment 1.


Textbook:

How to Program Java
Fifth Edition
Deitel & Deitel
ISBN: 0131016210

Course Description: Three hours lecture and two hours laboratory per week. This course is an introduction to designing, creating and debugging Java programs. Students will learn the syntax of the Java programming language, how to design programs using Object Oriented Analyses and Design, and how to create programs that run over the Internet as well as stand-alone programs. Emphasis is placed on program design, using Java programs with HTML pages, and software re-use. (CSU) (UC) (Degree credit).

Course Objectives:
To provide the students with exposure to the Java Programming language, Object Oriented concepts, experience with the a Java IDE, and possibly some uml.

Prerequisites: CIS 221A BASIC Programming for Business or 217 Visual Basic Programming or 223 Programming in C++ with a grade of "C" or better.

Preliminary requirements:
There will be NO LATE ASSIGNMENTS ACCEPTED!!!!
All assignments must be turned in with a hard copy and the source code will be submitted online.
Please see the homework requirements.


Frequently Asked Questions

1. What Java Compiler / IDE are we going to use?
Sun's JDK 1.4.1 (command line interface - you have to know DOS or whatever your command line tools require).
I will discuss JCreator and Borland's Control Center in class and try to use this tool as much as possible in class.

2. Can I use Visual J++, Web Gain Visual Cafe, JBuilder, Forte (name your favorite Java IDE here), etc.?
You can use any thing you want to complete the homework. However, all exams will be done in-class with the Sun's JDK as setup in the labs. (Unless you bring your own laptop). So you will have to know how to use the tools that are in the labs. Note: Tests are hands-on...

3. Can I get Credit / Non-Credit for this class? Can I just sit in and audit the class?
Please contact the Business/CIS Division Office at 714-992-7088 for policy matters such as these. However, the last time I checked around Spring 2000, this class can NOT be audited.

4. I have my own computer, do I have to come to the lab?
No. But you still need to get a network account to take the tests in the lab.

5. I can not find the text book in the bookstore! Call your local Barnes and Noble or BookStars.
You can also order the book from http://www.amazon.com or http://www.barnesandnoble.com. You can check your local Borders, and Barnes and Noble too.

6. I could not get my student ID card on time! How do I get a network account?
You can show the lab aide your printout and a picture ID, and he/she will create a network account for you.

7. Why do I have the choice of different editors. Why can't I just use something like Microsoft Visual Studio?
Sun makes no assumptions on what you should or shouldn't use to write code. So, you're free to use whatever editor you are most comfortable with. I recommend you start with something like JCreator and move to another editor when you become acquainted with the java language.

8. What is UML and must I know it to pass this course?
UML stands for Unified Modeling Language its comprised of graphical components that allow software designers to convey ideas and system components with a standardize language. UML defines standard diagrams (class diagrams, sequence diagrams, etc) which allow engineers and software programmers to communicate designs in an effective manor.
You will not be tested on UML and it is not required that you learn any specific diagrams to pass this course. However, UML might be used to show relationships and/or describe source code. For more information on UML, see the Object Management Group's site at http://www.omg.org/uml.

Special thanks to Co Ho for his help in developing this course!

Home | Syllabus | Lectures | Assignments | Coding Conventions | Links

"Java and the Java Coffee Cup Logo are trademarks or registered trademarks of Sun Microsystems, Inc. in the U.S. and other countries."