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.
- Jsp xml xslt converts output to HTML
- Analysis on single processing and multi-task processing of JSP Technology
- JSP variables are called range variables in the specification.
- Detailed explanation of JSP technology methods
- JSP variables are called range variables in the specification.