【机械类文献翻译】JAVA学习过程
- 格式:doc
- 大小:43.50 KB
- 文档页数:12
先学java基础也就是java se相关的内容,这期间捎带把面向对象编程的思想理解好了(很重要),然后学习jsp、servlet、jdbc,接着学习企业级开发的相关框架现在轻量级的流行ssh 框架(struts2+hibernate+spring),ejb3.0。
数据结构设计模式关系型数据库MySQL Oracle SQLServer等jboos,tomcat等服务器也要会用~java本身个很简单的东东不过设计的知识量太庞大~置于java ee还是java me还是看你自己的喜好选择了~怎么学习Java,这是很多新手经常会问我的问题,现在我简单描述下一个Java初学者到就业要学到的一些东西:首先要明白Java体系设计到得三个方面:J2SE,J2EE,J2ME(KJAVA)。
J2SE,Java2 Platform Standard Edition,我们经常说到的JDK,就主要指的这个,它是三者的基础,属于桌面级应用开发,这部分如果学得好很容易拓展J2EE和J2ME。
J2ME,The Micro Edition of the Java2Platform。
主要用于嵌入式Java,如手机,PDA等等。
J2EE,Java2Platform,Enterprise Edition,就是所谓的企业级Java,适合企业的大型应用开发。
J2SE:新手最初学习的时候先要从J2SE开始学起,所包含的内容主要分为:面向对象概念的理解、Java基本语法的学习,Java桌面图形界面应用程序的开发,掌握常用的Java API等(关键是要学会怎样查阅)。
重点:Java基本语法(循环结构,数据类型,数组,运算符等)、Swing,awt,事件机制、文件输入输出流处理等难点:面向对象思想的理解(接口、类等)、线程、socket网络编程等视频教程推荐:孙鑫的Java基础视频教程、张孝祥的Java基础视频教程,讲的都很细,而且这两位老师在教学方面都有很好的经验。
java刚入门需要学什么-学习java的步骤java刚入门,首先要学习java的基础知识。
比如:Java源程序(.java文件)——java字节码文件(.class文件)——由解释执行器(java.exe)将字节码文件加载到java虚拟机(jvm)——字节码文件(.class)就会在java虚拟机中执行。
1、所谓万变不离其宗,掌握好基础才是关键,首先要学习java 的基础知识。
不要被新技术困惑,所谓万变不离其宗,新技术都是基于java的基础之上,如果基础不扎实,关于这些新技术的理解也是一知半解,学不到根源。
2、在学习完java的基础知识之后,去做一个java项目来巩固一下,在项目中会发现很多问题,通过解决问题,加深基础知识的掌握。
3、学习数据库的基础知识和开发应用,软件开发离不了数据库,掌握几种流行的数据库:Oracle、SQLserver、MySQL等。
4、JEE基础,在这里首先要学习网站基础,包括HTML、DHTML、JavaScript;接着要学习XML,XML JAXP;然后学习JEE基础,包括JEE开发环境,RMI/IIOP、JNDI;最后学习JDBC数据库的应用开发。
5、web开发,全面的JEE的web开发知识:Servlet JSP javaBeanTagLib,到这里做一个完整的web应用项目开发。
6、EJB开发,包涵全面的EJB知识:EJB入门和无状态会话Bean;有状态会话Bean;BMP和CMP是实体Bean;jms和MessageDrivenBean;事物和安全(JTA、JTS和JAAS);WebService 的开发和应用。
7、开源框架的学习,学习几种现在流行的开源框架:Struts、Spring、Hibernian、Webwork等。
完整的学习这些框架的开发和应用。
如果有兴趣还可以学习Ibati框架、AJAX技术和DWR框架的开发和应用。
8、JEE项目,综合应用JEE的知识来开发一个完整的应用。
学习java的步骤首先Java是一门语言,然后语言是用来和计算机〔沟通〕实现一定的功能,也就是说,语言是为必须求而生滴。
所以你必须先有一个必须求,比如你想用Java编写一个小游戏,那么你的初级阶段的学习就该是为了实现这个目标不断奋斗,兴趣使然嘛这样你就不会觉得累枯燥。
学习初期你肯定会有千千万万个问题,心里有无数疑惑,这时候千万不要急躁,不要放弃。
解决方法应该是,有疑惑尽量请教别人,如果你觉得怕麻烦别人,那么请你去翻书,我建议不懂的地方要多看几本书的这个知识点,因为老师不同讲解的思路角度也不同,就像买鞋,一定有一款合适你。
如果你懒到书都不想翻,那么没关系,你就把这点疑惑完全的一字不落背下来。
多思索,有那么一天,往后走着走着你就会发现前面豁然开朗。
最后也是最重要的一个就是代码量。
一定要多敲,不要眼高手低。
往往敲代码的时候你才可以发现问题。
我始终相信一句话,泪水和汗水这类东西,如果你流多了上天它自然会给予你一些东西来作为交换的礼物。
贵在保持,忘记了在哪里看到的一句话,如果你的耐力和野心不相匹配,那么你最多也就是一个笑话。
2学习java步骤我们必须明确一个大方向,也就是说现在面向对象的编程范畴。
无论人工智能曾经有所浪潮,但将来5-10年工业界广泛承认并接受的将是面向对象式的编程。
工业界目前最流行的面向对象编程语言就是C++和Java。
所以基本上锁定这两个方向就可以了。
而且完全可以同时掌握。
掌握Java的精华特性而且一定要知道为什么。
比如,Interface 和multi-thread。
用interface是更好的多继承的模型,而多线程则是〔制定〕到语言一级的重要特性。
要完全理解interface 是为什么,用多线程又有几种常用的编程模型。
理解了语言的特性是为什么了之后,就可以试着上升到制定这个层次,毕竟学习语言是要用的。
目前比较好的开发模式是采纳自定向下的面向对象的制定,加上MVC的模式(你可以看一下我介绍的关于MVC的内容)。
Java分哪几步学习-新手学习Java的步骤是什么Java学习一般步骤分有这些:第一步:学习Java技能的核心和基础JavaSE;第二步:学习数据库(MySQL)和JDBC;第三步:把学到的Java技术知识应用到实战项目。
如果想具体了解Java分哪几步学习,那无妨接着往下看吧!首先是Java技能的核心和基础JavaSE,这一阶段会接触到Java 基础语法、面向对象〔编程〕思维、Java常用API、多线程并发编程、数据结构/集合结构、IO/网络编程/反射/〔制定〕模式。
这一阶段往往也是最重要的,后边许多知识和结构的使用都是依据这一基础来的。
学完这一部分,做一些简略的桌面使用程序制定没有问题。
接下来Java的进阶课程中,要用到的便是数据库(MySQL)和JDBC。
在之后,要学习到的是JavaWeb开发技能。
学完可以具有开发个人网站和企业网站的知识技能。
最后,接下来便是Java课程最重要的部分把学到的Java技术知识应用到实战项目了,一般实战项目会占整个课程的少半时间,从浅入深,会接触到大小型企业内各种真实实战项目。
比方内容办理体系(CMS)、智能商贸体系、盛行结构使用、B2C/商城项目等。
完结这些项目,你对市面上大多数web使用开发、办理体系开发、运用前沿技能开发都得心应手。
2新手学习Java的步骤是什么1、首先,在学习准备工作之前,我们必须做好准备工作:Java 语言通常用于大规模的服务器程序开发,首先了解以下内容:UNIX 开发环境UNIX系统原则,UNIX开发环境,UNIX公共命令。
并且掌握UNIX通用命令,Java开发环境的构建。
2、随后进入Java语言基础的学习阶段,无论学习哪种语言都必须打好基础,以前学习过高级程序制定语言(C,C#等)有很大的优势,Java语言有自己的特点,但是基本规则是相同的,例如:算法的基础,一般的数据结构,企业程序制定规范。
但是应该养成掌握一般数据结构和有用算法的企业级编程习惯。
Java基础学习步骤Java基础学习步骤Java是一个由Sun公司开发而成的新一代编程语言。
使用它可在各式各样不同种机器、不同种操作平台的网络环境中开发软件。
下面是关于Java基础学习步骤,欢迎参考!Java基础入门学习路线可以总结为四步走:1.java开发环境的搭建;2.java初级之基础语法学习(80%类似C语言);3.java中级之面向对象编程学习(重点);4.java中级之应用编程学习。
第一步:JDK软件开发包时java软件开发环境包括jre运行环境和jvm虚拟机,在oricle官网下载javaSE版本JDK包;配置好环境变量就可以使用了。
第二步:java初级语法学习1.基本数据类型整形,字符型,字节型,长整形,短整形,浮点型,双精度,布尔型;2.运算符+,-,*,/,%等;3.控制流(while,switch,if else);4.数组的定义方式。
此阶段基本无难度,只要了解练习例题。
第三步:java面向对象学习1.类和对象;2.java语言三大特性,封装、继承、多态;3.一些关键字学习(static,final,abstract,extends)等。
这是重点,大家根据知识点一步步研究学习才是关键。
第四步:java应用编程例如:文件IO,集合(类似C语言数据结构),异常处理,线程,网络,JDBC数据库操作等,都是掌握面向对象以后,在查找不同的`类使用类中不同的方法达到应用的效果,所以并不会很难。
等基础语法掌握了就可以继续后面框架学习(java web方向,android学习),相信明确思路你会豁然开朗,更有学习动力。
【Java基础学习步骤】。
java学习流程Java是一门广泛应用于软件开发的编程语言,具有良好的可移植性和跨平台特性。
学习Java对于想要成为一个优秀的软件开发工程师或者软件开发者的人来说是非常重要的一步。
下面是一些关于学习Java的流程建议。
1. 入门基础知识:Java是一门面向对象的编程语言,因此你需要了解和掌握面向对象编程的基本概念,如类、对象、封装、继承和多态等。
另外,还需要学习Java的基本语法,如变量、数据类型、运算符、控制流语句和数组等。
2. 学习Java核心概念:在掌握了Java的基础知识之后,你需要深入学习Java的核心概念,如异常处理、输入输出流、多线程和网络编程等。
这些知识点是Java编程中非常基础和重要的一部分。
3. 编写简单的应用程序:通过编写一些简单的应用程序,如控制台输入输出、图形界面、计算器等,来巩固和实践你学到的知识。
这样可以帮助你加深对Java的理解,并提高你的编程能力。
4. 学习Java的面向对象特性:面向对象是Java的核心特性之一,在软件开发中扮演着重要的角色。
你需要深入学习Java的继承、封装、多态和抽象等概念,并通过编写一些具体的面向对象的应用程序来实践。
5. 学习Java标准库:Java提供了丰富的标准库,包括集合框架、输入输出、字符串处理等常用的类和方法。
你需要学习这些库的使用方法,以便更高效地编写程序。
6. 调试和优化Java程序:调试是一项非常重要的技能,能够帮助你快速定位并解决程序中的错误。
在实践中,你需要学习使用调试工具,如断点调试和日志记录等。
此外,你还需要学习如何优化你的Java程序,以提高其性能和效率。
7. 学习Java的高级特性:在掌握了Java的基础知识之后,你可以继续深入学习一些高级特性,如Java的反射机制、注解和泛型等。
这些知识点能够帮助你更好地理解Java的运行机制,并在开发过程中更灵活地使用Java语言。
8. 实践项目开发:在学习了Java的基础和高级特性之后,你可以尝试开发一些实际的项目。
从入门到精通学习Java编程的完整教程Java编程语言是目前最为广泛应用的编程语言之一,具有很强的跨平台特性和丰富的开发工具。
本文将为大家提供一个从入门到精通学习Java编程的完整教程,帮助读者系统学习Java编程的基础知识和高级技术。
一、Java编程基础知识1. 环境搭建Java开发环境的搭建是学习Java编程的第一步。
首先,需要下载并安装Java Development Kit(JDK),配置环境变量,以便能在命令行中运行Java编译器和虚拟机。
接下来,选择一个集成开发环境(IDE),如Eclipse或IntelliJ IDEA,以便更方便地编写、调试和运行Java程序。
2. 基本语法Java编程语言的基本语法包括变量声明和使用、基本数据类型、运算符和表达式、控制流程语句(if-else、for、while等)、数组和字符串等。
学习这些基础知识是理解和编写Java程序的基础。
3. 面向对象编程Java是一门面向对象的编程语言,理解面向对象的概念和特性是学习Java编程的关键。
面向对象的基本概念包括类和对象、封装、继承和多态等。
通过学习这些概念,可以设计和实现复杂的Java程序。
二、Java编程进阶技术1. 异常处理Java提供了异常处理机制,可以捕获和处理程序运行过程中可能出现的异常情况。
学习异常处理是编写健壮的Java程序的重要一步,可以保证程序在出现异常时能够有良好的响应和恢复机制。
2. 输入输出Java提供了丰富的输入输出操作方式,可以读写文件、网络通信等。
学习输入输出操作可以使Java程序更加灵活和实用,能够处理各种数据交互的需求。
3. 多线程编程多线程编程是Java编程中的一个重要主题。
通过使用多线程,可以使程序在同一时间执行多个任务,提高程序的并发性和效率。
学习多线程编程需要了解线程的概念、创建和管理线程、线程间的通信等。
4. 数据库操作Java可以与各种数据库进行交互,进行数据的读写和处理。
java学习流程Java学习流程。
Java作为一种跨平台的高级编程语言,具有广泛的应用领域和丰富的就业机会,因此备受广大程序员的青睐。
想要系统地学习Java,需要按照一定的学习流程,逐步掌握其基础知识和应用技能。
下面将介绍一种较为完整的Java学习流程,希望对初学者有所帮助。
第一阶段,基础知识学习。
在学习Java的初期,首先需要了解基本的编程概念和语法规则。
可以通过阅读相关的书籍或者在线教程,学习Java的基本语法、数据类型、运算符、流程控制语句等内容。
同时,也要掌握面向对象的编程思想,理解类、对象、继承、多态等概念。
在这个阶段,可以通过编写简单的控制台程序来巩固所学知识,例如实现一些简单的算法、打印图形等。
第二阶段,核心技术学习。
一旦掌握了Java的基础知识,就可以进入到学习Java的核心技术阶段。
这包括了Java的集合框架、IO流、多线程、网络编程等内容。
学习集合框架时,需要了解List、Set、Map等集合类型的特点和用法,掌握常用的集合操作方法。
在学习IO流时,需要理解输入输出流的概念,掌握文件的读写操作。
多线程和网络编程也是Java编程中非常重要的部分,需要深入理解线程的概念、线程的创建和管理,以及网络通信的原理和实现方法。
第三阶段,Web开发技术学习。
随着互联网的发展,Web开发成为了Java程序员的一个重要方向。
学习Web开发技术需要掌握Servlet、JSP、Spring、Hibernate等相关知识。
Servlet是用于处理HTTP请求和响应的Java程序,而JSP则是一种动态网页开发技术,通过Java代码和HTML标签混合编写。
Spring和Hibernate则是JavaEE开发中常用的框架,分别用于简化Java应用的开发和数据库操作。
第四阶段,项目实战经验积累。
在学习了Java的基础知识、核心技术和Web开发技术后,需要通过实际项目的开发来巩固所学知识。
可以选择一些小型的项目来进行实践,例如学生信息管理系统、图书馆管理系统等。
Java Learning Path processEach person's study method is different, a person's method suits another person not necessarily, I only can discuss own study method. Because I study Java am study independently completely, has not asked others, therefore the study process basically is completely oneself tries to find out. I did not know whether this method is the quite good method, only could give everybody to provide refers.Studies Java first step installs good JDK, writes Hello World? Actually the JDK study is not so simple, has two questions about JDK is very easy to puzzle the Java programmer continuously the place: Is the CLASSPATH question, actually said from the principle, is how must make clear JRE ClassLoader increase Class; Another question is package and the import question, how seeks the kind of way question. These two questions tried to find out clear, eliminated has studied Java and uses JDK the biggest barrier. The recommendation looked Wang Sen "the Java Depth Experiences dangers", has carried on the thorough discussion to these two questionsSecond step is studies Java the grammar. The Java grammar is kind of C++, the basically mainstream programming language is not kind of C, is kind of C++, does not have what new thing, therefore the grammar study, probably was the quite a while time is enough. Only needs to pay attention is has the key words usage which several is not easy to make clear, public, protected, private, static, when uses, why has to use, how uses, this possible need some people to direct, I initially was own ponder over completely, has spent the very long time. But afterwards I saw above this book spoke these concepts to "Thinking in Java".Third step is studies Java the object-oriented programming language characteristic place. For instance inherits, structure, abstract class, the connection, the method are many condition, heavy load, cover, Java exception handling mechanism. Said regarding a not object-oriented language background person that, I thought this process needs to spend the very long very long time, because studies in front of Java does not have C++ the experience, only then the C experience, I was have probably spent for a month, all made clear only then thoroughly these concepts, book example above repeatedly estimating, the revision, the attempt, repeatedly looked at that several chapter of contents, looked, looked has not gotten down 5, comprehended only then thoroughly. But I thought if has the C++ experience, should 12 days time be enough. Then in this process, may have a look "Thinking in Java" this book, opposite is extremely thorough to the object explanation. What a pity is I studies, has not seen to this book, therefore own have spent the massive time, and estimates through own attempt learns.Fourth step starts a familiar Java kind of storehouse. The Java foundation class storehouse actually is JDK installs under the table of contents jre\Lib\Rt.Jar this package. The study foundation class storehouse studies rt.Jar. Inside the foundation class storehouse kind are extremely extremely many. It is said some more than 3,000, I have not counted. But said the most core truly regarding us only then 4, respectively isng.*;Java.Io.*;Java.Util.*;Java.Sql.*;These four packages study, each package study all may write thick teaching material, but O'reilly also truly is does this. I thought if time quite tight, is impossible through to read four books to study. I thought the quite good study method is such:First must read through entire package the frame, understood entire package class, interface, the exception constitution, should better be can find the introduction entire package frame the article. These introduced specially package of books the first several chapters should be these overall frame content introductions. Is not must be familiar with each kind of usage to the package of overall frame assurance, which attributes remembers it have, the method. Wants to record also cannot remember. But is must know which aspects the package does have a kind of constitution, these kind of uses are any, most core several classifications maybe complete any function. I in the time which trains to the human generally is a class speaks a package, therefore not impossible detailed introduction each kind of usage, but I repeatedly stress, how do I speak these packages to you am must tell you a kind of method am transfer, also does not request you to remember the kind of method transfer, but wants you to understand, which kinds Java has provided to us, each kind is uses in any situation, when I meet the question the time, I knew which kind, or which several kind of combinations can solve my problem, That'all! When we write the procedure specifically time, so long as you knew which kind should complete your work with to be enough. Codes, the concrete method transfer, writes the code, Documentation, all things all inside Documentation, will not request you certainly to remember, are actual you also not to be able to remember more than 3,000 kinds altogether the nearly 100,000 methods transfers. Therefore changesto each package overall frame assurance extremely importantly.Fifth step, through above study, if study the quite solid speech, built the Java foundation, is left over the work which had to do is sweeps clean inside Documentation besides above 4 packages other some comparisons to have the use the kind. Believed progressed to this step, Java studies independently the ability already to raise, might to study Documentation directly horizontal. Besides must make the GUI programming, inside JDK other can have the use the package is these:Java.Text.*;.*;Javax.Naming.*;These packages of inside real correct uses quite many kinds very are actually few, only then several, therefore does not need to spend the very much time.Sixth step, Java Web programmingThe Web programming core is the HTTP agreement, the HTTP agreement and Java irrelevant, if not familiar HTTP agreement, although also may learn Servlet/JSP programming, but cannot achieve extrapolates, by knowing one method you will know all boundary. Therefore the HTTP agreement study is necessary. If has been familiar with HTTP agreement, also had the Java programming good foundation, studies Servlet/JSP is simply easy as pie, I study Servlet/JSP has used not to week-long time, then started with JSP to make the project. In Servlet/In the JSP study, heavy still was Servlet Documentation. Servlet the API most commonly used kind are very few, the flowered quite few time might grasp. These kinds all looked at, writes several examples to try.Servlet/The JSP programming essence is transferring these kinds to come repeatedly through the HTTP agreement converses between Web Server and Brower. Moreover to JSP, but also needs to be familiar with several commonly used JSP the mark, the concrete mode of writing cannot remember the speech, looks up temporarily and that's the end of.In addition Java the Web programming study must place Web Application with emphasis in the design pattern, how carries on the service logic the analysis, and carries on the reasonable design, according to the MVC design pattern request, completes the different logical level separately using Servlet and JSP, how grasps carries on the flow between Servlet and JSP the control and data sharing, as well as how Web should Application dispose and the deployment.Seventh step, J2EE programmingThe above study process if is quite smooth, carries on to this step, the difficulty enhances suddenly. Because the above knowledge content all only involves an aspect, but likes EJB, JMS, core the and so on JTA J2EE standard often is several kind of Java technology synthesis utilization crystallization, therefore grasps the difficulty quite to be big.First certainly must study good JNDI, JNDI is App the Server localization server resources (the EJB module, Datasouce, JMS) searches the method, if to JNDI not familiar, EJB, JMS these things cannot study nearly. JNDI actually is javax.Naming.* This package, utilizes is very simple. The difficulty lies in the server resources document the disposition. Regarding the server resources document disposition, needed to have a look the special documents to be standard, for instance web.Xml mode of writing, ejb-jar.Xml mode of writing and so on. In view of each kind of different App Server, but also has own serviceresources disposition document, also is needs to be familiar with.Then may study JTA, mainly is must understand JTA regarding business control method, as well as should use JTA in any situation. Here may simple cite an example, we knew the ordinary circumstances may carry on business regarding a database connection (conn.SetAutoCommit (false)....,mit ()), does is an atomic operation, but the supposition my service demand is needs to hold artificially to two different databases is an atomic operation, you can do to? At this time only could use JTA. The supposition operating process inserts a record first toward the A database, then deletes the B database another record, we wrote the code are cannot control entire hold artificially are an atomic operation. With the JTA speech, completes the control by App Server.In studies in front of EJB must study the object sequence and RMI, RMI is the EJB foundation. Then studies JMS and EJB, said regarding EJB, most is essential is must understand how EJB is realizes through RMI to the far-end object transfer, as well as must use in any situation to EJB.In studies EJB, after JMS these things, you possibly can realize must extremely anxiously study two domains the knowledge, is UML, another is Design Pattern. The Java enterprise software design takes the frame extremely (Framework) the design, a good software frame is the software develops the successful essential condition. In this time, should start the study key point to place the design pattern and in the frame study, experiences through the study and the actual programming grasps EJB the design pattern and the J2EE core pattern.Inside J2EE standard, except EJB, JMS, JTA, Servlet/JSP, outside JDBC also has the very many very many enterprises technology, here 11 did not carryon introducedMoreover also has newest domain Web Services. Web Services also completely does not have any new thing, it likes is one kind of adhesive, may unify the different service provides a unified transfer connection, said as the user, I so long as obtain the service provider for mine WSDL (to service description), has sufficed, I did not know completely the server tenderer provides actually the service is the EJB module,The Net module, any CORBA module, other any realizations, I do not need to know. Web the Services greatest place lies in through the unified service provides the way and the transfer way, has realized the entire Internet service sharing, is an extremely excited area of technology. Web Services resembles at present not to have any very good books, but may through look up the material above the network the way to study.JA V A学习过程每个人的学习方法是不同的,一个人的方法不见得适合另一个人,我只能是谈自己的学习方法。