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

Running the project

Now build the project again. After the build is finished, right-click on the project and select Run.

This causes the GlassFish server to run and our application to be deployed. Once the project is deployed, NetBeans then opens its default browser and points it to the application's start page.

Tip

I use Google Chrome as my NetBeans default browser because NetBeans provides a Chrome plugin that allows us to debug scripts in our pages as well as other useful services. I am not going to force you to use a particular browser, but I do recommend that you use Google Chrome for the aforementioned reasons. The only browser-related thing that you should avoid is using Internet Explorer below version 8. The latest JSF technologies are not guaranteed to work with the older Internet Explorer versions, and the visual experience, even with Internet Explorer 8, is underwhelming compared to modern browsers.

We should see something like this in Chrome:

Running the project

Now that we have got the project running, we can add the other configuration files that we saw in an earlier screenshot.

主站蜘蛛池模板: 庆云县| 乌拉特中旗| 上杭县| 陕西省| 离岛区| 富阳市| 长岛县| 沛县| 长治市| 巨鹿县| 镇远县| 罗田县| 贡嘎县| 宾川县| 武宣县| 广河县| 肥东县| 攀枝花市| 商丘市| 贵德县| 富阳市| 洪湖市| 贞丰县| 公主岭市| 上栗县| 潼南县| 黄陵县| 于田县| 阿巴嘎旗| 青冈县| 台东县| 博野县| 阳高县| 洱源县| 陕西省| 宝兴县| 永善县| 长阳| 贞丰县| 广德县| 高安市|