A detailed getting Started tutorial for the Java EE--people log in

Source: Internet
Author: User

Since the last development of the Java EE has been a while, the project has not been completed in a timely manner. Now re-enter a simple login to summarize the Java EE. Do not underestimate this login, the perfectly formed AH. For your future reference and for beginners to learnSystem Framework:Server: JBOSS7.1Database: oracle11gFront Desk: extjs4.2 (for the front desk design headache can be selected, you can save a lot of CSS)data manipulation: EJB3Action handling: structs2.3programming Tools: Eclipse

First , the first step must be the environmental configuration.(remember to have your JDK first. Reference:http://jingyan.baidu.com/article/6dad5075d1dc40a123e36ea3.html)download the necessary tools and we'll build the development environment.

1. Integrate the jboss7.1 into Eclipse firstInstalling the JBoss tool toolsTutorial Reference:http://www.cnblogs.com/HD/p/4000554.html

below we build the Web project, the rest of the configuration side to do the side talkCreate a person project





Click Finish to complete the project creation

Modify the Webcontent/web-inf/web.xml to: <?xml version= "1.0" encoding= "UTF-8"?>
<web-app xmlns:xsi= "http://www.w3.org/2001/XMLSchema-instance" xmlns= "Http://java.sun.com/xml/ns/javaee" xsi: schemalocation= "http://java.sun.com/xml/ns/javaeehttp://java.sun.com/xml/ns/javaee/web-app_3_0.xsd" id= "Webapp_ ID "version=" 3.0 ">
<display-name>Person</display-name>
<welcome-file-list>
<welcome-file>index.html</welcome-file> <!--projects Home--
</welcome-file-list>
</web-app>

under WebContent, the index.html is established as follows: <! DOCTYPE html>
<meta charset= "UTF-8" >
<title>insert title here</title>
<body>

</body>

This is the run project (mouse right-click Project Run As->run on Server):
When you publish, you can see:




Operation Result:

At this point, our project is well established and can be developed.

A detailed getting Started tutorial for the Java EE--people log in

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.