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

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.

主站蜘蛛池模板: 平顶山市| 壶关县| 屯留县| 淅川县| 潞城市| 永登县| 赣州市| 织金县| 合作市| 额尔古纳市| 拜城县| 犍为县| 黎城县| 阳城县| 托克托县| 巩义市| 阳泉市| 商都县| 永定县| 房山区| 荥阳市| 昌图县| 闵行区| 北安市| 六盘水市| 南城县| 黄石市| 东海县| 新河县| 仁布县| 西充县| 遵义市| 彭州市| 普洱| 华阴市| 凭祥市| 张北县| 厦门市| 乐都县| 荃湾区| 突泉县|