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