Best IDE for PrimeFaces Development!!!

UI Components for JSF
User avatar
Nightbeat
Posts: 62
Joined: 24 Mar 2009, 06:35

22 Jun 2009, 09:11

: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!!!!
"Peaceful Mind leads the Victory"

Mojarra 2.0, Primefaces 2.1,
WAS7, Tomcat6.x
Netbeans6.9.1, Eclipse3.6(Helios),
FF 3.6.x, IE 6-7-8, GC 6.x, Flock 3.0.0.x

User avatar
ydarcin
Posts: 258
Joined: 04 Jan 2009, 19:02
Location: Turkey

22 Jun 2009, 09:18

Hi Mastermind007,

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

Thanks,

Yigit.

lolveley
Posts: 21
Joined: 17 Oct 2010, 20:14

17 Oct 2010, 20:19

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
Olivier SAINT-EVE
Metz, FRANCE
---------------------
netbeans 6.9.1
primefaces
firefox

ethermion
Posts: 117
Joined: 25 Aug 2010, 15:11

17 Oct 2010, 20:51

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
Mojarra 2.2.8
Primefaces 5.1
Wildfly 8.2

lolveley
Posts: 21
Joined: 17 Oct 2010, 20:14

17 Oct 2010, 21:04

hello,

nice to answer me so quick!

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

olivier
Olivier SAINT-EVE
Metz, FRANCE
---------------------
netbeans 6.9.1
primefaces
firefox

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

18 Oct 2010, 21:26

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/

User avatar
MISS_DUKE
Posts: 273
Joined: 08 Aug 2010, 05:52

19 Oct 2010, 05:48

Netbeans 6.10 will be named as 7.0.

http://netbeans.org/community/news/show/1498.html
JSF implementation: Mojarra V2.1.7
JSF component library: Primefaces V3.1.1
Server: GlassFish Open Source Edition V3.1.1 (build 12)

cagatay.civici
Prime
Posts: 18616
Joined: 05 Jan 2009, 00:21
Location: Cybertron
Contact:

19 Oct 2010, 11:20

Cool!

User avatar
mouadh
Posts: 85
Joined: 27 Apr 2010, 12:47
Location: Tunisia

19 Oct 2010, 15:20

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
Ben Khalifa Mouadh
engineering student at National School of Computer Sciences - Tunisia
JSF 2.0, GlassFish v3, PF 2.0.1,Majorra 2.0.2, netBeans 6.8

ethermion
Posts: 117
Joined: 25 Aug 2010, 15:11

19 Oct 2010, 16:07

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
Mojarra 2.2.8
Primefaces 5.1
Wildfly 8.2

Post Reply

Return to “PrimeFaces”

  • Information
  • Who is online

    Users browsing this forum: No registered users and 22 guests