Unlike previous development tools like Eclipse and NetBeans, Idea's project is quite workspace with Eclipse, and module is the equivalent of project.
Here's a correspondence between the concept of Eclipse and idea:
Our goal is to create a workspace and then build at least 2 projects under it (2 bar), which is the working space Javaworkspace, contains the JavaOne and javatwo two items.
first, review the previous article : IntelliJ idea 14.x integrates with Tomcat to create and run a Java Web project (in fact, it is a workspace, a Java Web project);
Second, create a working space javaworkspace
1. Create a workspace javaworkspace with New project, File--and create projects by the way JavaOne
The resulting project structure is:
Second, create the project Javatwo
1, File--New Module--Create a project Javatwo
The resulting project structure is:
The directory structure on the physical disk is:
Iii. combining Tomcat to run various projects
Reference: IntelliJ idea 14.x integrates with Tomcat to create and run a Java Web project
Iv. Matters of note
The above workspace javaworkspace 2 items JavaOne and javatwo are not directly related, just to make a IntelliJ idea, can open multiple projects at the same time!
However, the function of Module is not just to create a Web project, but for other functions, it hasn't been researched yet!
IntelliJ idea 14.x Creating workspaces with multiple Java Web projects