Java EE entry to proficient learning steps

Source: Internet
Author: User

First, prepare the article

1 What is Java EE. It is different from ordinary java.
A: Java EE is all called Java2 Platform, Enterprise Edition.
"The Java-EE platform is essentially a distributed server application design environment--a java-based environment that provides:
• A running infrastructure environment for host applications.
• A set of Java extension APIs to create applications. "(from the Java server-side advanced programming)

2 Are you eager to learn.
A: Java EE is a collection of many technologies and is still growing.
You will encounter many proper nouns: for example (X) Html,servlet/jsp,jdbc,jms,jndi,ejb,xml,web Service ....
In particular, XML and Web service are growing fast. Fortunately, you don't have to wait until you learn all the techniques before you start programming.
Generally speaking, Java EE can be divided into 3 main applications: Servlet/jsp,ejb,xml/web Service and some support technologies such as JDBC and Jndi.
You can learn by one.

3 What's the use of java.
A: Used to build large distributed enterprise-class applications. Or, in more fashionable terms, "e-business" applications.
These enterprises may be large to have a central database server, Web server clusters and office terminals all over the country, it may be small to just want to do a website.

4 Learn the future of the Java-ee?
A: There is only one technology in this market that can compete with Java EE, and that is Microsoft's. NET.
Relatively speaking. NET to "new" some and the Java-ee to "old" some.
But. NET can only be used on Windows platforms (Microsoft claims to develop C # virtual machines on Linux but has not yet honoured that promise),
Given the momentum of Linux development, you can believe it. NET does not eminence.

5 It is said that the performance of the Java EE is not as good as. NET, is it true?
A: Microsoft claims to be less good than the same. NET program in the pet store, a sample program provided by Sun.
Sun countered that the program did not really reflect the performance of Java EE and blamed Microsoft for optimizing the database.
The author has not studied. NET therefore cannot jump to assert.
In any case, performance bottlenecks in large distributed programs usually come first from the wrong design.

6 Listen to you say so much, I want to learn to play.
A: Don't waste your time unless you want to eat it as a meal or as a technical reserve.
Flash has a lot to play with. Computer games are much more fun.

7 Learn how to start the Java EE.
A: First, download a Java EE server. Second, go to java.sun.com to download the Java EE API. Third, find a good reference book. Finally, find a handy IDE.
Java server. You can use Sun's Java EE SDK (free), or WebLogic (the best performance, but too large, and the author does not recommend piracy), or JBoss (free, is too little documentation), or JRun (development version free, the author uses this). The reference author feels Wrox's "Java Server-side advanced programming" is good, but too old (the author is in the 2001 Chinese version). You also need to download some of the latest technical data (certainly in English).
IDE If your machine is well configured (memory at least 512M, 256M or below do not consider), you can use IBM's Wsad, or continue to use eclipse or other.
You can also often go to the Java version of the water wood Tsinghua, but before posting to see if the essence of the area you want to answer.

8 I got down a Java server but not configured.
A: Please read the random guidance document carefully, different server configuration is not the same, the author helpless.

9 I found out you didn't mention Tomcat.
A: Tomcat is just a Web server, to be more precise, mostly just a web Container.
If you want to learn about EJBS, Tomcat doesn't meet your needs.

Second, servlet/jsp article

10 what is a servlet.
Answer: A servlet is a Java class. It handles HTTP (s) requests and responds, including returning an HTML page or handing it over to another URL.
The servlet must be running in a web container such as Tomcat.
The servlet must be a subclass of the javax.servlet.http.Http servlet,
You can inherit the Doget () or Dopost () method, which corresponds to the GET request and POST request in HTTP (s) respectively.

11 How do I get the parameters in the HTTP request?
Answer: HttpR

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.