Page 1 of 3

Best IDE for PrimeFaces Development!!!

Posted: 22 Jun 2009, 09:11
by Nightbeat
:P
Hi Gentlemen and Ladies,
I was doing a study of the maximum IDE support for "PrimeFaces" users. Then I tried with several IDEs.Then I found "net beans 6.5" and "Ganymede Eclipse" as the best tools for 'PrimeFaces' based application development.Then I realized that "Eclipse IDE" supports better than "NetBeans" for the time being, because "NetBeans" still not provides "Visual web page Editor" for any "JSF" Library, but just "Visual JSF and ICE Faces" frameworks.

You can download latest 'Eclipse IDE' (JEE Version) from,
http://www.eclipse.org/downloads/
or(http://www.eclipse.org/downloads/downlo ... -win32.zip) ;)

Then download WTP tools from
http://www.eclipse.org/downloads/downlo ... 045405.zip :idea:

just extract it into the "Eclipse" installation directory, and follow this tutorial to switch to the visual web editor. :idea:
http://www.eclipse.org/webtools/jsf/doc ... orial.html

or just ,
* Navigate to "Window" -> "Preferences..." -> "General" -> "Editors" -> "File Associations"
* In the "File types" section, select "*.jsp"
* In the "Associated editors" section, select "Web Page Editor"
* Select the "Default" button
Before creating the JSF-JSP page.

:P Good Luck!!!!

Re: Best IDE for PrimeFaces Development!!!

Posted: 22 Jun 2009, 09:18
by ydarcin
Hi Mastermind007,

thanks for the info. We are also using eclipse while developing and testing the primefaces in eclipse.

Thanks,

Yigit.

Re: Best IDE for PrimeFaces Development!!!

Posted: 17 Oct 2010, 20:19
by lolveley
hi,

it's been a long time now, but I would like to know if you have succeeded in using primefaces with eclipse helios.
personally, I 'm still searching a tutorial to use primefaces with eclipse.
It seems not to be enough to copy the primefaces jar and to add a taglib.

tell me if you have managed to do this!

olivier

Re: Best IDE for PrimeFaces Development!!!

Posted: 17 Oct 2010, 20:51
by ethermion
What problem are you having? I've moved on to the Indigo milestone, but was on Helios for a bit. If you use 2.2RCx of primefaces, you will get taglib support, which was recently added. I skip the web page editor, as it is slowwwww, and not very helpful. It still does not notice annotations for ManagedBean in any editor. Not the best IDE, but I am too old to change from Eclipse to NetBeans.

Grab the latest RC snapshot, drop it in WEB-INF/lib. Right click, and add to the build path. Toss xmlns:p="http://primefaces.prime.com.tr/ui" up at the top of the file in your <html tag. In the body, type <p: then CTRL-SPACE, and you should see the tags. Pick a tag, then CTRL-SPACE for the attributes. If you use the web page editor, you will see primefaces in the palette.

In theory, if you identify your managed beans in faces-config, and use the web page editor, you can CTRL-click on EL #{blah.property} and jump to the method in the bean, but I'm too lazy for that. Test in Eclipse with debug->debug on server. I use Tomcat, and it works ok, though I restart the server more than I would like. Export your project to a war file, and you can upload to another machine. Primefaces will follow along no problem.

I still have not figured out how to change my project to EE6 so I can used CDI. Somehow, not a priority.

Eclipse has a long way to go to be a civilized IDE for JSF, but I get my work done all the same.

So post details of your problem. I can help you get to where I am, which is not great, but good enough to be productive.

-e

Re: Best IDE for PrimeFaces Development!!!

Posted: 17 Oct 2010, 21:04
by lolveley
hello,

nice to answer me so quick!

please see this : http://primefaces.prime.com.tr/forum/vi ... f=3&t=5320!

olivier

Re: Best IDE for PrimeFaces Development!!!

Posted: 18 Oct 2010, 21:26
by cagatay.civici
This is an old topic but currently the answer is NetBeans, NetBeans 6.10+ bundles PrimeFaces and you even dont need to download it;

http://cagataycivici.wordpress.com/2010 ... eans-6-10/

Re: Best IDE for PrimeFaces Development!!!

Posted: 19 Oct 2010, 05:48
by MISS_DUKE
Netbeans 6.10 will be named as 7.0.

http://netbeans.org/community/news/show/1498.html

Re: Best IDE for PrimeFaces Development!!!

Posted: 19 Oct 2010, 11:20
by cagatay.civici
Cool!

Re: Best IDE for PrimeFaces Development!!!

Posted: 19 Oct 2010, 15:20
by mouadh
i think netbeans is much better than eclipse, first now with the 6.10 or 7.0 version making a new web application with PF doesnt take any configuration as it's automatically done unlike eclipse that takes more time to prepare a new project with PF :? . plus, a Visual web page Editor isn't necessary for devlopping, i remember when i started my first web application the visual web editor seems to me then as an important tool and i already posted a topic about adding a PF visual web editor plugin for netbeans :) http://primefaces.prime.com.tr/forum/vi ... 152#p12152 but now after gaining further experience i feel much confortable with coding the pages by my self. so, i think that Netbeans is the best IDE for devlopping web application ;)
Cheers

Re: Best IDE for PrimeFaces Development!!!

Posted: 19 Oct 2010, 16:07
by ethermion
It used to be that Eclipse was miles ahead of NetBeans in just about everything. Those days seemed to have passed, but I still groan every time I see NetBeans trigger an Ant build. The Eclipse compiler is still pretty amazing. Save a file, blip, blip, everything done. No ant build.

Historically, Eclipse is faster. If an IDE cannot keep up with my typing, it is not an IDE. NetBeans always seemed to spend extra time thinking while I type.

Once you get setup, Eclipse is just fine, in my experience, for JSF/Primefaces development. If you are a serious developer, it probably does not matter.

That said, I think NetBeans is much more focused on new Java technologies. Eclipse is about worthless for JavaFX development, and JSF support seems pretty low on their list of priorities. The agenda for the two products is different. NetBeans is trying to support JSF, while Eclipse is waiting to see demand for JSF before investing resources.

I have been using Eclipse since 1.x, and I have several referenced projects already in Eclipse, so Eclipse is the obvious choice. If you are starting net-new, either should be fine. After a few weeks, it probably does not make much of a difference. Either you are a code pig, or you are not. After punch cards in school and my first job, I used to crank out serious code in vi. Muscle memory will never forget ZZ make ./x. How fussy we have become!

-e