Geertjan's Blog

  • September 7, 2005

Simple Quick Starts for NetBeans IDE 5.0!

Geertjan Wielenga
Product Manager
They're about as simple as they can get. If they can be simpler, please let me know -- a criticism of some of the 4.1 quick starts was that they weren't quick enough, you had to do various cool things -- like refactoring -- that weren't essential in getting from point A to point B. Here they are:

  • Quick Start for Web Applications. A really simple scenario (essentially 'Hello World') during which you go through the whole development cycle for web applications in NetBeans (excluding testing and debugging), but at the end of which you have an application up and running in either Tomcat, Sun Java System Application Server, JBoss, or WebLogic (although, note that I haven't yet personally used WebLogic myself).

  • Quick Start for Web Services. Two basic scenarios are presented -- either you expose a web service from a servlet in a web application or from a session bean in an EJB module. At the end you have a web service that exposes the word 'Hi' and a client that consumes it, adds a given name to it, and displays the result in a browser.

  • Quick Start for Web Service Clients. Again two scenarios -- (1) consume a web service in a web application and (2) consume a web service in a Java (also known as 'J2SE' or Swing) application. The first web service returns a quotation while the second extends the IDE's Anagram Game sample by unscrambling its anagrams (when you click Cheat below, the scrambled word is sent to the web service, unscrambled, returned and displayed in the client, and checked against the Anagram Game's hardcoded solutions):

Note that these quick starts are drafts. There are still a couple of open issues -- especially in the area of web service support for Tomcat and JBoss (but see here for a solution).

Even though the tutorials are not complete, they present a really good picture of what NetBeans IDE 5.0 will have to offer you. You'll need to use a recent dev build, of course -- go here to download one. Comments, as always, very welcome!

Join the discussion

Comments ( 3 )
  • Lukas Hasik's Weblog Wednesday, September 21, 2005
    [Trackback] It's so simple to create a client that connects to a web service with Mobility Pack for NetBeans 5.0 I needed less than 5 minutes to create simple client.
    Steps in latest q-build of mobility:
    Have a j2me project
    'New File/Folder' then 'MI...
  • neelAgoleg Thursday, January 12, 2006
    I can't unscramble that. can you help?
  • Geertjan Thursday, January 12, 2006
    Hmmm... sure, but what do you mean exactly?
Please enter your name.Please provide a valid email address.Please enter a comment.CAPTCHA challenge response provided was incorrect. Please try again.