Main Tutorials

Download PrimeFaces ShowCase and Source Code

The PrimeFaces showcase is showing how to use the entire 100+ PrimeFaces components, which is impressive! Actually, you can download the entire PrimeFaces showcase web application (in war) and source code, and deploy on your local server for testing or further study. Here we show you how.

1. Visit Maven Repository

The entire PrimeFaces showcase “war” is available at its own PrimeFaces Maven repository.

2. War File

Unzip the War file with following jar command :


jar -xvf prime-showcase-1.0.0-SNAPSHOT.war 

Figure : PrimeFaces folder structure

Everything is here, study well and you will be a PrimeFaces expert soon 🙂

About Author

author image
Founder of Mkyong.com, love Java and open source stuff. Follow him on Twitter. If you like my tutorials, consider make a donation to these charities.

Comments

Subscribe
Notify of
21 Comments
Most Voted
Newest Oldest
Inline Feedbacks
View all comments
Russ Block
2 years ago
Guest
3 years ago

Sir,
Thanks for the information , I was able to deploy in JBOSS EAP server 6.4 without any issues,
However I checked the version mentioned here for primefaces as 3.5 snapshot,
Can you please guide/suggest where we can find the showcase examples using latest primefaces -8.0 version ,
org.primefaces
primefaces
8.0

Thanks in advance

Godwin Thaya
9 years ago

Thanks

Sarika
9 years ago

Hi,
how to deploy crude generated view from Prime faces on android mobile..what are steps are required for do that..i’m new for prime faces…pl’s post some example without maven..i’m working on windows 7 for netbean…is this framework is usefull to mobiles apps.

Appriciate your quick reply.

valsaraj
10 years ago

Hi,

I am getting the following error when I start JBoss 4.2.2 GA:

2014-02-04 14:58:27,489 ERROR [STDERR] Feb 04, 2014 2:58:27 PM org.primefaces.webapp.PostConstructApplicationEventListener processEvent

INFO: Running on PrimeFaces 4.0

I am using JSF version 2.2.4

Please let me know your comments.

Thanks in advance,

Valsaraj

Elimane DIOP
10 years ago

Hi mKyong and thanks you for sharing this.
I follow your instruction and i am new in JSF and i get a java io exception

could not created directory?

Andreas Schwarz
10 years ago

Thanks!

Yousri BENDIABDALLAH
10 years ago
barack
10 years ago

Hello sir,please i already download and extract a war file(showcases) but i don’t know how to deploy it in netbeans.I have all the folders(from css upto WEB-INF),my problem is how to use it

Yurien Santos Valdes
10 years ago

Hi mkyong,

Where can I download the war of Primefaces Showcase 4?

Sekar
10 years ago
Reply to  mkyong

Hi MKYong,

Above URL is having only PF 3.5 Showcase and not the 4.0

Dhvanika
10 years ago

Seems the latest show case is not updated at the mentioned link.

zilber
10 years ago

Thankss!!!!!

dibrut
10 years ago

thanks alot.. i will Ctrl+D your site. (y)

fishburner
11 years ago

hi… thanks for the post.

Can you please tell me how to deploy this war from eclipse to glassfish? every time i do… get the error as

Publishing failed
Could not publish to the server.
java.lang.NullPointerException
Could not publish to the server.
java.lang.NullPointerException
Could not publish to the server.

fishburner
11 years ago
Reply to  fishburner

THANKS FOR YOUR KINDNESS…. I HAVE DONE IT MY SELF.

THANKS

fishburner
11 years ago

Thanks a lot. Well I was successful in deploying the ‘war’ on glassfish… Now the problem is this that I have imported the war in eclipse and through eclipse i tried to deploy it on glassfish…. so that i can do changes easily and publish them automatically. But I failed.

Please tell me how should I deploy the war through eclipse on glassfish. Every time I deploy and get the same error on publishing saying Null pointer exception.

Thanks

karthik m
11 years ago

Thanks s lot mkyong… for sharing..it will be use in offline..

Kristiano Fernandes
11 years ago

Cara eu te amo, você é muito bom mesmo, sempre uso seus exemplos para o problema que tenho, so gostaria que tivesse uma tag dedicada somente a primefaces!!
Brigadão!

karebeng
7 years ago

If you want to download Showcase Video to MP4, WMV, AVI, etc,you may try use allavsoft ,it can high-quality output file and the highest to download.