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

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.

主站蜘蛛池模板: 星座| 铁力市| 邢台市| 长沙县| 西平县| 观塘区| 华宁县| 雷山县| 广河县| 红原县| 香格里拉县| 温宿县| 赫章县| 巨野县| 长春市| 沁水县| 雷山县| 桦川县| 惠来县| 晋城| 新蔡县| 崇州市| 明水县| 雷州市| 宁陕县| 阿拉善盟| 盈江县| 湘西| 西乌珠穆沁旗| 馆陶县| 桐城市| 从江县| 龙山县| 莱芜市| 渝中区| 庆城县| 阿拉善右旗| 德安县| 安徽省| 英山县| 晋宁县|