CSC 243 - Java Programming, Spring, 2014 Welcome to Java Programming. Tuesday, January 21, 2014.

Slides:



Advertisements
Similar presentations
Question examples. Session 1 Objectives Why certify? Positioning of the non-technical version What is Java? Key advantages of Java Java Applications vs.
Advertisements

1 Copyright © 2005, Oracle. All rights reserved. Introducing the Java and Oracle Platforms.
1 G54PRG Programming Lecture 1 Amadeo Ascó Adam Moore G54PRG Programming Lecture 1 Amadeo Ascó 3 Java Programming Language.
In Review JAVA C++ GUIs - Windows Webopedia.com.
Object Orientated Programming
got ? Research Project – April 1998 Hang Xia, Mark Wang, Richard S. Chang Updated: R Norman, August 1999.
For more Lectures and Notes Visit
1 Chapter 3 Programs and Packages. 2 Java Virtual Machine (JVM) Java programs execute on the JVM. The JVM is a virtual rather than a physical machine,
Lab 1 Instructor: Jolanta Soltis.
JAVA: An Introduction to Problem Solving & Programming, 6 th Ed. By Walter Savitch ISBN © 2012 Pearson Education, Inc., Upper Saddle River,
L EC. 01: J AVA FUNDAMENTALS Fall Java Programming.
Java PAL.  Contains the development kit and the runtime environment ( aka the Java Virtual Machine )  Download Link:
Intro to Servlets Lec 26. Web-Based Enterprise Applications in Java Figure shows a simplified view of one application and its layers.
Advanced OOP MCS-3 OOP BSCS-3 Lecture # 1
BASIC JAVA PROGRAMMING TUTORIAL. History  James Gosling and Sun Microsystems  Oak  Java, May 20, 1995, Sun World  Hot Java –The first Java-enabled.
Android Introduction Platform Overview.
TC2-Computer Literacy Mr. Sencer February 8, 2010.
Java Programming, 2E Introductory Concepts and Techniques Chapter 2 Creating a Java Application and Applet.
CSC 111 Java Programming I. Java Programming: From Problem Analysis to Program Design, Second Edition  Instructor – Salwa Hamad Al-Jasser  Office.
M. Taimoor Khan * Java Server Pages (JSP) is a server-side programming technology that enables the creation of dynamic,
S.W. Ma/CIM/LWL41211/2 Prog. IIA Page 1 HKIVE (Lee Wai Lee Campus) Department of CIM Course : Year 2 Module : Programming IIA Textbook : Introduction.
Servlets Environment Setup. Agenda:  Setting up Java Development Kit  Setting up Web Server: Tomcat  Setting up CLASSPATH.
Glink: GCOS e-business in an application server architecture Summit 2000, Jim Gallagher.
Introduction to J2EE Architecture Portions by Kunal Mehta.
|Tecnologie Web L-A Anno Accademico Laboratorio di Tecnologie Web Introduzione ad Eclipse e Tomcat
CPRG 215 Introduction to Object-Oriented Programming with Java Module 1-Introduction to Java Topic 1.2 Getting the Tools and Setting Up the Development.
CSC Java Programming, Fall, 2008 Week 2: Java Data Types, Control Constructs, and their C++ counterparts, September 4.
JAVA Java is a programming language and computing platform first released by Sun Microsystems in It was first developed by James Gosling at Sun Microsystems,
1.8History of Java Java –Based on C and C++ –Originally developed in early 1991 for intelligent consumer electronic devices Market did not develop, project.
Jaeki Song ISQS6337 JAVA Lecture 03 Introduction to Java -The First Java Application-
© 2012 Pearson Education, Inc. All rights reserved. 1-1 Why Java? Needed program portability – Program written in a language that would run on various.
POS 406 Java Technology And Beginning Java Code
Java Programming, 2E Introductory Concepts and Techniques Chapter 1 An Introduction to Java and Program Design.
Introduction to Java Programming. Introduction Course Objectives Organization of the Book.
Session 1 Introduction to Java. Objectives Java Simplified / Session 1 / 2 of 32 Explain the history of Java Explain Java in brief List the types of Java.
Topic Java EE installation (Eclipse, glassfish, etc.) Eclipse configuration for EE Creating a Java Web Dynamic Project Creating your first servlet.
Java Portals and Portlets Submitted By: Rashi Chopra CIS 764 Fall 2007 Rashi Chopra.
National Taiwan University Department of Computer Science and Information Engineering National Taiwan University Department of Computer Science and Information.
1 MSCS 237 Overview of web technologies (A specific type of distributed systems)
14 June 2004System-wide Services: User InterfaceRich Moeser 1 EVLA Overall Software Design Final Internal Review System-wide Services: User Interface.
J ava P rogramming: From Problem Analysis to Program Design, From Problem Analysis to Program Design, Second Edition Second Edition D.S. Malik D.S. Malik.
22-July-2002cse142-13B-Development © 2002 University of Washington1 Development Tools CSE 142, Summer 2002 Computer Programming 1
Core Java Introduction Byju Veedu Ness Technologies httpdownload.oracle.com/javase/tutorial/getStarted/intro/definition.html.
Chapter 1: An Overview of Computers and Programming Languages
1 Applets are small applications that are accessed on an Internet server, transported over the internet, automatically installed and run as a part of web.
Application Architecture Using Java Hong Li. Introduction Developed by a team led by James Gosling at Sun Microsystem. Originally called Oak, designed.
Lecture 02. Java Virtual Machine(JVM) –set of computer software programs and data structures that use a virtual machine model for the execution of other.
© 2012 Pearson Education, Inc. All rights reserved types of Java programs Application – Stand-alone program (run without a web browser) – Relaxed.
Creating a Java Application and Applet
©2016 Pearson Education, Inc. Upper Saddle River, NJ. All Rights Reserved. CSC 110 – INTRO TO COMPUTING - PROGRAMMING Overview of Programming.
Manage Engine’s OpManager
CSC Java Programming, Spring, 2010 Week 2: Java Data Types, Control Constructs, and their C++ counterparts.
Glink for Java: applet, application and an API for integrating access to Bull, IBM, UNIX and Minitel systems with your Java based e-business applications.
CSC Java Programming, Fall, 2008 August 28, 2008, class 2 Tuesday, September 2 uses Monday’s schedule!
1 Applets Programming. Introduction Java programs are divided into two main categories, applets and applications. An application is an ordinary Java program.
20-753: Fundamentals of Web Programming Copyright © 1999, Carnegie Mellon. All Rights Reserved. 1 Lecture 15: Java Basics Fundamentals of Web Programming.
Introduction to JAVA Programming
Introduction to Java Programming, 4E Y. Daniel Liang.
Introduction to Algorithm. What is Algorithm? an algorithm is any well-defined computational procedure that takes some value, or set of values, as input.
Part II Software When developing software there are several particularities to be aware of: Java is widespread used because of the platform independence.
Introduction to Computers, the Internet and the World Wide Web
CSC Java Programming, Spring, 2010
Java programming lecture one
Introduction CSC 111.
Criteria for rapid prototyping
CSC Java Programming, Spring, 2009
CSC Java Programming, Spring, 2013
JAVA APPLET PREPARED BY Mr. Jahanzaib Ahmed
Outcome of the Lecture Upon completion of this lecture you will be able to understand Fundamentals and Characteristics of Java Language Basic Terminology.
CSC Java Programming, Fall, 2008
Presentation transcript:

CSC Java Programming, Spring, 2014 Welcome to Java Programming. Tuesday, January 21, 2014

What are we planning to do? We will transport ourselves from C++ to Java programming in a series of graceful steps. We will use modular construction techniques, with the assistance of Java classes and interfaces. We will learn how to get leverage from the massive Java class library. We will learn to use programming tools such as Eclipse. We will enter the realm of graphical user interface (GUI) and other event-driven programming.

References /login.html has downloads from our textbook /login.html GNU make docs. has on-line docs. class lib. /export/home/faculty/parson/JavaLang on bill.kutztown.edu Make sure that /usr/jdk/jdk1.6.0_02/bin is near the front of UNIX PATH. Follow instructions in the JavaShellSetup2011.pdf document (accessible via my home page at to set up and verify your Java compilation environment. Setup verification is due by Feb. 7.JavaShellSetup2011.pdf

Java programs run on a Java Virtual Machine (JVM) Java source program, FILE.java javac –g FILE.java (creates FILE.class) java PACKAGE.FILE where PACKAGE is a subdirectory under ~/JavaLang This runs PACKAGE.FILE on an interpreted JVM.

Categories of Java Virtual Machines Java EE (Enterprise Edition) comes with enterprise level class libraries, for example, large database and server infrastructure Java SE (Standard Edition) is the typical configuration for non-corporate users, including single users Java ME (Micro Edition) is for embedded devices. It has a small and special-purpose class library.

Varieties of Java “programs” Stand-alone applications run like C++ programs. Applets run inside a web browser (GUI). Servlets run inside a web server (HTML). Java Frameworks can select and load Java plugins (components) at run time. Java can run on small footprint embedded devices (for example, cell phones).

First example Java program CountArgString counts distinct, non- overlapping occurrences of a string in a file JavaLang/countargs Make sure you walk through my UNIX environment setup instructions and me a screen trace by January 25. Make sure CLASSPATH include your $HOME/JavaLang makefile drives execution of compile and test steps gmake build to compile Java files gmake clean test to run test cases gmake clean to clean up test output and compiled files