Learn AppFuse and appfuse

Source: Internet
Author: User

Learn AppFuse and appfuse
1. What is Appfuse?

AppFuse is a high-level Web development framework that integrates the most popular Web application frameworks. In other words, AppFuse is a complete integrated version of mainstream frameworks. AppFuse always follows the mainstream java technical framework.

2. environment requirements for using AppFuse

JDK1.7 +

MySQL5.5 +

Maven3.2 +

3. Start helloworld

Use maven to create a project. The front-end technology I chose is springMVC. AppFuse can be integrated with several front-end technologies, including GWT, JSF, springMVC, struts2, and wicket. You can choose either of them.

Run the following command:

mvn archetype:generate -B -DarchetypeGroupId=org.appfuse.archetypes -DarchetypeArtifactId=appfuse-modular-spring-archetype -DarchetypeVersion=3.5.0 -DgroupId=com.qyf404 -DartifactId=stock -DarchetypeRepository=https://oss.sonatype.org/content/repositories/appfuse

After the project is created, there will be a set of permissions by default, and you can directly execute the maven command for compilation and packaging.

mvn install

Packaging will encounter a pitfall, that is, you need to configure mysql first. I installed a mysql on the local machine and the root password is blank. Finally, don't forget to put the mysql-connector-java.jar in tomcat's lib.

 

Well, if everything is normal, you can put the war package in tomcat and run it.

 

Finally, let's look at the localization effect.

 

4. References

 

  • Http://www.appfuse.org/display/APF/AppFuse+QuickStart

 

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.