1.3. Set Up the Development Environment
1.3.1. Download and Install JBoss Developer Studio
184.108.40.206. Setup the JBoss Developer Studio
220.127.116.11. Download JBoss Developer Studio 5
- Go to https://access.redhat.com/.
- Select Downloads → Red Hat JBoss Middleware → Downloads.
- Select JBoss Developer Studio from the dropbox.
- Select the appropriate version and click Download.
18.104.22.168. Install JBoss Developer Studio 5
Procedure 1.1. Install JBoss Developer Studio 5
- Open a terminal.
- Move into the directory containing the downloaded
- Run the following command to launch the GUI installer:
java -jar jbdevstudio-build_version.jar
- Click Next to start the installation process.
- Select I accept the terms of this license agreement and click Next.
- Adjust the installation path and click Next.
NoteIf the installation path folder does not exist, a prompt will appear. Click Ok to create the folder.
- Choose a JVM, or leave the default JVM selected, and click Next.
- Add any application platforms available, and click Next.
- Review the installation details, and click Next.
- Click Next when the installation process is complete.
- Configure the desktop shortcuts for JBoss Developer Studio, and click Next.
- Click Done.
22.214.171.124. Start JBoss Developer Studio
Procedure 1.2. Command to start JBoss Developer Studio
- Open a terminal.
- Change into the installation directory.
- Run the following command to start the JBoss Developer Studio:
126.96.36.199. Add the JBoss EAP 6 Server to JBoss Developer Studio
These instructions assume this is your first introduction to JBoss Developer Studio and you have not yet added any JBoss EAP 6 servers.
Procedure 1.3. Add the server
- Open the Servers tab. If there is no Servers tab, add it to the panel as follows:
- Click Window → Show View → Other....
- Select Servers from the Server folder and click OK.
- Click on the new server wizard link or right click within the blank Server panel and select New → Server.
Figure 1.1. Add a new server - No servers available
- Expand JBoss Enterprise Middleware and choose JBoss Enterprise Application Platform 6.x.Then click Next.
Figure 1.2. Choose server type
- Click Browse and navigate to your JBoss EAP 6 install location. Then click Next.
Figure 1.3. Browse to server install
- On this screen you define the server behavior. You can start the server manually or let JBoss Developer Studio manage it for you. You can also define a remote server for deployment and determine if you want to expose the management port for that server, for example, if you need connect to it using JMX. In this example, we assume the server is local and you want JBoss Developer Studio to manage your server so you do not need to check anything. Click Next.
Figure 1.4. Define the new JBoss server behavior
- This screen allows you to configure existing projects for the new server. Because you do not have any projects at this point, click Finish.
Figure 1.5. Modify resources for the new JBoss server
The JBoss Enterprise Application Server 6.0 Runtime Server is listed in the Servers tab.
Figure 1.6. Server appears in the server list