A shortcut to Java Learning _jsp programming

Source: Internet
Author: User
Tags xsl tomcat server netbeans
1, the JDK is j2se,jdk1.1.8 version after the change to become J2SE

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

   2, the JRE is the Java Runtime Environment (jdk1.3 version contains JRE after) without separate download

  3. Set environment variable

To configure environment variables after installing the JDK

My Computer-> Properties-> Advanced-> Environment variables

Add the following environment variables (assuming your Java installation is c:\jdk1.3)

java_home=c:\jdk1.3

Classpath=.; C:\jdk1.3\lib\dt.jar;c:\jdk1.3\lib\tools.jar; (.;;; Already cannot be less because it represents the current path)

Path = C:\jdk1.3\bin

Open a new 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!");
}
}
-------------------------------------
Javac Test.java
Java Test
5, Java, EE, XML development Common tools 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. Ant can cross platforms because ant no longer requires you to write shell commands, ant's configuration file is an xml-based task tree that allows you to run a variety of tasks that are performed by objects that implement a specific task interface.

Http://jakarta.apache.org/ant

   7, development tools (IDE, integrated development environment)

1, the development of tools preferred two

2, jbuilder--don't need me to say more.

3. NetBeans (download address www.netbeans.org, free of charge), Forte is similar to Sun EE and NetBeans (estimated to be rewritten using NetBeans's original code), but NetBeans (version 3.4) I think it's easier to use, Can be integrated with Tomcat and CVS, but the only disadvantage is that you can't develop ejb,forte, but you can't give us the APIs we write ourselves (i.e., the methods that come out of the system are systematic, and we write our own methods out of the way, faint)

Other development tools

Eclipse: An IDE synthesizer that claims to be able to develop any language 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 to become an IDE environment dedicated to developing Java programs, but, depending on the architecture of Eclipse, by developing Plug-ins, It can be extended to any language development and can even be a tool for drawing pictures.

Currently, Eclipse has started to provide functional plug-ins for C language development. What's more, Eclipse is an Open-source project where anyone can download the source code of Eclipse and develop their own plug-ins on that basis. That means that in the future, as long as someone needs it, there will be a development plug-in for languages such as Cobol,perl,python built on eclipse.

You can also extend the functionality of existing Plug-ins by developing new plug-ins, such as adding Tomcat server plug-ins to existing Java development environments.

Can be extended indefinitely, with a unified look, operation, and system resource management, which is where Eclipse's potential lies.

Http://www.eclipse.org

   8. Professional XML editing Tools

XMLSpy: Supports SOAP, supports Oracle XML schema extensions, supports MSXML4, and so on; provides three kinds of XML document views: structure display and edit, original code view and support Css,xsl preview. Support for the latest schema standards, you can validate XML documents based on schema to convert different schema versions of schema documents to documents that conform to the latest schema specification can convert DTDs, xml-data, or BizTalk schemas to the Consortium Xml

Schema automatically generates an XML schema from a database connection (ADO,ODBC) to access the database directly, providing a transformation between the database and the XML provides a more convenient way of customizing the user interface, providing a user interface similar to the Office XP compatible.

The editor supports WYSIWYG text editing, based on form data entry, graphic elements, and so on, including a graphical XSLT generator that can produce style documents for schemas or DTDs, and finally apply to corresponding XML documents.

can go to http://www.xmlspy.com/download.html download

  9. Framework

Cocoon:xml Framework

Cocoon is a content publishing framework that is written in 100% pure java.

Cocoon allows you to use the latest technologies (DOM, XML, and XSL) of the new-technology to provide Web content.

The new cocoon model can completely separate the content, style, and processing logic of the document, allowing the three tiers to be designed, created, and managed independently, thereby reducing management overhead, enhancing the reusability of the work, and reducing development time.

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

   9. struts:jsp Framework

Struts is an open source framework that uses the Java Servlet/javaserver Pages technology to develop Web applications.

Struts can be used to develop an application framework based on MVC (Model-view-controller) design pattern.

Struts is the main function of the following:

? contains a controller servlet that sends a user's request to the appropriate action object.

? JSP free Tag Library, and provides associated support in the controller servlet to help developers create interactive form applications.

? Provides a series of useful objects: XML processing, Automatic processing of JavaBeans properties via Java Reflection APIs, internationalization hints 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.

With turbine, you can create screens that work with templates by creating a specific service.

To integrate existing template technologies (such as velocity, Webmacro, Java Server Pages (JSP), Freemarker, Cocoon).

Source: Http://jakarta.apache.org/turbine

  11, Demo

Java Pet STORE:J2EE Application Sample

The Java Pet Store is an example of Java Software Blueprint planning for the EE enterprise application.

It demonstrates how to use the power of the Java platform to build a flexible, extensible cross-platform enterprise application.

You can get the latest information and learning materials from java.sun.com/blueprints/enterprise/, the latest version is based on the j2ee1.3 1.3_01.

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

   12. Database

Pointbase: One of the forces entering the enterprise database market.

Pointbase is the first certified 100% Pure Java database and can be used for any platform using Java 2 Standard Version virtual machines (JVMS).

Source: http://www.pointbase.com/

  13. Java EE server

1, j2sdkee1.3.1 referrence implement (Java-EE reference implementation), Sun's a good learning Java tools, remember, this is a learning tool, not an enterprise development tool, because of its efficiency, security and many other problems, So you can't use it to do projects or products.

Http://java.sun.com/j2ee/download.html

2, WebLogic and WebSphere I don't need to say more!

3, Sun one application Server (formerly Iplanet)---strongly recommended

Inside is a comparison completed Java development platform

1, Sun one Studio 4 (predecessor Forte)

2, Tomcat 4

3. Sun One application Server A great Java EE server

4, and Java EE RI integration

5, Pointbase is the first certified 100% Pure Java database

These tools can be enough for you to develop any Java products, most importantly, it is a free EE server, and is free oh, than JBoss, do not know where to go haha, this is the!!! I sent

Http://wwws.sun.com/software/download/app_servers.html

   14. UML Tools

1, Rational Rose cellular level of UML design tools, the function is very powerful.

2, together can be considered to be the best Java UML design tools, can be generated according to the class diagram synchronization Java code, the design is complete, the system framework also came out, cool Ah!

  15. Guide Books

1, the introduction of books will not be more introduced

Read some of the books, "from the beginning to the proficient", "Java Programming ideas" beginners do not recommend

2, Java programmer recommended to see "Java Programming Ideas"

3, Java Designer recommended to see "Java and Mode" (new book, written by the Chinese, not translated, Chinese people can write such a profound it book, very difficult)
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.