Stumbled in contact with Java also has a large six months, the period has been using Java to develop Web projects, from the beginning of the HelloWorld, to the JDBC link database, to now use struts, hibernate, spring to complete a project, a lot of harvest.
So start writing a series today detailing how to complete a Web project with Maven,struts2, Hibernate3, Spring2, Tiles2, and MySQL. Make a summary of yourself and hope to help those in need. That's all.
Project build Tool: Maven
ide:myeclipse6.5
Database: MYSQL5
Frames: SSH
Other concerns: Powerdesigner12, Tiles2, FCKeditor, jdk1.6
Today's task is to complete a Maven build standard development directory, in myeclipse6.5, right-click-run As-maven Install, the effect is as follows:
Installation of 1.MAVEN2 (abbreviated)
2. Create a standard Web project under MyEclipse with Maven
2.1 At the command line, create a Web project 1MVN archetype:create with maven-
DgroupId=net.selitech.ssim -DartifactId=ssim -DarchetypeArtifactId=maven-archetype-webapp
2.2 Complement certain directories (switch to project under command line)
1cd ssh\src
2mkdir main\java
3mkdir test\resources
4mkdir test\java