JavaEE is a very good Web framework, including JSP, Servlet, etc. Today we introduce how to build JavaEE development environment under Ubuntu: 1. In http://www.eclipse.org/downloads? OsType = download EclipseIDEforJavaEE from linux, which integrates EclipseIDE with the JavaEE plug-in. My version is EclipseIndigo, which is about MB.
JavaEE is a very good Web framework, including JSP and Servlet. Today we will introduce how to build a JavaEE development environment under Ubuntu:
1.
InHttp://www.eclipse.org/downloads? OsType = linuxDownloadEclipse IDE for Java EE, Which integrates the Eclipse IDE that contains the Java EE plug-in. My version is Eclipse Indigo, about MB.
2.
Decompress the package and directly create a folder. Run eclipse in the folder. Of course, you can also create a desktop starter, which is the same as the shortcut in Windows. You can place this folder anywhere. I have installed Eclipse IDE for Java SE before, but these two do not conflict.
For example:
3.
Now we need a Web server, of course, the first choice is Tomcat:
InHttp://tomcat.apache.org/Download the compiled image file of Tomcat.Tomcat 7.0.27 Released
4.
Decompress Tomcat to any directory, so that Tomcat is installed.
5.
Next we will create a new Web project to test:
Open Eclipse and the dialog box is displayed automatically. Set the workspace path:
For example:
6
SelectFile --> New --> Dynamic Web Project
In the displayed dialog box, enter the Project Name.HelloWorld
Set our Tomcat server in Target runtime:
Click the New Runtime... button on the right and select Apache Tomcat v7.0.
Click Next,Enter the Tomcat directory in Tomcat installation direction.And then click Finish.
As shown in figure:
Reading:
Install Tomcat http://www.linuxidc.com/Linux/2013-01/77770.htm in JavaEE environment under CentOS
Set up JavaEE Development Environment http://www.linuxidc.com/Linux/2012-01/52903.htm under Linux