Learn the process of Java EE

Source: Internet
Author: User
Tags web services jboss jboss application server
   

Here I talk about My Learning the Java EE process and talk about the experiences and lessons learned in this process. So that the later people less detours.

Java development to now, according to the application to divide into three major chunks: J2se,j2me and EE. These three blocks complement each other and vary in scope of application.

J2SE is the standard version of JAVA2, mainly for desktop application software programming;
J2ME is mainly used in embedded system development, such as mobile phone and PDA programming;
Java EE is the Enterprise version of JAVA2, mainly for the development of distributed network programs, such as E-commerce website and ERP system.

Learn J2SE First

To learn the Java-EE must first learn j2se, just start learning J2SE first recommend not to use the IDE, and then gradually transition to the use of IDE development, after all, with it convenient. Learn J2SE recommended two books, "JAVA2 core technology One or two volumes", "Java Programming Ideas", "Java mode." One of the "Java Programming ideas" to read, intensive reading. This period of time is basic learning, time will be very long, may also be very short, this depends on the learner's own level.

Don't be entangled by the IDE

In the process of learning Java and EE, you will encounter a variety of Ides, not to be confused by them, learning Java, to learn the language itself, not too concerned about the IDE's additional functionality, Java programming in the different IDE conversion is very easy, Too much attention to the IDE's function can easily delay the understanding of the language itself. The current popular IDE has Jbuilder,eclipse and Eclipse's enhanced version Wsad. Use one of the best, recommended from eclipse to start the Java EE. Because JBuilder is more suitable for writing J2SE programs.

Select and learn server usage configuration

When you have the experience of J2SE and IDE, you can start to learn from Java EE, Web server: Tomcat, no doubt, Tomcat is the first choice for learning Web services. and the application server currently has three main: JBoss, WebLogic, WebSphere. There are many projects starting with JBoss, and a large number of companies are starting to migrate WebSphere or WebLogic to the JBoss application server (cost savings), and here's the thing to learn about Tomcat and JBoss I think is the first and easiest. Learning Server Use configuration It is best to ask experienced people (conditional), because they may be able to solve the problem in a word, you can go on the internet to grope for a day or two (I have done this stupid), we should put the main time on the principle of learning and theory, The use of a specific technology will never replace a person's knowledge and learning.

Learning Web Knowledge

If you're working on an ecommerce website, you might want to play a few roles, and that's what you have to learn:
HTML, you may want to use the IDE such as Dreamwave.
, learn simple data validation, data linkage display, etc.

J2EEAPI Learning

Learning J2eeapi and learning servers should be an iterative process.

First learn JSP and servlet programming, this aspect of the book a lot, I set up to see OReilly Company's two "JSP design" and "Java servlet Programming", oreilly out of the book is always excellent, have to admire.

Learning JDBC Database programming, Java EE projects are mostly MIS system, access to the database is the core. This should belong to J2SE study, here take out to emphasize.

Learn the Jndi API, which can be combined with learning EJBs.

Learn the EJB API, the reference book "Proficient in EJB"

Through the above study, probably can deal with the general application.

Some people say that follow Sun Company's "Java Tutorial" all the way to learn, of course, also can.



Learn EJB design patterns and see Code (most important)

Design pattern is to practice internal strength, its importance so to speak, if you do not use the design pattern, you will write a heap of garbage using EJB, slow and a bunch of bugs, the result is not the EJB implementation (EJB is not equal to Java)

No matter what language you learn, you should look at a large number of code, you see the amount of code is not a certain amount, is not good to learn the Java EE
There are many open source projects that can be used as teaching materials:

Jive Forum
Petstore Sun Co., Ltd.
Dune Sun Co., Ltd.
Wait, read one, and use it in your own project.

Java EE Other Learning

When you get to know a certain depth of Java, you have to start to focus on the current field of some technical changes, Java EE is a field of contention, everyone here to put forward their own solutions, such as structs,hiberate,ofbiz and so on, Learn these things to your project and goals, to supplement the beforehand, but not too deep, after all, learning principles and theory is the most important thing.

Current Common J2eeapi
JavaServer Pages (JSP) technology 1.2
J

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.