Introduction to JSP JavaBean development and release Environments

Source: Internet
Author: User
Tags homesite

Java-based J2EE is the latest e-commerce solution. its complexity and the high cost of development tool systems have also discouraged many people. in actual project applications, there are not many applications that really need to fully use the J2EE solution. The following combinations are sufficient for small and medium-sized enterprises to deal with e-commerce applications: JSP Servlet + JavaBeans (taglib) + MySQL (XML)

In terms of implementation, the combination of Linux + Tomcat + JDK + MySQL has proved to be stable, fast, and cost-effective. We hope that, among many small and medium systems, the combination of Linux + Tomcat + JDK + MySQL will rely on the power of Open Source, java will remain undefeated.

How to construct a simple JSP JavaBean development and release environment?

After practice, we found that the combination of the following development tools can easily form a dynamic and scalable IDE environment:

Jcreator is used to edit and debug JavaBean;

Homesite (editplus dreamweaver) is used to edit JSP files;
 
Tomcat serves as the Servlet JSP Container server;

Mysql acts as a database server;

JBoss acts as an EJB container server (if you do not use EJB, do not install it );

Ant is a release tool (not installed if you do not use EJB or J2EE );

This combination can be used to debug JSP an directly through IE browser, compared with the huge IDE tool software such as Jbuilder. the biggest advantage is the low resource consumption and the features of their respective tools. For example, homesite is very powerful in html/JSP writing. If your JSP Servlet server or EJB server uses open source software, this combination is no inferior to Jbuilder.

Let's start with the specific configuration: first, let's assume that such a development and running environment: development is in a windows system, while running is in a linux system:

Development Environment

1. First, you need to install Tomcat + jdk on your PC windows, and install Tomcat + jdk on linux;

2. Create a directory for your project. For example, c: myweb stores the JSP an directory of your project. Create three directories under myweb:

JSP --> JSP source code

Beans --> JavaBean source program

WEB-INF/classes --> compiled JavaBean runtime program.

  1. Jsp xml xslt converts output to HTML
  2. Analysis on single processing and multi-task processing of JSP Technology
  3. JSP variables are called range variables in the specification.
  4. Detailed explanation of JSP technology methods
  5. JSP variables are called range variables in the specification.

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.