How to learn Java?

I simply describe a Java beginners to learn something that to first to understand Java system design to have three aspects: the J2ME (J2SE Java, J2EE, KJAVA).Java 2 Platform J2SE Java, Standard, we often say to happen the JDK, mainly refers to this, and it is the foundation of the three, belong to the desktop level this part application development, if learn well easily expand J2EE and J2ME.J2ME, The Micro happen of The Java 2 Platform.Mainly used for embedded Java, such as cell phones, PDA, etc.The J2EE Platform, Enterprise, Java 2 happen is the so-called enterprise-level Java, suitable for Enterprise’s large application development.

Overview of J2SE:
Before you will learn from the study of J2SE Java started, contains the main content of the object-oriented concepts can be divided into: understanding, Java of basic grammar, Java desktop graphics interface application development, grasp the commonly used Java API, etc. (the key is to learn how to access).
Key: the Java basic grammar (circulation structure, data types, array, operators, etc), Swing, awt, event mechanism, file input/output stream processing, etc
Difficulties: the object-oriented idea understanding (interface, class, etc.), thread, socket network programming, etc
Video tutorial recommendation: SunXin video tutorial, the Java foundation ZhangXiaoXiang based video tutorial, the Java speak are very fine, and this two teachers in teaching has very good experience.
 

Overview of J2EE:
In the study, after the J2SE JAVA can try you slowly transition into the J2EE, of course, learning the J2EE sea requires a lot of the JAVA technology support, such as database technology, web programming technology, etc, stay I’ll detail of this two respects content.There are three will learn J2EE framework, if you say that you learned J2EE, but not the three framework, it may make people laugh tails off, the three framework are Struts, respectively, although these three and Hibernate frame it is widely used, but do not represent the three framework represents the J2EE, J2EE and many other things, such as the EJB, as one paragraph heavyweight (the heavyweight does not mean heavyweight players that meaning, the heavyweight not those heavyweight) framework, although this application slowly replaced by other frame again, but EJB3.0 presence also give it back to some vitality, as a distributed application framework, but also all to learn and understand knowledge.
Of course, just said to J2EE contains range is very wide, even if I see what I understand all technology speak, also does not represent the J2EE, this is a deep, wide knowledge need to work later found to slowly.I know also include:
JDBC: Java based database connection object, the foundation of it, only Hibernate package just
JNDI: Java naming and directory interface, J2EE important standard one
EJBS: had mentioned above
RMI: provide remote calling method support, mainly used for program distributed development
JMS: Java news service, middleware technology
JAVA: providing the J2EE platform IDL ability to interact with CORBA and interconnection and ability of the technology
JTS: component affairs monitors
JTA: affairs division a technical
The email JAVAMAIL: Java technology
JAF: Java start frame, no studied
Log4j, a paragraph of the framework application. Log treatment
Junit: unit test’s good helper
Freemarker, due to: two paragraphs good template engine
And Flash interactive Flex: at present a lot of to MSN application is used in the technology
Web services for: want to know our BBS weather forecast effect is how to do?Please attention this technology
SOA: the service oriented architecture, one of the trend of the development of the future technology
……
But these are introduced to the front of the foundation, is not the J2EE framework application level of belonging to the above said. To really grasp the knowledge, or learning J2EE core things: JDBC, JSP, servlet and JavaBean, behind three is also learning SSH basis (the Hibernate Struts \ are \ as the content). Given the J2EE is too complex, suggest that we first learned only: JSP, servlet and JavaBean, etc this foundation mastering again again to learn, SSH other J2EE technology has a roughly understanding to go out and get a job.Of course, find the job premise in addition to the Java study well, will still have some other technology is also must grasp.
-_ – I am very simple, Java is asking that I learn so many complicated things.In addition to these technical things, in this phase, everyone more is come into contact with such as design patterns things, such as factory model, bridge mode, single example mode, etc., also study modeling ideas (such as UML modeling, etc) and software lifecycle, etc.These are sublimation everybody programming method and approach of thought.
Database technology:
The database is almost program in an integral part of the development of the software, is occupied an important role in the whole software. Database plays the role of the foundation, you have to fix the house, will first dozen good foundation, you want to do software, will first design good database. Currently database is almost always a relational database, which represents a:
SQL Server, at present the latest like 2008, I don’t like pursued stylish, use of or 2005, but also very good, before this and 2000.
MySQL, one of the most famous open-source database, I like it very durable, learned the cabinet SQL SERVER databases to learn it, self-taught, a piece of cake.
ORACLE. ORACLE products, large database, the original general company can’t afford it. Only see, but now Java development 60% are will use to this database, plus now ORACLE have bought from, Java and ORACLE, you have more ambiguous relationship to spend more time on it.
In addition to these, you should also understand some desktop application software development using the database, for example sqlite.You made the installation program in this database can pack into your setup.
Web programming basis:
Web programming basis to learn more, but the contents are mainly concentrated in the following the three technology above, all the various style looked every day they represent the web are the:
HTML: hypertext markup language
CSS: cascading style sheets
Javascript: browser client script language
Now more popular, such as: various JavaScript library ExtJs Jquery, wait, if you will be one a repository of use, so light to find work.

Overview of J2ME:
If you are learning the above technology is not to satisfy, can learn the development of mobile phone program again, in my personal view, the development of mobile phone program technology actually pretty simple, which is difficult optimization, like how to get you write the program to try to save mobile resources, "code sincere commendable, cell phone price is higher," so have to think about a lot more than a PC cost and practical problems.J2ME learning words, avoid by all means does not simply to simulator test, must find the real machine test, the effect of the real machine and simulator is a lot of differences between.More mobile development of technology, have the interest friend and I can explore together.

0 comments:

Post a Comment