怎样学好 java ?
浅谈Java的学习之路——怎样学好JAVA ?
Java - 近10年来计算机软件发展过程中的传奇,其在众多开发者心中的地位就如“屠龙刀”、“倚天剑”。
Java是个平台,我只想说说我对学好Java的一点看法,希望对初学者有所帮助。
1. 首先应思考一下
学习Java之前,先别急,静下心来好好想想:
1)你对学习Java是否有兴趣?
2)你是否能静下心来坚持不懈地学习?
嗯,这是个容易但又绝对不应该忽略的问题,你确信自己对Java感兴趣、而且又有吃苦的准备,那你才可能学好Java!如果具备这两点条件,就请继续往下看……
2. 其次请准备一下
请不要把你的学习Java之路和其它计算机技术分开看待,技术的联系往往是千丝万缕的,你应该掌握一些学习Java所涉及的基础知识,对于 “CLASSPATH要怎么设置啊”、“跪求JDK下载地址”等等问题,你不该问,因为Internet上太多答案了,甚至换个角度说,你是不是还不适合直接学习编程?
1)买本Java学习用书。
JDK 6正式版刚刚推出,市面上你暂时买不到JDK 6的书籍,但我仍推荐你买一本适合入门的、较新JDK版本的Java书籍,那么,你现在家电维修选择一本讲述JDK 5的入门书籍还是有条件的。我可以推荐一些入门书,但是我不打算这么做,因为合我口味的,不一定适合你。但无论如何,《Thing In Java》绝对不应该作为你入门Java的第一本书籍!
记住,网络上学习Java的资源很多,但基本不够系统,拥有一本Java入门书籍,是你系统学习Java的基础。
2)准备Java学习环境。
准备你的学习环境,很简单,安装JDK 6,然后用类似UltraEdit、EditPlus的文本编辑器配置你的学习环境,Internet上有很多关于如何配置的文章。初学Java,不建议用IDE工具,通过一行行的敲代码,你会碰到很多问题,只有这样,你才能学会怎样解决问题,并加深自己对Java的理解。
准备好后,jdwx开始进入激动人心的JAVA学习里程吧!
3. 怎样开始Java基础学习之路?
学习Java的过程虽然辛苦些,但又是处处有精彩!学习过程中的心态一定要保持专一,网上关于语言间的“PK”到处都是,别被浮躁影响!认准了Java,你就坚持!克服心魔,恒心最终会给你回报的。
Java的体系分为Java SE、Java EE和Java ME(JDK 5.0以前分别叫J2SE、J2EE和J2ME),Java的敲门砖就是Java SE了,也就是你要入门学习的内容,不论你日后是选择哪个体系领域作为发展方向,你都得从Java SE起步。
学习Java SE,打好Java基础;如果想学Java EE(对不起,我不了解Java ME,所以我无法涉及Java ME的相关内容),对于AWT、Swing是否要学习呢,我个人是觉得还是要知道其所以然的,特别是其事件处理模式,我强烈建议初学者一定要弄清楚,其他具体的开发就不一定要全面掌握了,毕竟AWT、Swing方面的内容足够用几本大部头的书才能描述详尽;当然,如果你的工作就是做 AWT、Swing开发,那就另当别论了。
I/O、Thread都是基础之一。
4. Java EE的学习之路
学习了Java SE,还只是完成“万里长征”的第一步。
接下来选择学习Java EE或是Java ME(或者你还想不断深入学习Java SE,只要你喜欢,你可以一直深入下去,就像前面所说的,我不会讲到Java ME的学习);估计选择Java EE方面的学习者会多一些,Java EE所涉及技术非常多,考虑到初学者的接受程度,我会尽量从最常用的角度来介绍。
学习Java EE,在开发环境上不建议再用文本编辑器,我感觉NetBeans 5.5(目前最高正式版本)很适合初学者,我个人也很喜欢NetBeans,如果你喜欢用别的IDE如Eclipse,都没问题,看自己喜欢吧。
4.1 学习JSP/Servlet
Java EE最高版本目前是5.0版本。
在Java EE中,首先要学习JSP/Servlet(结合Tomcat、MySQL)技术,建议JSP1.2/2.X的知识都要掌握,毕竟现在很多的在用系统都还是基于JSP1.2,学习JSP,还必须掌握一些外延技术,如:你还得掌握HTML基础知识,最好再掌握些JavaScript(目前正火的AJAX技术之一)、CSS的技术,而了解XML是必不可少的(至少描述性配置信息是通过XML来描述的)。在学习JSP/Servlet过程中,应该结合学习 JDBC、数据库开发技术,毕竟绝大多数Java Web项目都是和数据库紧密结合的。
4.2 学习数据库开发技术
这里我想重点说一下数据库开发技术,数据库技术是做业务系统必备技能,Java Web开发人员最低程度都应该掌握SQL语句的使用!数据库技术大体可分为DBA技术和数据库开发技术,对于开发而言,应侧重数据库开发技术,而数据库基本操作,也是要掌握的。常用数据库有DB2、Oracle、SQL Server、MySQL等,你可以结合实际需要武汉空调维修技术,选择一种数据库,并花大力气掌握其开发技术。
记住,学习数据库开发技术和学习Java EE,是相对独立的,你可以在学习JSP/Servlet的同时,学习数据库开发技术(如SQL语句等),或者先学数据库开发技术,之后再学习JSP/Servlet。
4.3 学习Java EE其它开发技术
再往后,可以学习一些EJB的知识,目前EJB最新版本是3.0,其和前面的2.X版本相比,有较大不同,考虑到目前EJB 2.X还有很大的应用市场,建议结合学习EJB 2.X/3.0。在学习EJB过程中,应同时掌握一种企业级应用服务器的使用(如 WebSphere、Weblogic、Sun Applcation Server或JBOSS等,目前Sun Applcation Server 9.X和JBOSS都可支持EJB 3.0)。
之后的学习中,再逐渐扩展到其他Java EE技术。
5. 之后
等你对Java EE有些感悟的时候,你自然就会想不断扩展你的知识面,这时候你可以学习Spring、Hibernate,以及各种Web框架(如Struts、JSF、Webwork或是Tapestry等)。
随着技术、经验的不断积累,你会逐步关注分析、设计等更高层次的知识,这时候,你可进一步学习相关的UML、模式等知识(积累了一定经验,你就可以安排自己学习这些知识了)。
6. 文章小结
永远记住:自始至终,实践是学习Java技术历程中极其重要的一环。脱离了实践,是学不好技术的!
Java学习、实践之路依然没有银弹,况且一步步走来,要学的东西很多,勤奋是金!
善于利用Internet上众多的资源,多吸取些别人的经验。
目前关于Java的争论很多,如“Java正走下坡路”、“Ruby必将取代Java”等论点甚嚣尘上,但正如我前面所言,这是一种浮躁的表现,Java的前景非常好,特别是Java开源以后!就让他们去吵去吧,掌握了Java,你就掌握了当前最火的技术。
“梅花香自苦寒来”,当您已经掌握了扎实的Java开发基础就能把手中的这把“屠龙刀”、“倚天剑”舞得风声水起!那时,您将一定会有一种成就感的。
但是 18年后一直是编程语言榜首的Java好像是被C语言超了
通过上面的介绍您大概已了解应该如何去学习Java吧?
On the way to learn Java - how to learn JAVA?
Java - the past 10 years in the development of computer software legend, many developers in the status of the hearts as "Tulong Dao," "Heavenly Sword."
Java is a platform, I just want to talk about my point of view to learn Java, I hope to help beginners.
1 should first think about
Learn Java before, do not worry, stop and think about:
1) if you are interested in learning Java?
2) you can stop and perseverance to learn?
Ah, this is easy but absolutely should not ignore the problem, you are sure your are interested in Java, but there are prepared to endure hardship, then you just might learn Java! If you have these two conditions, please continue to read on ... ...
(2) Second, please get ready
Please do not put your road to learning Java and other computer technology separate view, technology is often inextricably linked, you should learn to master some of the basics involved in Java, for "CLASSPATH to how to set ah," "kneeling Download JDK requirements, "and so on, you should not ask, because too many answers on the Internet, even from another perspective, you are not yet suitable for direct learning programming?
1) learning to use Java to buy this book.
JDK 6 has just released the official version, the market can not buy you a temporary JDK 6 books, but I still recommend you buy a suitable entry, newer JDK version of Java books, then you choose one of about JDK 5 entry books or conditional. I can recommend some of the primer, but I do not intend to do so, because to my taste, not necessarily for you. But in any case, "Thing In Java" you absolutely should not be started as Java's first book!
Remember, the network resources a lot to learn Java, but the basic is not systematic, with a Java entry books, you learn Java-based system.
2) Prepare Java learning environment.
Prepare your learning environment is very simple to install JDK 6, then a similar UltraEdit, EditPlus text editor to configure your learning environment, Internet there are a lot of articles about how to configure. Beginners Java, is not recommended to use the IDE tools, line by line through the knock code, you will encounter many problems, the only way you can learn how to solve problems, and deepen their understanding of Java.
Ready to start learning Java to enter the exciting mileage it!
3 How to get started with Java-based study of the road?
Although the hard process of learning more of Java, but everywhere there is wonderful! Learning process must remain single-minded mentality, between the languages on the Internet "PK" are everywhere, do not be impetuous impact! Look for Java, you insist! To overcome the demons, your perseverance will eventually return.
Java system into Java SE, Java EE and Java ME (JDK 5.0 were previously known as J2SE, J2EE and J2ME), Java is a stepping stone to Java SE, that is, you have to start learning the content, no matter which system you choose in future as the development of the field, you had to start from Java SE.
Learn Java SE, Java-based lay; If you want to learn Java EE (sorry, I do not know Java ME, so I can not involve the Java ME-related content), for AWT, Swing is to learn it, I personally think that we should know the why, and especially its event handling model, I strongly recommend beginners must understand, not necessarily other specific development to fully master, after all, AWT, Swing, sufficient for several aspects of the book to the voluminous detailed description; course, if your job is to do the AWT, Swing development, it is another matter.
I / O, Thread is one of the foundations.
4. Java EE learning path
Learning the Java SE, just complete the "Long March" first step.
Next, choose to study Java EE or Java ME (or you want to continue in-depth learning Java SE, as long as you like, you can always go further, as I said before, I do not talked about learning Java ME); estimated Select the Java EE aspects of learners will be more, Java EE technology is very much involved, taking into account the acceptance of beginners, I will try from the perspective of the most commonly used to introduce.
Learn Java EE, is not recommended in the development environment and then a text editor, I feel NetBeans 5.5 (currently the highest official version) is suitable for beginners, I also like NetBeans, if you prefer to use another IDE such as Eclipse, no problem, look at your favorite bar.
4.1 learn JSP / Servlet
Java EE is now up to version 5.0.
In Java EE, the first to learn JSP / Servlet (with Tomcat, MySQL) technology, the proposed JSP1.2/2.X knowledge to be mastered, after all, many are still in with a system based on JSP1.2, learning JSP, must have some extension techniques, such as: you have to master the basics of HTML, the best re-mastered some JavaScript (AJAX technology currently one of normalizing), CSS technology, and XML is essential to understand (at least descriptive configuration information through XML to describe). Learn JSP / Servlet process, should be combined with learning JDBC, database development technologies, after all, the vast majority of Java Web and database projects are closely integrated.
4.2 learning database development technologies
I would like to say a few key database development technology, database technology is the prerequisite skills to do business, Java Web developer should master the minimum use of SQL statements! DBA database technology can be roughly divided into technology and database development technologies for development, it should focus on database development techniques, and basic operation of the database, but also to grasp. Common database with DB2, Oracle, SQL Server, MySQL, etc., you can combine the practical needs, select a database, and make great efforts to master the development of technology.
Remember, learning to learn database development technologies and Java EE, is relatively independent, you can learn JSP / Servlet, while learning database development techniques (such as SQL statements, etc.), or the first study database development techniques, after learning JSP / Servlet.
Other developers to learn Java EE 4.3 technologies
Beyond that, you can learn some knowledge of EJB, the latest version of the current EJB 3.0, and in front of their 2.X versions, are quite different, given the current EJB 2.X applications there is a great market, it is recommended with learning EJB 2.X/3.0. EJB in the process of learning, should be in control of both an enterprise-class application server to use (such as WebSphere, Weblogic, Sun Applcation Server or JBOSS, etc., is currently Sun Applcation Server 9.X and JBOSS can support EJB 3.0).
After the study, and then gradually extended to other Java EE technologies.
5 after
Waiting for you some insights on the Java EE, you will naturally want to keep expanding your knowledge, this time you can learn Spring, Hibernate, and various Web frameworks (like Struts, JSF, Webwork or Tapestry, etc.).
With the technology, experience is gained, you will gradually focus the analysis, design and other higher-level knowledge, this time, you can further study related to UML, patterns and other knowledge (gained some experience, you can arrange for their own learning these knowledge of).
6 article Summary
Always remember: from beginning to end, practice is the process of learning Java technology an extremely important part. Out of practice, is to learn good technique!
Java learning, practical way is still no silver bullet, Moreover, step by step the way, many things to learn, hard work is gold!
Good use of many resources on the Internet, drawing more jdwx than the experience of others.
Currently a lot of controversy about Java, such as "Java is going downhill", "Ruby will replace Java" and so forth loud and clear, but as I said earlier, this is a fickle performance, Java's prospects are very good, especially Java open later! Let them go to the noisy, master Java, you have grasped the current hottest technologies.
"Plum blossom from the bitter cold", when you already have a solid foundation of Java developers will be able to put in the hands of this "Tulong Dao," "Heavenly Sword" dance get water from the wind! At that time, you will certainly have a sense of accomplishment of.
Through the above, you probably already know how to learn Java, right?
此文章借鉴“lee7788hao ”保存,违版联删。
怎样学好 java ?的更多相关文章
- 怎样才能自学好Java?
经常有初学Java的同学问:怎么样才能学好Java?自学Java难吗? 我认为自学Java并不难.相对于其他语言来说,因为Java95年才出来,所以相对比较新,旧的语言中一些不合适的东西在Java里面 ...
- 如何学好JAVA编程
我的思路: 1.我觉得先学学JSP,用纯JSP做个日记本简单的小系统,纯粹从语言层面上了解一些基 础知识,把tomcat玩熟了,就用记事本编就行,主要是熟悉,能够理解jsp运行机制.然 ...
- 我们如何学好java
转载:http://www.zhihu.com/question/19945685 马士兵有一篇文章,我觉得写得很好,原文转载如下,希望题主可以好好读读. ---------------------- ...
- 零基础6个月学好java月薪1w+看看他是怎么学好java的
21世纪进入信息时代,信息科技给人类的生产和生活方式带来了深刻的变革,信息产业已成为推动国家经济发展的主导产业之一,Java作为含金量极高的一门IT技术,很多人希望从事这个行业,那么想学好Java,要 ...
- 要学好JAVA要注意些什么?
从自学开始到参加系统的学习JAVA已经差不多有1个月了的时间了,在这段时间以前我也和很多人一样在网上盲目的搜罗一些视频来自己啃,随着时间的积累,对JAVA的认识也有了一定的提升,之前可能因为在IT咨询 ...
- Java小白如何一步步学好Java,听听企业Java培训师的实践经验吧
今天我准备给小主展示一篇Java培训老师的文章,希望能给Java小白一个学好Java的路径或者提示.以下就是原文: 从大学到现在,我使用Java已经将近20年,日常也带实习生,还在公司内部做train ...
- 如何学好Java大数据并快速提升
Java作为一种最流行的,最热门的编程语言,可以说它无处不在,目前全球有着数十亿的设备正在运行着Java,很多服务器程序都是用Java编写,用以处理每天超过数以千万的数据.无论是手机软件.手机Java ...
- 0基础小白怎么学好Java?
自身零基础,我们应该先学好Java,小编给大家介绍一下Java的特性: Java语言是简单的 Java语言的语法与C语言和C++语言很接近,使得大多数程序员很容易学习和使用Java.Java丢弃了C+ ...
- Java教程到处都是,究竟怎样能学好Java?
学习Java如何入门?学习教程要点是什么?如何精通?做好以下这些点,入门更快,掌握Java更轻松. Java必备基础知识 1.你需要精通面向对象分析与设计(OOA/OOD).涉及模式(GOF,J2EE ...
- 学好java,做好工程师必读的15本书
学好java,做好工程师必读的15本书 一.Java编程入门类 对于没有Java编程经验的程序员要入门,随便读什么入门书籍都一样,这个阶段需要你快速的掌握Java基础语法和基本用法,宗旨就是“囫囵 ...
随机推荐
- 「面向 offer 学算法」笔面试大杀器 -- 单调栈
目录 前言 单调栈 初入茅庐 小试牛刀 打怪升级 出师试炼 前言 单调栈是一种比较简单的数据结构.虽然简单,但在某些题目中能发挥很好的作用. 最近很多大厂的笔试.面试中都出现了单调栈的题目,而还有不少 ...
- Vue的属性、事件、插槽
属性 自定义属性props ->组件的propos中声明的属性 原生属性attrs ->没有声明属性,默认自动挂载在组件的根元素上,inheritAttrs可以关闭自动挂载 特殊属性cla ...
- ASP.NET解压zip文件,并将解压后的文件放到指定路径中
本文链接:https://www.cnblogs.com/yifeixue/p/11769905.html 本人已亲测有效(*^▽^*) 废话不多说了,直接上代码: 1 /// <summary ...
- 基于 ramfs 的 OTA
背景 默认的 OTA 方案是基于 recovery 系统完成的.某个产品考虑产品形态和 flash 容量之后,计划去掉 recovery 系统(不考虑掉电安全),这就需要 OTA 方案能支持在只有单个 ...
- why哥被阿里一道基础面试题给干懵了,一气之下写出万字长文。
这是why的第 65 篇原创文章 荒腔走板 大家好,我是 why,欢迎来到我连续周更优质原创文章的第 65 篇.老规矩,先荒腔走板聊聊技术之外的东西. 上面这图是去年的成都马拉松赛道上,摄影师抓拍的我 ...
- GitHub常用上传文件的两种方法 附带常见的问题及Git安装教程
从早上下课到现在一直在琢磨如何给Github下载本地文件,中午饭都没吃.还好是解决了,感觉挺有成就感的.O(∩_∩)O哈哈~ 好哒 闲话不说,说重点. 一.git的安装 百度云:http://pan. ...
- JS实现简单的多选选项的全选反选按钮
1 <!DOCTYPE html> 2 <html> 3 <head lang="en"> 4 <!-- 5 需求: 6 1.写三个按钮: ...
- Ubuntu中卸载node和npm并重装
1.node 和 npm 卸载不干净 #apt-get 卸载 sudo apt-get remove --purge npm sudo apt-get remove --purge nodejs su ...
- Emit动态生成代理类用于监控对象的字段修改
利用Emit动态生成代理对象监控对象哪些字段被修改,被修改为什么值 被Register的对象要监控的值必须是Virtual虚类型 必须使用CreateInstance创建对象 必须使用DynamicP ...
- Vue学习笔记使用系列一【表单】
脚手架的搭建,请查看另外一篇日记:https://www.cnblogs.com/Fengge518/p/11837078.html 1:直接代码了 1 <!DOCTYPE html> 2 ...