Using NetBeans IDE 5.0 and Java Studio Creator 2 Together

Guest Author

One of the questions we get asked often is how do NetBeans and Java Studio Creator work together. As you may know, Creator is an IDE which is created on top of the NetBeans platform. A huge advantage of Creator is it's very nice WYSIWIG JSF editor.

So Creator 2 is built on top of NetBeans 4.1 which obviously doesn't contain lots of new features included in NetBeans 5.0 like Matisse, new CVS support, editor improvements, etc. This means that there are good reasons for people to use both IDEs next to each other: Creator has the WYSIWIG JSF support and NetBeans all the new cool features in 5.0.

The good news is that both IDEs use the same project support based on ant. Creator projects are essentially NetBeans projects. The bad news is that there are small differences. Creator 2 is using several libraries which are not available in NetBeans. The good news is that you don't need these if you work with simple projects.

So you can open the Creator 2 project in NetBeans, but you will get a dialog about "missing references". There's a couple of things you can do a) ignore it :) b) remove the links to libraries from project.xml and project.properties files c) try to resolve these libraries. I've been using the Creator project sucessfully with doing b) but I wonder what is the correct approach...?

Another possibility is to keep two seperate projects, one for Creator and one for NetBeans and just copy the JSF part of your application to your NetBeans source tree. It's kind of ugly but it also works.

Can somebody who has more experiences with using both IDEs enlighten me about the best approach? Well, I am very happy that Creator will be available as a set of plug-ins for NetBeans in the future, because then we will have just one project to work with and one IDE version. Just can't wait for that... :)

Join the discussion

Comments ( 10 )
  • Tor Norbye Wednesday, April 26, 2006
    Hi Roman,
    see this blog entry for how to do it:
  • Iwan Wednesday, April 26, 2006
    Hi Roumen

    I used to have both apps side by side, developing the WUI (Web User Interface) in Creator 2 and the rest including a J2ME app in NetBeans. The way I did it was resolving the missing libraries. With Creator 2 EA and later this was possible as you could find the correct JARs, in the earlier versions some components seemed to be hidden somewhere in Creator's bowels.

    The thing is that Creator only does JSF, you can't create servlets in it, at least not te way you can in NB, same goes for webservices, EJBs etc. In our case we needed servlets and I was experimenting using web-services in combination with our MIDlet. I developed these by opening the Creator 2 project in NetBeans and then later in Creator 2 again to deploy and test the WUI.

    This worked out nicely, but still I whish that the WYSIWYG would be a module in NetBeans so I would have a one-stop-shop.


  • Surya Wednesday, April 26, 2006
    Out of curiosity are ther eplans to add the cool functionality from Creator 2 to Netbeans in the future?
  • Tor Norbye Wednesday, April 26, 2006
    Yes, it's being worked on - we hope to have a preview Creator-pack (creator functionality as modules you can drop into NetBeans) soon.
  • Surya Wednesday, April 26, 2006
  • Roumen Thursday, April 27, 2006
    Yes I am also happy that we will have Creator as an add-on pack to NetBeans ... :) Thanks for the pointer, Tor, now I now how to use both IDEs properly together.
  • Alexis MP Thursday, April 27, 2006
    What You See Is What You Get ;-)

    > -38121 days, -23 hours, -1 minutes, -22 seconds till the start of NetBeans Day in San Francisco

    NetBeans does have a JavaScript debugger? :-)
  • Roumen Thursday, April 27, 2006
    Which browser do you have? It works for me :)
  • Alexis MP Thursday, April 27, 2006
    Mac OS' Safari.
  • Roumen Thursday, April 27, 2006
    That shows how JavaScript is portable and OS independent :) It works for me both in Firefox and in MSIE.
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.