Download Java - A Perspective

Survey
yes no Was this document useful for you?
   Thank you for your participation!

* Your assessment is very important for improving the work of artificial intelligence, which forms the content of this project

Document related concepts
no text concepts found
Transcript
Java - A Perspective
by
Angsuman Chakraborty
Copyright Taragana
1
Overview
•
•
•
•
•
•
•
•
•
Features & Benefits
Java versus C++/C#/J#/PHP/Python/Ruby
Object Oriented Development
Self-Study Roadmap
Sample Programs
Weakness
Summary
More Information
Contact
5/24/2017
Copyright Taragana
2
Features & Benefits
•
•
•
•
•
•
Market Leader
Enterprise Ready
Object Oriented
Cross Platform
Made for Web
Secure
5/24/2017
Copyright Taragana
3
Java versus…
•
•
•
•
•
C
C++
C#, J#
PHP, Python
Ruby
5/24/2017
Copyright Taragana
4
Usage
• Standalone Application
• Server
– J2EE – JSP, Servlets, EJB, JMS…
• Client
– Applet
• Mobiles, PDA, Smart Cards
– MIDP etc.
• Platform
– Windows, Mac, Unix, Linux, AIX, Mainframe etc.
5/24/2017
Copyright Taragana
5
Java Position
5/24/2017
Copyright Taragana
6
Object Oriented Development
Overview
•
•
•
•
Structured Programming
What are Objects
Objects in Java
Benefits of Object Oriented Programming
5/24/2017
Copyright Taragana
7
Object Oriented Concepts
• Object
– Monolithic
– Composite
• Class
• Interface
• Message
5/24/2017
Copyright Taragana
8
Object Oriented Concepts II
• Encapsulation
• Inheritance
• Polymorphism
5/24/2017
Copyright Taragana
9
Java Self-Study Roadmap
• Java Syntax
• Java Packages
5/24/2017
Copyright Taragana
10
Core Java Syntax
•
•
•
•
if
for
while
switch
5/24/2017
Copyright Taragana
11
Sample Program: HelloWorld
HelloWorld.java
public class HelloWorld {
public static void main(String args[]) {
System.out.println(“Hello World”);
}
}
5/24/2017
Copyright Taragana
12
Sample Program: Echo
Echo.java
public class Echo {
public static void main(String args[]) {
for(String arg:args) {
System.out.println(arg);
}
}
}
5/24/2017
Copyright Taragana
13
Java Packages
• Core
– java.lang
– java.util
• I/O
– java.io
• Net
– java.net
• UI
– java.awt
– javax.swing
5/24/2017
Copyright Taragana
14
What defines Java?
• Enabling versus Controlling
– Checked Exceptions
– RemoteException
•
•
•
•
Cross-Platform
Think Optimization
Think Robust
Think Enterprise
5/24/2017
Copyright Taragana
15
Summary
• Leading Programming Language
http://blog.taragana.com/index.php/archive/java-leads-again-vb-in-massive-decline/
• Object Oriented Development
• Massive Supporting Libraries
• Java + Net = Future
5/24/2017
Copyright Taragana
16
More Information
• Java Download
– J2SE http://java.sun.com/j2se/1.5.0/download.jsp
– J2EE http://java.sun.com/j2ee/1.4/download.html#sdk
• Java Integrated Development Environment –
– http://www.eclipse.org/downloads/
– http://java.sun.com/j2se/1.5.0/download-netbeans.html
• Java Tutorial
– http://java.sun.com/docs/books/tutorial/
• Java Blog
– http://blog.taragana.com/
5/24/2017
Copyright Taragana
17
Contact
• Java Blog
– http://blog.taragana.com/
• Personal Blog
– http://angsuman.taragana.net/
• Company
– http://www.taragana.com/site/
• Email
– [email protected]
• AIM, YIM, MSN IM – angsuman
• Phone – +91-33-2405-1943
5/24/2017
Copyright Taragana
18
Related documents