J2EE learning process
Here I talk about me in learning J2EE processes and talk about the experience and lessons of receipts in this process. In order to be less
detour.
Java has developed to now, according to application scores, three major blocks: J2SE, J2ME and J2EE. These three pieces complement each other, the application
The range is different.
J2SE is the standard version of Java2, mainly used for desktop applications;
J2ME is primarily applied to embedding is system development, such as mobile phones and PDAs;
J2EE is a Java2's Enterprise Edition, mainly used for distributed network programs, such as e-commerce websites and ERP systems.
Learn J2SE first
To learn J2EE, learn J2SE first, just start learning J2SE first, do not use IDE, then gradually transition to use
Ide development, after all, use it convenient. Learn J2SE recommend two books, "Java2 core technology, one or two", "Java editor
"," Java Mode ". Among them, "Java Programming Thoughts" should be studied and intensive. This time is basic skills
Huan, time will be very long, may also be short, it depends on the level of learners.
Don't be entangled by IDE
In the process of learning Java and J2EE, you will meet the five-flowers of IDE, don't be confused by them, learn Java,
Learn the language itself, don't care too much about the additional features of the IDE, the conversion between Java programming between different IDEs is easy.
The function of too much Ide is easy to delay the understanding of the language itself. At present, popular IDE has JBuilder, e
Enhanced WSAD for Clipse and Eclipse. It is possible to use one of them, it is recommended to start J2EE from Eclipse. Because J
Builder is more suitable for writing a J2SE program.
Select and learn server use configuration
When you have J2SE and IDE experience, you can start J2EE learning, web server: Tomcat, do not doubt, t
Omcat is the first choice for learning web services. The application server is currently three: JBoss, WebLogic, WebSphere
. There are a lot of projects to start using JBoss, and a large number of companies have begun to do WebSphere or WebLogic to JBoss applications.
The server's transplantation (cost savings), what to say is, learning Tomcat and JBoss I think it is preferred, and the most
Easy to go. Learning Server Using Configuration The best inquire about experienced people (if you have condition), because they may
In the words, you can solve the problem, you can explore your own Internet can have or two (I have to do this stupid), we should take the Lord.
Time to put in learning principles and theories, a particular technology uses to replace a person's knowledge and learning.
Learn Web Knowledge
If you are doing an e-commerce website, you may have to act as a few characters, this is what you still have to learn:
HTML, you might want to use DreamWave and other IDEs.
JavaScript, learn simple data verification, data linkage display, etc.
J2EEAPI learning
Learning J2EEAPI and learning servers should be an iteration process.
First learn JSP and servlet programming, there are a lot of books in this area, I have established two "JSP design" of Oreilly and
"Java Servlet Programming", Oreilly's book is always excellent, I have to admire.
Learning a JDBC database programming, most of the J2EE project is a MIS system, and the access database is the core. This should belong to J2SE learning
Synchronized, here to take it out.
Learning JNDI API, it can be combined with learning EJB.
Learn the EJB API, the recommendation "Jing EJB" has passed the above learning, probably can deal with the general application.
Some people say that SUN's "J2EE Tutorial" is studying all the way, of course, can be.
Learn EJB design pattern and code code (most important)
The design pattern is practicing internal power, and its importance can be said, if you don't use the design mode, you will write a bunch of
Using EJB garbage, there is a bunch of bugs, and the result is better not to implement EJB (EJB is not equal to J2EE)
Regardless of the language of learning, you should look at a lot of code, you see the amount of code is less than a certain amount, it is not good J2EE.
There are currently many open source projects that can be used as a textbook:
JIVE Forum
PetStore SUN
Dune Sun
Wait, study one and use it to your own project.
J2EE Other learning
When you gradually understand the J2EE to a certain depth, you have to pay attention to some of the technologies in the current field, J2EE is a
The block of hundreds of homes, everyone is here to propose their own solutions, such as Structs, Hiberate, OFBIZ
Wait, learn these things for your project and goals, pre-supplement that there is no taste, but don't involve too deep,
After all, learning principles and theories are the most important thing.
Currently J2EEAPI
JavaServer Pages (JSP) Technology 1.2
Java servlet technology 2.3
JDBC API 2.0
Java XML Processing API (JAXP) 1.1
Enterprise JavaBeans Technology 2.0
Java Message Service (JMS) 1.0
Java Name Directory Interface (JNDI) 1.2
Java Transaction API (JTA) 1.0
JavaMail API 1.2
JavaBeans Activation Architecture (JAF) 1.0
J2EE Connector Architecture (JCA) 1.0
Java Certification and Authorization Service (JAAS) 1.0
Learning some of the APIs to be determined by your project, understanding all them are good.
The above confirmed a sentence, Java language itself is not difficult, but there are too many technologies, so learn Java is very hard.
. Recalling, basically every beginner, may ask someone to say such a sentence when you just learn Java, how do you
What method knows (API)? Oh, no one, only hand ripe.