Java entry and FAQ

xiaoxiao2021-03-06  71

Java newcomer must read, some entry knowledge 1, JDK is J2SE, JDK1.1.8 version changed to J2SE, download address:

http://java.sun.com/j2se/downloads.html

2, JRE is a Java runtime environment (JDK1.3 version contains JRE) without downloading 3, set the environment variable After installation of JDK, configure the environment variable My Computer -> Properties -> Advanced -> Environment Variable Add: Environmental variables (assuming your Java installation in c: /jdk1.3) java_home = c: /jdk1.3classpath = .; c: /jdk1.3/lib/dt.jar; c: /jdk1.3/lib/tools .jar; (.; can not be less, because it represents the current path) PATH = C: /JDK1.3/bin newly open a DOS window, type Java and Javac test 4, simple test program code: ----- -------------------------------------------------- ------------------------- Public Class test {public static void main (string args []) {system.out.println ("Hello World! ");}} ------------------------------------------- ----------------------------------- Javac Test.javajava Test5, 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

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 tools (IDE, integrated development environment) 1. Development tools preferred two types 1, jbuilder - don't have to say 2, NetBeans (download address

Www.netbeans.org, free

, Forte is also similar to NE EE and NetBeans (it is estimated to be rewritten using NetBeans), but NetBeans (3.4 version) I think it is better to integrate with Tomcat and CVS, but the only shortcomings cannot be developed EJB, FORTE is ok, but can't give our own API (i.e., the method of post-appearance is the system, and we write the way, Faint) Other development tools Eclipse: Name known future Language developed IDE sets. 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 plug in 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; support Oracle XML Schema extension; support MSXML4, etc., provide three XML document views: structural display and editing, original code view, and support for CSS, XSL preview. Supports the latest Schema standard, can convert Different Schema versions of the SCHEMA document into a document that meets the latest SCHEMA specification according to the SCHEMA Version XML document, can convert DTDS, XML-DATA, or BIZTALK Schemas to W3C Xmlschema from database connection (ADO, ODBC) The XML Schema can directly access the database, providing the transition between the 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 younsorship, based on Form Data input, graphic elements, etc., including a graphical XSLT generator, can generate a style document for Schema or DTD, and finally applied to the corresponding XML document. Can

http://www.xmlspy.com/download.html

Download 9, FrameworkCocoon: 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 the 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 functions: • 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. · Provides a range 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, making 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/turbine

11. Demojava 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, DatabasePointBase: A new army into the enterprise 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 Server1, J2ee Server1, J2SDKee1.3.1 Referrence Implement (J2EE Reference Implementation), a good learning J2EE tool for Sun, remember, this is a tool for learning, because it is efficient, safe, etc. Many problems, 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 --- strongly recommended inside is a comparative completion J2EE development platform 1, Sun One Studio 4 (predecessor Forte) 2, Tomcat 43, Sun ONE Application Server A better J2EE Server4, And J2EE RI integration 5, PointBase is the first authenticated 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 than JBoss For it, I don't know where to go, haha, this live will be sent! ! !

http://wwws.sun.com/software/download/app_servers.html14 ,uml Tool 1, Rational Rose Big Brother level UML design tool, function 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 book 1, don't introduce some books, "Java programming ideas", starters do not recommend 2, Java Programmer recommended to see << Java Programming Thoughts > 3, Java Designer Recommended << Java and Modes >> (New Book, Chinese Writing, Not Translated, Chinese people can write such a deep IT book, very rare)

转载请注明原文地址:https://www.9cbs.com/read-109453.html

New Post(0)