现在的位置: 首页 > 综合 > 正文

Java入门

2014年03月21日 ⁄ 综合 ⁄ 共 6263字 ⁄ 字号 评论关闭

官方网站http://java.sun.com/是入门的首选.

一、Java Programming Language:

不要看任何中文教材,先看The Java Tutorial ,
http://java.sun.com/docs/books/tutorial/
做Tutorial练习的时候需要下载J2SDK
http://java.sun.com/j2se/1.4/index.jsp
暂时不要深入J2SE,能运行Tutorial的例子就可以了。一定要运行例子!

或者访问JAVA学习中心:
http://java.sun.com/learning/new2java/index.html
特别注意学习概念图!
http://java.sun.com/developer/onlineTraining/new2java/javamap/intro.html

然后看The Java Virtual Machine Specification Second Edition。
http://java.sun.com/docs/books/vmspec/2nd-edition/html/VMSpecTOC.doc.html
这个比较枯燥。网上有第一版的中文翻译。

最后上网下载《THINKING IN JAVA》中英文第三版来阅读总结。

二、Java Platform:
把第一部分的看得差不多了可以选一个平台深入。

Java 2 Platform, Standard Edition (J2SE) Core Java and Desktop Java
Java 2 Platform, Enterprise Edition (J2EE)
Java 2 Platform, Micro Edition (J2ME)

建议深入J2SE平台。

Java Term Definition More Information
Applet An applet is a Java program that runs within the web browser. Applets use a graphical user interface and may have text, images, buttons, scrollbars, and sound. AWT and SWING are frequently associated with articles and tutorials about creating applets.
  1. Building Applets
  2. Trail: Writing Applets
  3. Package java.applet
AWT The Abstract Window Toolkit (AWT) is a package of classes for creating components such as buttons, menus, and scrollbars for applets and standalone applications.
  1. AWT Fundamentals
  2. Using the AWT to Create a GUI
  3. Package java.awt Description
  4. AWT Forums
Java API The Java Application Programming Interface (API) is prewritten code, organized into packages of similar topics. For instance, the Applet and AWT packages include classes for creating fonts, menus, and buttons. The full Java API is included in the Java 2 Standard Edition download.
  1. API Documentation
  2. Building an Application
JavaBeans JavaBeans architecture provides a way of designing reuseable software components that can be visually manipulated in builder tools. Beans can besimple like buttons, or more complex like a tool to access databases.
  1. JavaBeans Technology
  2. JavaBeans Technology: Unlocking The BeanContext API
  3. JavaBeans Forums
Java Foundation Classes (JFC) The Java Foundation Classes (JFC) are a set of GUI components and other services simplifying the development and deployment of desktop and Internet/Intranet applications.
  1. Java Foundation Classes (JFC)
  2. JFC FAQ
  3. Project Swing Forum
  4. Accessibility Forum
Java Native Interface (JNI) JNI is the native programming interface for Java that is part of the JDK. The JNI allows Java code to operate with applications and libraries written in other languages, such as C, C++, and assembly. Recommended only for advanced programmers.
  1. Trail: Java Native Interface
  2. Chapter 5: JNI Technology
  3. Java Native Interface, 1.2
JavaServer Pages (JSP) Create dynamic web pages with JSP by embedding scriptlets (Java programming language code) with HTML. JSP pages process forms, perform calculations, or do anything else that can be written with the Java programming language. To develop and test JSP, download the JavaSever Web Development Kit, and J2SE.
  1. JavaServer Pages Tutorial
  2. JavaServer Pages: A Developer's Perspective
  3. JSP Pro (Two chapters in PDF)
  4. Core Servlets and JavaServer Pages (Two chapters)
  5. JavaServer Pages Forums
  6. JavaSever Web Development Kit Forums
Java 2 Platform, Enterprise Edition (J2EE) The J2EE platform provides a component-based approach to the design, development, assembly, and deployment of enterprise applications. The J2EE platform gives you a multitiered distributed application model, the ability to reuse components, a unified security model, and flexible transaction control.
  1. Java 2 Platform, Enterprise Edition
  2. J2EE Tutorial
  3. Downloads
  4. Java BluePrints
  5. Enterprise JavaBeans(EJB) Technology Fundamentals
  6. Java Programming Forums
Java 2, Micro Edition (J2ME) Java 2 Micro Edition (J2ME) is targeted for the consumer and embedded market. The API specifications are based on Java 2 Standard Edition (J2SE), but modified to meet the unique requirements of each product. J2ME makes it possible to write Java applications for cell phones, smart cards, pagers, and other consumer devices.
  1. Java 2 Micro Edition (J2ME) Technology
  2. Wireless Developer
  3. How Wireless Applications Work
  4. Java Wireless Technology Discussions
Java 2, Standard Edition (J2SE) This download includes the essential compiler, tools, runtimes, and APIs for writing, deploying, and running applets and applications in the Java programming language.
  1. Java 2 Platform, Standard Edition (J2SE)
  2. Online Documentation
  3. Introducing the Java Platform
  4. Getting Started
Java Virtual Machine1 (JVM) The Java virtual machine executes instructions that a Java compiler generates. This run time environment, or JVM, is embedded in various products, such as web browsers, servers, and operating systems.
  1. Java Virtual Machine Forums
JDBC JDBC is a Java API for executing SQL statements. By using the JDBC API, you can access almost any data source, from relational databases to spreadsheets to flat files. J2SE includes the JDBC API.
  1. JDBC API
  2. Lesson: Learn JDBC Basics
  3. JDBC Forums
JDK JDK is the short-cut name for the set of Java development tools, consisting of the API classes, a Java compiler, and the Java Virtual Machine interpreter, regardless of which version. The JDK is used to compile Java applications and applets. The most current version is the J2SE., the preferred term these days. If you use J2SE 1.2 and later to develop applications, you are using what's known as the Java 2 Platform.
  1. Download J2SE 1.4
  2. Online Documentation
  3. Introducing the Java Platform
  4. Getting Started
JINI The Jini network technology enables any service--from enterprise systems to kitchen appliances--to network smoothly and simply. The Jini architecture lets each service (device or software) tell others how to talk to it, without any administrator settings.
  1. Jini Network Technology
  2. Distributed Events in Jini Technology
  3. How to Attach a User Interface to a Jini Service
  4. Core Jini
  5. General Distributed Computing Forums
Project Swing The javax.swing package of classes is used to create GUI components for applets and applications. Project Swing classes enable programmers to specify a different look and feel for each platform, or a uniform look across all platforms. Swing is the project code name for the lightweight GUI components in JFC.
  1. Java Foundation Classes
  2. Fundamentals of JFC/Swing: Part I
  3. Fundamentals of JFC/Swing: Part II
  4. Creating GUI with JFC/Swing
  5. Project Swing: Building a User Interface
  6. Project Swing Forums
RMI Remote Method Invocation (RMI) lets Java applications communicate across a network. The communicating applications can be running on different computers on opposite sides of the planet. This higher-level and method-based approach to network communications allows access to a remote object as easily as a local object.
  1. Java Rmote Invocation (RMI)
  2. Fundamentals of RMI Short Course
  3. RMI-IIOP Documentation
  4. Lesson 8: Remote Method Invocation
  5. RMI-IIOP Forums
Servlets A servlet is an extension to a server that enhances the server's functionality. Servlets are most commonly used to process forms, handle redirects or authenticate user names and passwords, and create dynamic content.
  1. Java Servlet Technology
  2. Lesson: Overview of Servlets
  3. Lesson 5: Writing Servlets
  4. What's New in the Servlet API?
  5. Fundamentals of Java Servlets
  6. JavaServer Web Development Kit Forums

抱歉!评论已关闭.