Novice reading: Java to learn the shortcuts Issue Date: 2005-01-31 Author: [posted] Source: java Chinese Station 1, jdk is j2se, jdk1.1.8 later versions change it into j2se, download address: http: // java. Sun.com/j2se/downloads.html
2, JRE is the Java runtime environment (JDK1.3 version contains JRE) without downloading
3, set environment variables
After installing JDK, configure the Environment Variable My Computer -> Properties -> Advanced -> Environment Variable Add the following environment variable (assuming your Java installed in C: /JDK1.3)
Java_Home = C: /JDK1.3 ClassPath = .; c: /jdk1.3/lib/dt.jar; c: /jdk1.3/lib/tools.jar; (.; noble, because it represents the current path ) PATH = C: /JDK1.3/bin
New open a DOS window, type Java and Javac test
4, simple test procedure
Code: -------------------------------- Public Class Test {public static void main (string args []) {system .out.println ("Hello World!");}} -------------------------------------------------------------------------------------------------------------------------------------------- - Java Test 5, Java, J2EE, XML development common tool introduction
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
Can 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 that Ant can cross the platform because Ant no longer needs you to write shell commands, Ant's profile is XML-based task tree, which allows you to run a variety of tasks, the task run is the implementation of a specific task interface Objects are completed. Http://jakarta.apache.org/ant
7, development tool (IDE, integrated development environment)
1. The development tool is preferred 2, jbuilder - don't have to say 3, NetBeans (download address www.netbeans.org, free), and Forte is similar to Sun EE and NetBeans (it is estimated to be rewritten using NetBeans. Become), but NetBeans (3.4 version) I feel more useful, can be integrated with Tomcat and CVS, but the only shortcomings cannot develop EJB, Forte is ok, but can't give our own API (That is. The method of the appearance is the system, and the method we write is not coming, FAINT)
Other development tools
Eclipse: Names the future IDE set of language developed in the future.
Eclipse is the next-generation IDE development environment that replaces IBM Visual Age for Java (hereinafter referred to as Ivj), but its future goal is not only a IDE environment specializing in developing Java programs, but it can expand according to the eclipse architecture, it can expand To any language, it can even be a tool drawn.
Currently, Eclipse has begun to provide a function plugin for C language development. It's more difficult to expensive, Eclipse is an open source project, anyone can download the source code of Eclipse, and develop its own function plugin on this basis. That is to say, as long as someone needs it, there will be a development plugin that is built in languages such as COBOL, Perl, Python, Eclipse. At the same time, you can extend the functionality of the existing plug-in by developing new plugins, such as adding Tomcat server plugins in an existing Java development environment. You can expand unlimited, and there is a unified look, operation, and system resource management, which is also the potential of Eclipse.
Http://www.eclipse.org
8, professional XML editing tool
Xmlspy: Support for SOAP; supports Oracle XML Schema extensions; support MSXML4, etc., provides three XML document views: structure display and editing, original code view, and preview supporting CSS, XSL. Supports the latest Schema standard, you can convert Different Schema versions of the SCHEMA document into a document that meets the latest Schema specification according to the SCHEMA Version XML documentation. Automatically generate XML Schema can directly access the database, providing a transition between database and XML to provide a user interface similar to Office XP Compatible provides a more convenient user interface customization method. The editor supports the text editing of the you get the text, based on FORM Data Enter, graphic element, etc., including a graphical XSLT generator, can generate a style document for Schema or DTD, and is finally applied to the corresponding XML document. Can go http://www.xmlspy.com/download.html to download
9, Framework
COCOON: XML Framework Cocoon is a content publishing framework written in 100% pure Java. CoCoon allows you to provide web content with the latest technology (DOM, XML, XSL) of W3C. The new Cocoon mode fully separated document content, style, processing logic, allowing these three layers to be independently designed, created and managed, thereby reducing management overhead, strengthening the reuse of work, reducing development time. Source: http://xml.apache.org/cocoon
9, Struts: JSP Framework
Struts is an open source of the open source of the web application using Java Servlet / JavaServer Pages technology. The Struts can develop an application architecture based on MODEL-View-Controller design mode. Struts has the following main features: • Contains a Controller Servlet to send the user's request to the corresponding Action object. • JSP free Tag library, and provides association support in the Controller Servlet to help developers create interactive form applications. • Provide a series of practical objects: XML processing, automatically handle JavaBeans property, international tips, and messages through Java Reflection APIs. 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. With Turbine, you can integrate existing template techniques (such as Velocity, Webmacro, Java Server Pages (JSP), FreeMarker, Cocoon by creating Screen of Templates using specific services. Source: http://jakarta.apache.org/turbine11, Demo
Java Pet Store: J2EE Application Sample Java Pet Store is a J2EE enterprise application sample for Java Software Blueprint Planning. It demonstrates how to apply the power of J2EE platform to build a flexible, stretchable cross-platform business application. You can get the latest information and learning materials from java.sun.com/blueprints/enterprise/, the latest version is based on J2EE 1.3 1.3_01. Source: http://java.sun.com/blueprints/enterprise/
12, Database
PointBase: A new army into the enterprise-class database market. PointBase is the first 100% pure Java database that can be used for any platform for any Java 2 Standard Edition Virtual Machine (JVM). Source: http://www.pointbase.com/
13, J2EE Server
1, J2SDKEE1.3.1 Referrence Implement (J2EE Reference Implementation), a good learning J2EE tool, remember, this is a learning tool, because of its efficiency, security, etc. So you can't use it to do projects or products. Http://java.sun.com/j2ee/download.html
2, WebLogic and WebSphere don't have to say more! 3, Sun ONE Application Server (formerly IPlanet) --- Highly recommended
Inside is a comparison completed J2EE development platform 1, Sun One Studio 4 (predecessor Forte) 2, Tomcat 4 3, Sun ONE Application Server A better J2EE Server 4, and J2EE RI integrated 5, PointBase is the first certified 100% pure Java database
These tools can develop any Java products, the most important thing is that it is a free J2EE server and is free, compared to jboss, I don't know where to go, I have sent it. ! ! ! Http://wwws.sun.com/software/download/app_servers.html
14, UML Tool 1, Rational Rose Big Brother Level UML Design Tools, is very powerful. 2, together can think is the best Java UML design tool, can generate Java code according to class diagrams, after design is completed, the system's framework is coming, cool!
15, guide books
1. Introduce some books, "Java programming ideas", "Java Programmer", "Java Programming Thoughts" 3, Java Programming Thought "3, Java Designer Recommended" Java Programming " And models (new book, Chinese written, not translated, Chinese can write such a deep IT book, very rare)