Java beginners: beginners must read and learn more.

Source: Internet
Author: User
Tags xsl
Java entry: This is a must-read for beginners. For more information, see Linux general technology-Linux programming and kernel. 1. jdk is j2se, and jdk 1.1.8 will be changed to j2se later,
: Http://java.sun.com/j2se/downloads.html
2. jre is a java Runtime Environment (jre is included after jdk1.3) and does not need to be downloaded separately.
3. Set Environment Variables
After jdk is installed, you must configure environment variables.
My computer-> properties-> advanced-> Environment Variables
Add the following environment variables (assuming your java is installed in c: \ jdk1.3)
Java_home = c: \ jdk1.3
Classpath =.; c: \ jdk1.3 \ lib \ dt. jar; c: \ jdk1.3 \ lib \ tools. jar; (..; no less, because it represents the current path)
Path = c: \ jdk1.3 \ bin
Open a new dos window, type java and javac to test
4. Simple Test Procedure
Public class Test {
Public static void main (String args []) {
System. out. println ("Hello world! ");
}
}
Javac Test. java
Java Test

5. Introduction to common java, j2ee, and xml development tools

J2sdk installer and Java API Doc
J2sdk-1_4_0 for win
J2sdk-1_4_0 for linux
J2sdk-1_4_0-doc
J2sdkee-1.3-doc

Go to http://java.sun.com/j2ee/download.html download


6. build Tool
Ant: Ant is a java-based cross-platform build tool. The reason why Ant can be cross-platform is that Ant no longer requires you to write shell commands. The Ant configuration file is an XML-based task tree,
It allows you to run various tasks. The running of tasks is completed by objects that implement specific task interfaces.

Http://jakarta.apache.org/ant


7. Development Tools (IDE, integrated development environment)
1. Two preferred development tools
1. jbuilder ?? Needless to say.
2. netBeans (: www.netbeans.org, free of charge). forte is similar to Sun EE and netbeans.
(It is estimated that the original code of netbeans is rewritten), but netbeans (version 3.4) is easy to use,
It can be integrated with tomcat and cvs, but the only drawback is that it cannot develop ejbs. forte can,
However, we cannot provide our own APIs (that is, the methods that come up later are system-based, but we write
Method of, faint)
Other development tools
Eclipse: an IDE integrator that can be developed in any language in the future.
Eclipse is a next-generation IDE development environment that replaces IBM Visual Age for Java (IVJ,
However, its future goal is not only to become an IDE environment dedicated to developing Java programs. According to the architecture of Eclipse,
With the development plug-in, it can be extended to development in any language and even become a tool for image rendering.
At present, Eclipse has begun to provide functional plug-ins for C language development. What's even more valuable is that,
Eclipse is an open-source project. Anyone can download the source code of Eclipse,
Develop your own function plug-ins on this basis. That is to say, as long as someone needs it in the future,
There will be development plug-ins built on Eclipse for COBOL, Perl, Python and other languages.
At the same time, you can develop new plug-ins to expand the functions of existing plug-ins, such as adding Tomcat server plug-ins to the existing Java development environment.
It can be expanded infinitely and has a uniform appearance, operation and system resource management, which is exactly the potential of Eclipse.
Http://www.eclipse.org/


8. Professional XML editing tools
XMLSPY: supports SOAP, Oracle XML Schema extension, MSXML4, and so on. It provides three XML document views: structure display and editing,
Source code view and support for CSS and XSL preview. Supports the latest schema standards. You can verify the XML documents according to the schema to validate different schema versions.
To convert a document to a document that complies with the latest schema specifications, you can convert DTDs, XML-Data, or BizTalk schemas to W3C XML.
The Schema automatically generates an XML Schema from the database connection (ADO, ODBC) and can directly access the database,
Provides conversions between databases and XML. Provides a user interface similar to Office XP compatible, providing a more convenient user interface customization method.
The Editor supports WYSIWYG text editing. It is based on form-based data input and graphic elements, including a graphical XSLT generator,
You can generate a style document for the schema or DTD and apply it to the corresponding XML document.

Go to http://www.xmlspy.com/download.html download
9. Framework

Cocoon: XML Framework
Cocoon is a content publishing framework written in Java 100%.
Cocoon allows you to use W3C latest technologies (DOM, XML, and XSL) to provide Web content.
The new Cocoon mode completely separates document content, styles, and processing logic, allowing the three layers to be independently designed, created, and managed,
This reduces management overhead, enhances reusability of work, and reduces development time.

Source: http://xml.apache.org/cocoon


9. struts: JSP Framework
Struts is an open source framework for developing Web applications using Java Servlet/JavaServer Pages technology.
Struts can be used to develop an application architecture based on the Model-View-Controller design pattern.
Struts has the following main functions:
? Contains a controller servlet that can send user requests to corresponding Action objects.
? The JSP free tag Library provides Association support in the controller servlet to help developers create interactive form applications.
? Provides a series of practical objects: XML processing, automatic processing of JavaBeans attributes through Java reflection APIs, and International prompts and messages.

Source: http://jakarta.apache.org/struts

10. turbine: Servlet Framework
Turbine is a servlet-based framework that enables experienced Java developers to quickly build web applications.
Using Turbine, you can create a Screen that uses a specific service to process the template,
To integrate existing template technologies (such as Velocity, Webmacro, Java Server Pages (JSP), FreeMarker, and cocoon ).

Source: http://jakarta.apache.org/turbine
11. Demo

Java Pet Store: j2ee application example
Java Pet Store is a j2ee enterprise application sample planned by the Java software blueprint.
It demonstrates how to use the power of the j2ee platform to build a flexible, scalable cross-platform enterprise application.
You can.

Source: http://java.sun.com/blueprints/enterprise/

12. database

Pointbase: a new army to enter the enterprise database market.
PointBase is the first authenticated 100% pure Java database and can be used on any platform using Java 2 Standard Edition Virtual Machine (JVM.

Source: http://www.pointbase.com/
13. j2ee server
1. j2sdkee1.3.1 referrence implement (j2ee reference implementation). sun is a good tool for learning j2ee. Remember, this is a learning tool.
It is not a tool developed by an enterprise. Because of its efficiency and security, it cannot be used as a project or product.
Http://java.sun.com/j2ee/download.html
2. weblogic and websphere do not need to be mentioned!
3. sun one Application Server (formerly iplanet) --- strongly recommended
It is a relatively complete j2ee development platform
1. sun one studio 4 (formerly forte)
2. tomcat 4
3. sun one application server is a great j2ee server.
4. Integration with j2ee ri
5. pointbase is the first authenticated 100% pure Java database.
These tools can be used to develop any java product. Most importantly, they are a free j2ee server and free of charge.
Compared to jboss, I don't know where to go. Haha, I should have sent it !!!
Http://wwws.sun.com/software/download/app_servers.html

14. UML tools

1. The Rational Rose high-level UML design tool has powerful functions.
2. Together can be considered as the best java UML design tool. It can generate java code synchronously according to the class diagram. After the design is complete, the system
The framework is also coming out!

15. guiding books
1. There are not many introductory books.
Read some < <从入门到精通> > Books such as <> not recommended for beginners
2. Recommended java programmer <
3. Recommended for java designer <> (new books, written by Chinese people, are not translated. Chinese people can write such profound IT books,
Rare)
Related Article

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.