How to construct Jsp/javabean development and publishing environment

Source: Internet
Author: User
Tags homesite mysql tomcat linux

Java EE is the latest e-business solution, and its complexity and the cost of developing tool systems are daunting. In the actual project application, the real need to completely use the Java EE solution is not much, facing small and medium-sized enterprises E-commerce applications, the following combination is enough to deal with: Jsp/servlet + Javabeans (taglib) + MySQL (XML)

In the specific implementation, LINUX+TOMCAT+JDK +mysql combination has proven to be stable and fast and low-cost, hope that in many small and medium systems, with the power of open source (open source), Java will remain invincible.

How do I construct a simple jsp/javabean development and publishing environment?

In practice, I have found that the following development tool combinations can be easily constructed into a dynamically extensible IDE Environment:

JCreator is used to edit debug JavaBean;

Homesite (EditPlus dreamweaver) is used to edit JSP files;

Tomcat as a serlvet/jsp container server;

MySQL as a database server;

JBoss serves as an EJB container server (not installed if EJB is not used);

Ant as the publishing tool (if you do not use EJB or Java EE does not install);

This combination can be directly debugged via IE browser JSP or JavaBean, compared with jbuilder such a large IDE tool software. The biggest advantage is the resource consumption is less, play the characteristics of the respective tools, such as HomeSite write html/jsp very powerful, etc., if your jsp/ The servlet server or EJB server uses Open-source software, which is no worse than JBuilder.

Let's start with a specific configuration: First, suppose such a development and running environment: development is in the Windows system, while the running is in the Linux system:

Development environment

1. First, you need to install TOMCAT+JDK on your PC windows and install TOMCAT+JDK on Linux.

2. Create your own project directory, such as C:myweb placed in their own project JSP or JavaBean directory, under the MyWeb to create three directories:

JSP-->jsp Source Program

Beans-->javabean Source Program

Web-inf/classes--> The compiled JavaBean run the program.



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.