JBoss-IDE 1.2.2 Tutorial 6:
JBoss settings and boots:
Now we have to set the JBoss server, press 'Debug' in the tool column.
If the JBoss server can be set at this time, press 'Debug'.
After pressing 'Debug', you will see the output information and if any errors can be seen, you can see the error message.
deploy:
JBoss-IDE has two ways to deploy:
l Copy the archive. Copy the resource file in the file administrator
l Locally deployed? MainDeployer MBean (in experiments). The URL of the resource file passed the Main Deployer MBean in Oral and Monitoring.
In addition, the deployed target unit is stored in the SESSION of Workbench, so you can redeploy or give up deployment in this goal.
The deployer Plugin from the demonstration setting will automatically add a file target. Other deployment goals can be defined.
Select 'Window' -> 'Preference' -> JBoss-IDE '->' Deployer 'in the main menu column to select the defined deployment target. The window in the upper right will list the file deployment target in the demonstration environment. The following is the user's own custom deployment target.
Suppose we will deploy the target of JBoss that has been defined, not the user's own custom. Steps are very simple, Package Explorer in the project, right-click 'FiboApp.ear' select 'deployment' -> 'deploy to ...', then There will be a window pop-up of selecting a target. After selecting a deployment target, there will be a message of 'Deployment WAS Successful', and you can also see the output of the output on the console window.
The resource file that is deployed after completion will add a small picture.
Insect:
Insect, it is important to set some breakpoints. Open 'Fibobobean.java' file. Double-click the left hand to add a breakpoint, we will be within the first line of the 'Compute' method.
In 'ComputeServlet.java', double-click the column of the left hand to add a breakpoint, it is scheduled before creating EJB.
Start JBoss in the demonstration environment, deploy 'fiboApp.ear' and set a browser, open a browser, enter 'http: // localhost: 8080 /' in the URL, while hostname and port need and JBoss server Set the same. You should see the following screen after input, enter a positive, press 'Compute'.
Then return to Eclipse's Workbench. You should see the operation of the program and stop in the breakpoint, you can track and monitor the operations step by step.
When the run is complete, the calculated result should be seen.
to sum up:
This is a simple tutorial to introduce the concept of JBoss-IDE. I hope to help you when you develop with JBoss-Ide.
Source:
http://prdownloads.sourceforge.net/jboss/tutorial 1.2.2.pdf?download
Tutorial origin:
http://prdownloads.sourceforge.net/jboss/tutorial_1.2.0.zip?download