My JSF Books/Videos My JSF Tutorials OmniFaces/JSF PPTs
JSF 2.3 Tutorial
JSF Caching Tutorial
JSF Navigation Tutorial
JSF Scopes Tutorial
JSF Page Author Beginner's Guide
OmniFaces 2.3 Tutorial Examples
OmniFaces 2.2 Tutorial Examples
JSF Events Tutorial
OmniFaces Callbacks Usages
JSF State Tutorial
JSF and Design Patterns
JSF 2.3 New Features (2.3-m04)
Introduction to OmniFaces
25+ Reasons to use OmniFaces in JSF
OmniFaces Validators
OmniFaces Converters
JSF Design Patterns
Mastering OmniFaces
Reusable and less-verbose JSF code

My JSF Resources ...

Java EE Guardian
Member of JCG Program
Member MVB DZone
Blog curated on ZEEF
OmniFaces is an utility library for JSF, including PrimeFaces, RichFaces, ICEfaces ...

[OmniFaces Utilities] - Find the right JSF OmniFaces 2 utilities methods/functions

Search on blog

Petition by Java EE Guardians


sâmbătă, 3 octombrie 2015

9 Steps to run a JSF+PrimeFaces+OmniFaces sample application on Payara 4.1 using NetBeans

Have you saw this post on Twitter ?

Well, I saw it, and I didn't tried Payara yet. So, if didn't also ...

 I reserved 15 minutes to download, install and try a quick run of a web application on Payara 4.1. More exactly, I installed Payara using NetBeans IDE (I used 8.0.2), and I run a simple JSF/PrimeFaces/OmniFaces application sample. After I downloaded and unzipped the Payara in a convenient place on my computer, I started NetBeans and did the following:

1. Select the Servers item from the Tools main menu:
2. Click the Add Server button and select the GlassFish Server option from the available servers types. Rename it as Payara Server (or whatever name you prefer). Click Next:
3. Navigate to Payara installation location and click Next:
4. Payara comes with two domains: domain1 and payaradomain. Payara: "Payara now comes with two domains created out of the box, the default domain1 created from the original template, and the new payaradomain based on our new template. With this release, we’ve included a Payara domain template with some optimizations over the default GlassFish domain template, including an increased MaxPermSize and heap size. The default template is still there for those who need it, the new template is optional.". So, I give it a try to payaradomain. Click Finish:
5.The Payara Server was added in the list of configured servers. Click Close:
6. Create a simple Maven web application in NetBeans style. Do not forget to select the Payara Server for deployment:
7. Further, I added in POM the desired dependencies:


8. Finally, I developed a simple application, just used some PrimeFaces and OmniFaces tags and a simple CDI managed bean to obtain this:
9. I run the application and everything worked fast and smooth. The above interface was displayed while the log revealed the below snippet of infos:

Niciun comentariu :

Trimiteți un comentariu


Postări populare

OmniFaces/JSF Fans

Follow by Email

Visitors Starting 4 September 2015

Locations of Site Visitors