Learn Java Web development

Source: Internet
Author: User

Learning dreamwavemx Chinese version of Web Design technology HTML Web page design, this is the most basic. Learn some basic knowledge of XML. Initial mastery of some JScript applications. 2Learn the Java language. This should be divided into 2 times to carry out: the 1th time to find a native write Java programming book can, heavy in the learning JDK programming method, it is best not to use JBuilder and other highly integrated IDE environment, with JCreator such as the IDE with JDK with the line. The 2nd time is to improve: the thinkinginchJAVA "2nd edition of the translation look carefully. 3Learn the Basic program design of the Java EE (1First, learn JSP Dynamic web design. Master JSP, JAVABEANS, JDBC, JSTL (Java Standard tag lib) and other technologies, preferably with Tomcat as the experimental environment. Because of its great influence, although the performance is not very much, many JSP technical discussion is based on it as the background. (2Learn the idea of EJB program design. (3learn the basic concepts of JMS, RMI, CORBA, and some programming ideas. 4Learning"Design Patterns"I recommend Gof's "Design Model", the mechanical industry press has a Chinese version, but the example is C++, there is java example source code on the Internet. With Google, Baidu can be found. 5learn some of the classic framework Applications: (1) Struts1.1, WEBWORK2 (2) Hibernate (3) ibatis/DAO Framework (4) Spring6Analyze some Classic application systems: Jive, Xpetstore, Jpetstore, Tapestry, JSF, webwork, etc. 
 java's web frameworks are different, but they all follow a certain way: using a servlet or filter interception request, using MVC's idea design architecture, using conventions, XML or annotation implementation of the configuration, the use of Java object-oriented features, for the abstract implementation of the request and response process, support jsp,freemarker,velocity and other views. 
JSP benefits: Java EE standard, which means there is a lot of market demand and more job opportunities to get started quickly and relatively easy to have a large number of available component libraries
JSP disadvantage: A large number of JSP tags for rest and security support is not a unified implementation. Both the implementation of sun and the implementation of Apache--myfaces.
Spring MVC Benefits: Providing lifecycle Management with Spring MVC overlay binding (overriding binding), validation (validation), and many presentation layer technologies /frameworks seamlessly integrate: Jsp/jstl, Tiles, Velocity, Freemarker, Excel, XSL, PDF, etc. are easy to test-thanks to IOC
Spring MVC Cons: A large number of XML configuration files are too flexible-no public parent controller without built-in AJAX support

Stripes Advantages: No need to write XML configuration file good learning document community members are very enthusiastic
stripes Cons: Community is smaller than other projects active Actionbean the URL inside is hard-coded
Struts 2 Advantages: Simple architecture-Easy to expand tag libraries easily use freemarker or velocity to customize a controller-based or page-based navigation
Struts 2 Cons:
The document is poorly organized and overly focused on new features
Tapestry Advantages: Once you learn it, it will greatly increase productivity HTML template-very advantageous to the page designer every new version, there will be a lot of innovation
Tapestry Cons: Document too conceptual, not practical learning curve steep release cycle long-each year has a larger upgrade
Wicket advantages: Good for Java Developers (not web developers) page and display bindings close community active-with support from the creator
Wicket cons: HTML templates and Java code next to each other need to have a better understanding of OO wicket logic-- Everything is done with Java

Learn Java Web development

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.