官术网_书友最值得收藏!

Creating our first web project—a dynamic web project stub

Now that we have installed and configured a JBoss AS 4.2 server instance, it is time to create our first web project. To be honest with you, this is less of a useful project and more of an "instrument" used to reveal as much as possible the facilities of JBoss AS Tools.

So, we decide to use a Dynamic Web Project stub, created straightforward from the New menu | Other | Web node | Dynamic Web Project leaf (Eclipse helps you organize your web applications using a type of project called a Dynamic Web Project). In the creation wizard, just type the test name as the project name and click the Finish button (note that the target runtime was automatically detected as JBoss 4.2, while the rest of fields were filled-up with the default values). Without a web project, many of the JBoss Tools AS facilities will be disabled.

Deploying the test project on JBoss 4.2 Server

Deploying a project is a task that can be accomplished in many ways. The quickest solution consists of right-clicking on the JBoss 4.2 Server node (in JBoss Server View) and selecting Add and Remove Projects option. This will open the wizard (the one shown in the previous screenshot), but this time, in the left panel, you can see the test project. Select it, click the Add button, and close the wizard by clicking on the Finish button. When the JBoss 4.2 Server will be started, the new project will be deployed.

主站蜘蛛池模板: 台前县| 阆中市| 北辰区| 合阳县| 屯门区| 宝鸡市| 波密县| 叶城县| 江川县| 易门县| 朝阳市| 玉田县| 武定县| 德惠市| 碌曲县| 玉山县| 扎鲁特旗| 大同县| 韶关市| 溧水县| 江华| 平原县| 措勤县| 沛县| 会昌县| 贵定县| 清徐县| 孙吴县| 柘城县| 易门县| 姚安县| 忻州市| 长垣县| 鄂托克旗| 大埔区| 绍兴县| 巴楚县| 东乡族自治县| 新兴县| 金寨县| 石城县|