EJB---JBoss development environment with one. EJB Simple Introduction:the EJB (Enterprise JavaBean) is a part of Java EE (Java), which is known as an enterprise bean, and is the core code of the JavaScript, namely the session Bean and the entity bean ( Entity Bean) and message-driven bean (Messagedriven Bean)Two. Development environment Construction:1. Environment:JDK: I'm using JDK7.Eclipse: I'm using Eclipse-jee-luna-sr2-win32-x86_64.zip. Jboss:jboss-as-7.1.1.final.zip---> This is the installation package for JBoss JBoss Tools: Formerly known as JBoss IDE, now unified renamed Jbosstools,jboss Tools contains Jsf,hibernate,jboss seam,jbpm And so on a series of development tools.
2. Installation:
1) JBoss installation configuration:
- Decompression Jboss-as-7.1.1.final.zip
- Start JBoss: Run the Jboss-as-7.1.1.final\bin\standalone.bat script to complete the start of the JBoss server
- Test installation succeeded: Access http://127.0.0.1:8080/, the Welcome to as 7 access interface, indicating that the JBoss boot success
- Stop server: CTRL + C
2) Eclipse integration JBoss7.1:
- Open Eclispe,help---> Eclipse markplace ...
- Enter JBoss, select JBoss Tools xxx, click Install
- Tick Jbossas Tools
- After installation, restart Eclipse, right----> New---> Other---> Server--->next---> Jbossas 7.1, when the following interface appears, click Browser Select the path of the JBoss7.1 after decompression, the other configuration does not move, and then click Finish
- When the above steps are complete, we look at Eclipse's Servers to see the following display:
- Test whether the configuration is successful: Right-click, start the JBoss server, respectively display the following information will congratulate you success!!!
Servers display:
Console Display:
Open the browser, visit the URL http://127.0.0.1:8080/shown below
Copyright NOTICE: This article for Bo Master original article, without Bo Master permission not reproduced.
EJB---JBoss development environment collocation