Презентация Internet and Java Foundations, Programming and Practice онлайн
На нашем сайте вы можете скачать и просмотреть онлайн доклад-презентацию на тему Internet and Java Foundations, Programming and Practice абсолютно бесплатно. Урок-презентация на эту тему содержит всего 205 слайдов. Все материалы созданы в программе PowerPoint и имеют формат ppt или же pptx. Материалы и темы для презентаций взяты из открытых источников и загружены их авторами, за качество и достоверность информации в них администрация сайта не отвечает, все права принадлежат их создателям. Если вы нашли то, что искали, отблагодарите авторов - поделитесь ссылкой в социальных сетях, а наш сайт добавьте в закладки.
Презентации » Устройства и комплектующие » Internet and Java Foundations, Programming and Practice
Оцените!
Оцените презентацию от 1 до 5 баллов!
- Тип файла:ppt / pptx (powerpoint)
- Всего слайдов:205 слайдов
- Для класса:1,2,3,4,5,6,7,8,9,10,11
- Размер файла:969.50 kB
- Просмотров:125
- Скачиваний:0
- Автор:неизвестен
Слайды и текст к этой презентации:
№7 слайд
![Early Internet Early Internet](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img6.jpg)
Содержание слайда: Early Internet
Early Internet supported only email .
File Transfer Protocol development - ftp sites.
Network News was added to the Internet.
Archie - A program to canvass anonymous ftp sites and create a database of what is available
Gopher- A menu-driven interface used to search for information.
Archie and Gopher could answer questions only like ‘what FTP server contains info about “xxxx” ‘
№8 слайд
![World Wide Web World Wide Web](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img7.jpg)
Содержание слайда: World Wide Web
World Wide Web conceptualized by Tim Berners-Lee at CERN in Switzerland
Concept of Hypertext led to the development of the Hypertext Markup Language (HTML)
Tim Berners-Lee proposed the ‘Browser’ program
Scientists at CERN designed a TCP/IP based protocol to share Hypertext information called HTTP.
WWW officially is described as a” Wide-area hypermedia information retrieval initiative aiming to give universal access to a large universe of documents.
№9 слайд
![HTML Hypertext -A little Hype](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img8.jpg)
Содержание слайда: HTML
Hypertext -A little Hype and a Little Text.
Hypertext point to information which can be local or remotely located.
HTML -Derivative of the SGML( Standard Generalized Markup Language).
HTML -information , commands for the Browser for formatting documents.
HTML -The de-facto language for publishing on the Internet.
Hypermedia- Hyper-links to Multimedia.
№10 слайд
![Internet Tools Browsers- A](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img9.jpg)
Содержание слайда: Internet Tools
Browsers- A tool used to view documents on the WWW
Web servers - Machines which run the HTTP-server Software that respond to HTTP requests which it receives
Authoring Tools - Editors specially made for editing HTML documents
Filters -Tools to convert legacy documents to HTML format
Scripting -Languages used for scripting
WAIS- Wide Area Information Servers (WAIS) for indexing and doing full text searches
№11 слайд
![How does the Web work ? Web](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img10.jpg)
Содержание слайда: How does the Web work ?
Web -Designed around Client/Server Architecture
Web Clients ( Web Browsers ) -send requests for documents to any Web Server
Web Server -Program that responds to HTTP requests
Hyperlink
Web client connects to the specified Web Server
The server responds by sending the information asked for
The Browser formats the received HTML data and displays it
№15 слайд
![URLs URLs- The Hypertext](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img14.jpg)
Содержание слайда: URLs
URLs- The Hypertext links we use today are known as Universal Resource Locator
URLs-Each name is unique across the Internet
An URL looks like this
http://system.domain.ext:999/dir1/dir2/dir3/file.html?blue#
Parts of a URL are,
Service type, System Name, Port, Directory path, Filename,Search Components or Variables
Service type, System Name, Directory path are the required parts of the URL
№16 слайд
![CGI Common Gateway Interface](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img15.jpg)
Содержание слайда: CGI (Common Gateway Interface)
CGI makes the Web a Two-way interface
CGI -lets the user run a script when a web page is accessed
Information from the Web Client is received through simple ‘fill-in-the-forms’ kind of interface
FORMS - Integrates data sheets, menus , check boxes
CGI makes the Web interactive
CGI -complicated to setup ,requires PERL knowledge
HTML books talk less about CGI
№17 слайд
![Authoring tools and Filters](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img16.jpg)
Содержание слайда: Authoring tools and Filters
Authoring tools- Editors for HTML documents
Editors similar to WYSIWYG word processing programs
Semi-WYSIWYG or completely WYSIWYG
Provide syntax checking and correction
Filters -Convert legacy documents to HTML format
Filters are useful when the documents already exist
Authoring tools- HoTMetaL, HTML Assistant -Shareware
№18 слайд
![Preconfigured v s Integrated](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img17.jpg)
Содержание слайда: Preconfigured v/s Integrated Internet Products
Integrated Internet Products- From multiple vendors
Preconfigured Systems- Web Server and a Client ready to use
Sun’s Netra Internet Server
SGI’s WebFORCE Indy and WebFORCE Challenge S
Apple’s Internet Server Solution
DEC’s Internet AlphaServer
Integraph’s Web Server 10
№19 слайд
![Future Directions Additions](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img18.jpg)
Содержание слайда: Future Directions
Additions to HTML (Grammar, Maths, Display control)
VRML (Virtual Reality Markup Language)
Security - Using Scrambling and Encryption
Common Client Interface (CCI)- Allows Clients to pass information back and forth between the Browser and the External Viewer
Charge Mechanisms
Performance Enhancements- Sending a page and graphics for that page in one connection
№20 слайд
![Interesting URLs http](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img19.jpg)
Содержание слайда: Interesting URLs
http://www.whitehouse.gov ( The WhiteHouse)
http://www.w3.org (Everything about the WWW)
http://sunsite.unc.edu (Software on Sun)
http://www.indnet.org (India Net Foundation Services)
telnet://www.arbornet.org (Free Public Access Unix System)
http://www.infoseek.com (Search engines, Add URL)
http://www.infophil.com (World Alumni on the net)
http://www.rocketmail.com (Free Email )
http://members.tripod.com (Free Website,2MB space)
http://www.bangaloreonline.com (Offers virtual web servvices for compinies to host their website).
http://www.prajavani.com (Kannada news paper on web)
№26 слайд
![Java - An Introduction Java -](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img25.jpg)
Содержание слайда: Java - An Introduction
Java - The new programming language from Sun Microsystems
Java -Allows anyone to publish a web page with Java code in it
Java - CPU Independent language
Created for consumer electronics
Java - James , Arthur Van , and others
Java -The name that survived a patent search
Oak -The predecessor of Java
Java is “C++ -- ++ “
№36 слайд
![Architecture Neutral amp](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img35.jpg)
Содержание слайда: Architecture Neutral & Portable
Java Compiler -Java source code to bytecode
Bytecode - an intermediate form, closer to machine representation
A virtual machine on any target platform interprets the bytecode
Porting the java system to any new platform involves writing an interpreter that supports the Java Virtual Machine
The interpreter will figure out what the equivalent machine dependent code to run
№42 слайд
![Basic Data Types Types](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img41.jpg)
Содержание слайда: Basic Data Types
Types
boolean either true of false
char 16 bit Unicode 1.1
byte 8-bit integer (signed)
short 16-bit integer (signed)
int 32-bit integer (signed)
long 64-bit integer (singed)
float 32-bit floating point (IEEE 754-1985)
double 64-bit floating point (IEEE 754-1985)
String (class for manipulating strings)
Java uses Unicode to represent characters internally
№44 слайд
![Two Types of JavaApplications](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img43.jpg)
Содержание слайда: Two Types of JavaApplications
Different ways to write/run a Java codes are:
Application- A stand-alone program that can be invoked from command line . A program that has a “main” method
Applet- A program embedded in a web page , to be run when the page is browsed . A program that contains no “main” method
Application -Java interpreter
Applets- Java enabled web browser (Linked to HTML via <APPLET> tag. in html file)
№55 слайд
![Significance of downloading](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img54.jpg)
Содержание слайда: Significance of downloading Applets
Interactive WWW
Flashy animation instead of static web pages
Applets react to users input and dynamically change
Display of dynamic data
WWW with Java - more than a document publishing medium
http://www.javasoft.com/applets/alpha/applets/StockDemo/standalone.html
№70 слайд
![Unit I -- What is Java ? A](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img69.jpg)
Содержание слайда: Unit I -- What is Java ?
A programming language:
Object oriented (no friends, all functions are members of classes, no function libraries -- just class libraries)
simple (no pointer arithmetic, no need for programmer to deallocate memory)
platform independent
dynamic
interpreted
№77 слайд
![Arrays have length used to](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img76.jpg)
Содержание слайда: Arrays have length
used to retrieve the size of an array
int a [ ] = new int [7]; // 1-dim
System.out.println(a.length); will print ‘7’
int b [ ] [ ] = new int [7] [11];
System.out.println(a.length); will print ‘7’
System.out.println(b.length * b[0].length); will print ‘77’
№85 слайд
![this as this object, when](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img84.jpg)
Содержание слайда: this :: as “this” object, when passed as parameter
refers to the object that used to call the calling method
class MyApp {
int a;
public static void main(String [] s ) { (new MyApp()).myMethod(); }
public void myMethod() { yourMethod(this); }
public void yourMethod(MyApp inMyApp) { inMyApp.a = 77; }
}
№87 слайд
![static keyword with variables](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img86.jpg)
Содержание слайда: static keyword (with variables)
class PurchaseOrder {
private static int POCount; // var. ‘a’ is shared by all objects of this class
public static void main(String [] s ) {
PurchaseOrder po1 = new PurchaseOrder();
po1.updatePOCount();
}
public void updatePOCount() { POCount++; }
}
№110 слайд
![AWT - Abstract Window Toolkit](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img109.jpg)
Содержание слайда: AWT - Abstract Window Toolkit
Portable GUI - preserves native look & feel
Standard GUI Components (buttons…)
Containers - Panels, Frames, Dialogs
Graphics class for custom drawing
Layouts responsible for actual positioning of components:
BorderLayout, GridLayout, FlowLayout, null layoit
№111 слайд
![Adding Components via Layouts](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img110.jpg)
Содержание слайда: Adding Components via Layouts
setLayout(new BorderLayout());
// Add text field to top
add("North",new TextField());
// Create the panel with buttons at the bottom...
Panel p = new Panel(); // FlowLayout
p.add(new Button("OK"));
p.add(new Button("Cancel"));
add("South",p);
№117 слайд
![Events Each GUI component](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img116.jpg)
Содержание слайда: Events
Each GUI component (e.g., a Button) that wishes to respond to an event type (e.g., click), must register an event handler, called a Listener.
The listener is an object of a "Listener" interface.
A Listener class can be created by subclassing (through "implements") one of Listener interfaces (all listener inrefaces are in the java.awt.event package = > must import java.awt.event.*; )
The registration of the listener is done by a call to a method such as addActionListener(<Listener Object>). Each GUI component class has one or more such add…() methods, where applicable.
№120 слайд
![windowActivated WindowEvent -](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img119.jpg)
Содержание слайда: 1) windowActivated(WindowEvent) - Invoked when a window is activated.
2) windowClosed(WindowEvent) - Invoked when a window has been closed.
3) windowClosing(WindowEvent) - Invoked when a window is in the process of being closed.
4) windowDeactivated(WindowEvent) - Invoked when a window is de-activated.
5) windowDeiconified(WindowEvent) - Invoked when a window is de-iconified.
6) windowIconified(WindowEvent) - Invoked when a window is iconified.
7) windowOpened(WindowEvent) - Invoked when a window has been opened.
№123 слайд
![class MyApp implements](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img122.jpg)
Содержание слайда: class MyApp implements ActionListener, WindowListener {
Button b = new Button(“OK”);
Frame f = new Frame(“My Frame”);
public static void main(String [] s ) {(new MyApp()).go(); }
public void go() {
b.addActionListener( this );
f.addWindowListener( this );
}
public void actionPerformed(ActionEvent e ) { … }
public void windowActivated(WindowEvent e ) { … }
public void windowClosed(WindowEvent e ) { … }
public void windowClosing(WindowEvent e ) { … }
public void windowDeactivated(WindowEvent e) { … }
public void windowDeiconified(WindowEvent e) { … }
public void windowIconified(WindowEvent e) { … }
public void windowOpened(WindowEvent e) { … }
}
№127 слайд
![Popup Menu and Event](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img126.jpg)
Содержание слайда: Popup Menu and Event Handling...
//popup.java: popup menu and event handling
import java.applet.Applet;
import java.awt.*;
import java.awt.event.*;
public class popup extends Frame implements ActionListener, MouseListener
{
TextField text1;
PopupMenu popup;
MenuItem menuitem1, menuitem2, menuitem3;
public popup()
{
super( "Popup Menu" );
setLayout(new FlowLayout());
setBounds(10, 10, 300, 200 );
setVisible(true);
init();
}
public void init()
{
popup = new PopupMenu("Resource Usage" );
№128 слайд
![Popup Menu and Event](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img127.jpg)
Содержание слайда: Popup Menu and Event Handling...
menuitem1 = new MenuItem("CPU");
menuitem1.addActionListener(this);
menuitem2 = new MenuItem("Disk");
menuitem2.addActionListener(this);
menuitem3 = new MenuItem("Memory");
menuitem3.addActionListener(this);
popup.add(menuitem1);
popup.add(menuitem2);
popup.add(menuitem3);
add(popup);
text1 = new TextField(20);
text1.setBounds(20, 40, 120, 30 );
add(text1);
addMouseListener(this);
}
public void mousePressed(MouseEvent e )
{
if( e.getModifiers() != 0 )
popup.show(this, e.getX(), e.getY() );
}
№129 слайд
![Popup Menu and Event Handling](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img128.jpg)
Содержание слайда: Popup Menu and Event Handling
public void mouseReleased( MouseEvent e )
{ System.out.print("Mouse Released\n" ); }
public void mouseEntered( MouseEvent e )
{ System.out.print("Mouse Entered\n" ); }
public void mouseExited( MouseEvent e )
{ System.out.print("Mouse Exited\n" ); }
public void actionPerformed( ActionEvent e )
{
if( e.getSource() == menuitem1 )
{ text1.setText("CPU"); }
if( e.getSource() == menuitem2 )
{ text1.setText("Disk"); }
if( e.getSource() == menuitem3 )
{ text1.setText("Memory"); }
}
public static void main( String args[] )
{
popup p = new popup();
}
}
№133 слайд
![A sample Applet](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img132.jpg)
Содержание слайда: A sample Applet
// HelloApplet.java: for processing applet methods
import java.awt.*;
import java.applet.*;
public class HelloApplet extends Applet
{
public void init() {
setBackground(Color.yellow);
System.out.println("init() method invoked");
}
public void start()
{
System.out.println("start() method invoked");
}
public void paint( Graphics g )
{
System.out.println("paint() method invoked");
g.drawString( "Hi there", 24, 25 );
}
public void stop()
{
System.out.println("stop() method invoked");
}
}
№138 слайд
![Another example MyApplet.java](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img137.jpg)
Содержание слайда: Another example
// MyApplet.java: draws rectangle with yellow color fill
import java.applet.*;
import java.awt.*;
public class MyApplet extends Applet
{
public synchronized void paint(Graphics g)
{
int x,y,width,height;
Dimension dm = size();
x = dm.width/4;
y = dm.height / 4;
width = dm.width / 2;
height = dm.height / 2;
// Draw the rectangle in the center with colors!
g.setColor(Color.blue);
g.drawRect(x,y,width,height);
g.setColor(Color.yellow);
g.fillRect(x + 1,y + 1,width - 2,height - 2);
}
}
№153 слайд
![nd method Threads by](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img152.jpg)
Содержание слайда: 2nd method: Threads by implementing Runnable interface
class MyThread implements Runnable
{
.....
public void run()
{
// thread body of execution
}
}
Creating Object:
MyThread myObject = new MyThread();
Creating Thread Object:
Thread thr1 = new Thread( myObject );
Start Execution:
thr1.start();
№162 слайд
![Streams and I O basic classes](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img161.jpg)
Содержание слайда: Streams and I/O
basic classes for file IO
FileInputStream, for reading from a file
FileOutputStream, for writing to a file
Example:
Open a file "myfile.txt" for reading
FileInputStream fis = new FileInputStream("myfile.txt");
Open a file "outfile.txt" for writing
FileOutputStream fos = new FileOutputStream ("myfile.txt");
№173 слайд
![Server side Socket Operations](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img172.jpg)
Содержание слайда: Server side Socket Operations
1. Open Server Socket:
String server; Socket slink;
DataOutputStream os;
DataInputStream is;
server = new ServerSocket( PORT );
2. Wait for Client Request:
Socket client = server.accept();
3. Create I/O streams for communicating to clients
is = new DataInputStream( client.getInputStream() );
os = new DataOutputStream( client.getOutputStream() );
4. Perform communication with client
Receiive from client: String line = is.readLine();
Send to client: os.writeBytes("Hello\n");
5. Close sockets: client.close();
For multithreade server:
while(true) {
i. wait for client requests (step 2 above)
ii. create a thread with “client” socket as parameter (the thread creates streams (as in step (3) and does communication as stated in (4). Remove thread once service is provided.
}
№174 слайд
![Client side Socket Operations](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img173.jpg)
Содержание слайда: Client side Socket Operations
1. Get connection to server:
client = new Socket( server, port_id );
2. Create I/O streams for communicating to clients
is = new DataInputStream( client.getInputStream() );
os = new DataOutputStream( client.getOutputStream() );
3. Perform communication with client
Receiive from client: String line = is.readLine();
Send to client: os.writeBytes("Hello\n");
4. Close sockets: client.close();
№177 слайд
![Echo Server Client..](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img176.jpg)
Содержание слайда: Echo Server Client..
//client.java: client interface to server
import java.io.*;
import java.net.*;
public class client
{
int port_id;
String server; Socket slink;
DataOutputStream os;
DataInputStream is;
DataInputStream kbd;
public client( String args[] )
{
server = args[0];
port_id = Integer.valueOf(args[1]).intValue();
try
{
slink = new Socket( server, port_id );
os = new DataOutputStream( slink.getOutputStream() );
is = new DataInputStream( slink.getInputStream() );
kbd = new DataInputStream( System.in );
}
№178 слайд
![Echo Server Client.. catch](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img177.jpg)
Содержание слайда: Echo Server Client..
catch( UnknownHostException e )
{
System.err.println( "Don't know about host: " );
System.exit(1);
}
catch( IOException e )
{
System.err.println( "Could not get I/O for the connection to "+server);
System.exit(1);
}
}
void communicate()
{
while(true)
{
try {
System.out.print("Enter Input <end to stop>: ");
String line = kbd.readLine();
os.writeBytes( line+"\n" );
№179 слайд
![Echo Server Client.. if](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img178.jpg)
Содержание слайда: Echo Server Client..
if( line.equals("end") )
{ os.close(); is.close(); slink.close();
break;
}
String line2 = is.readLine();
System.out.println("Output: "+line2);
}
catch( IOException e )
{ System.out.println(e); }
}
}
public static void main( String [] args )
{
if( args.length < 2 )
{
System.out.println("Usage: java client server_name port_id" );
System.exit(1);
}
client cln = new client( args );
cln.communicate();
}
}
№180 слайд
![Echo Server ... server.java](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img179.jpg)
Содержание слайда: Echo Server ...
// server.java: echo server
import java.io.*;
import java.net.*;
public class server
{
// public final static int PORT = 4779;
public static void main( String [] args )
{
ServerSocket server = null;
DataOutputStream os = null;
DataInputStream is = null;
boolean shutdown = false;
if( args.length < 1 )
{
System.out.println( "Usage: java server port_num" );
System.exit( 1 );
}
int PORT = Integer.valueOf(args[0]).intValue();
try {
server = new ServerSocket( PORT );
}
№181 слайд
![Echo Server ... catch](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img180.jpg)
Содержание слайда: Echo Server ...
catch( IOException e )
{
System.err.println( "Could not get I/O for the connection to: ");
}
while(!shutdown)
{
if( server != null )
{
try
{
Socket client = server.accept();
System.out.println("Connected");
InetAddress cip = client.getInetAddress();
System.out.println( "Client IP Addr: "+cip.toString());
is = new DataInputStream( client.getInputStream() );
os = new DataOutputStream( client.getOutputStream() );
for(;;)
{
String line = is.readLine();
if( line == null )
break;
№182 слайд
![Echo Server ... if](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img181.jpg)
Содержание слайда: Echo Server ...
if( line.startsWith("end" ) )
{
shutdown = true;
break;
}
os.writeBytes(line.toUpperCase());
os.writeBytes("\n");
System.out.println(line);
}
is.close(); client.close();
}
catch( UnknownHostException e )
{
System.err.println( "Server Open fails" );
}
catch( IOException e )
{
System.err.println( "Could not get I/O for the connection to:"+args[0]);
}
}
}
№187 слайд
![Java Applications! Java](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img186.jpg)
Содержание слайда: Java Applications!
Java applications are now available
Cost of manfg zero, cost of distribution zero, cost of marketing zero!
Hot Java is lean - loads everything else from the net.
Java itself is small - 40k to 225k
New class of small machines will emerge
Java on cellular phones, credit cards, washing machines, and everywhere ?
№189 слайд
![Java on my platform ? Sun](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img188.jpg)
Содержание слайда: Java on my platform ?
Sun (SPARC) ftp://java.sun.com
Sun(x86) ftp://xm.com:/pub/
IBM(Aix, OS/2)ftp://ncc.hursley.ibm.com/javainfo
DEC(Alpha OSF/1) http://www.gr.osf.org:8001/projects/web/java/
SGI http://liawww.epfl.ch/~simon/java/irix-jdk.html
HP http://www.gr.osf.org:8001/projects/web/java
Linux http://www.blackdown.org
AT & T http://www.gr.osf.org:8001/projects/web/java
Windows 3.1 http://www.alphaworks.ibm.com
№191 слайд
![Sun s Java WorkShop JDK](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img190.jpg)
Содержание слайда: Sun’s Java WorkShop
JDK:
Compiler and runtime environment
Class Libraries
Documentation
javadoc - Automated Documentation
Takes comments and converts to HTML
IDE: Visual Java, and integrated tools, JavaBeans
Other Products and API: JavaHelp, Java Card, Java Blend, JavaOS, Java Mail, Java Management, Java Electronic Commerce Framework
Java Enterprise API: Java Naming and Directory Interface, Java IDL, JDBC, RMI and Object Serialization
№194 слайд
![Borland JBuilder Visual RAD](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img193.jpg)
Содержание слайда: Borland JBuilder
Visual RAD workbench for maximum productivity.
Rapid Application Development (RAD) and Open Component Architecture patterned after Delphi.
100+ JavaBean components, with source code, for drag-and-drop applications.
Beans Express--easiest way to create industry-standard Java-Bean components.
DataExpress -- the fastest way to build business and database appplications.
Borland DataGateway for Java connectivity to all major database servers.
Multi-tier applications with integrated RMI and CORBA.
Versions: Standard, Professional, & Client/Server
№198 слайд
![Javascript and Java Preview](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img197.jpg)
Содержание слайда: Javascript and Java (Preview)
Javascript can control Java applets
Static data accessible as properties of applet
var i = Bank.Account.count
Public methods invocable on Java instances
Provided those instances are accessible through the Applet
Applet is accessible through document
document.applet_Name_Attribute.do_Stuff()
№199 слайд
![Java for HPC! Many efforts](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img198.jpg)
Содержание слайда: Java for HPC!
Many efforts are in in progress for making java as a language for parallel programming.
Java computing frameworks (HPC, numeric, data parallel)
Java in distributed simulations and applications (e.g., real-world HPC, grand chalenge)
Source to source translators (C, Fortran, C++ to Java)
Web based computation environment in Java
Java for HPC conference: http://www.cs.ucsb.edu/conferences/java98
Java for Science and Engineering computing: subscribe java-for-cse to majordomo@npac.syr.edu
http://www.jhpc.org
№200 слайд
![How to Convert Programs to](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img199.jpg)
Содержание слайда: How to Convert Programs to AWT 1.1...
1. Change source code so that it import event package:
import java.awt.event.*;
2. Figure out which component generates each event type: (1.0 uses handleEvent() and action())
Button, List, MenuItem, TextField:
Interface: ActionListener
Method: actionPerformed(ActionEvent event)
Checkbox, CheckboxMenuItem, Choice:
Interface: ItemListener Method: itemStateChanged(..)
Dialog, Frame:
Interface: WindowListener
Method: windowClosing(), windowOpened(),...
№201 слайд
![How to Convert Programs to](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img200.jpg)
Содержание слайда: How to Convert Programs to AWT 1.1...
3. Change class declaration so that class implements
public class MyClass extends SomeComponent
implements ActionListener
4. Register action Listener
newComponentObject.addActionListener(this);
5. Change event handling method:
Old: public boolean action(Event e, Object arg)
New: public void actionPerformed(ActionEvent e)
№202 слайд
![How to Convert Programs to](/documents_6/18c4208fdeca9db564a7b2ee06b25242/img201.jpg)
Содержание слайда: How to Convert Programs to AWT 1.1
6. Delete the event handling code in this way
(a) Delete all return statements
(b) Change e.target to e.getSource()
(c) Delete all code the unnecessarily tests for which
component the event come from
(d) Perform any other modification require to make
the program compile
Скачать все slide презентации Internet and Java Foundations, Programming and Practice одним архивом:
Похожие презентации
-
Mathematical functions, characters, and strings. Introduction to Java Programming
-
Prolog. A general-purpose logic programming language associated with artificial intelligence and computational linguistics
-
Operating systems and programming environments. МS DOS. Shell programs Norton Commander, Far Manager
-
Green technologies use in computer science and programming
-
Spring data. Familiar and consistent programming model for data access
-
High and low level programming languages
-
High and low level programming languages. Basics of programming languages
-
Class and Object. Java Core
-
Java Troubleshooting and Diagnostic
-
Java. SE. 06. Generic and collections