Hi,
After presenting to you, a cool tip on "Troubleshooting the NB Startup", now I would like to present to you, another cool tip, thats based on NB Startup, again!
As you may see, in the above figure, its the Netbeans UserDirectory (.netbeans) on Windows. Yesterday, I upgraded my system, the main focus being, the upgradation of the Hard Disk, I replaced 40 GB Ultra ATA Seagate, with 160 GB Ultra ATA Seagate.
I had all my important data in the 40 GB Hard Disk, so I got all my important data copied into the new Hard Disk, inculding the all important .netbeans directory. Why I am saying its important, because I had recently installed the ClearCase and Developer Collaboration modules, and I didn't want to loose it...
Why should I download and install it, again & again? I am glad, this time I had the solution...Watch the above figure, its booted using the settings in the above mentioned .netbeans/6.1beta directory. It looks like you are booting newly installed NetBeans IDE.
Here, you may see, Mercurial under Versioning menu, surprised?? Well, you should be, because its being bundled with NetBeans 6.1 Beta IDE.
Firstly, Install the NetBeans IDE, goto the .netbeans directory, you would see the directory 6.1beta, cut and paste it, on the Desktop or somewhere else. Now, locate the .netbeans/6.1beta directory which has the settings for the previous installation of the same NetBeans IDE.
Now, copy that and paste it, under the current .netbeans directory (see above figure), and launch the NetBeans IDE, you would now see the same NetBeans, which you had in your other Hard Disk...
In the figure below, you may see the ClearCase and Developer Collaboration module, I was talking about.
Try this out, it would really help you a lot.....Any suggestions/comments?Submitted at Dzone - http://www.dzone.com/links/troubleshooting_netbeans_startup_again.html
Some plugins (such as Prolog, Jalopy, Groovy, Scala) do exist but they are not on the default update center yet. Inspired by Roumen's blog I added an FAQ entry about how you get access to plugins while they are still in development or, generally, just not quality-tested yet (so use them "at your own risk".)
So here's how to add development plugin centers, hope it's useful to someone out there!
The Common Palette associated with HTML editor has been improved a bit - now it's possible to drag any text and drop it in the palette window to create a new custom code snippet:
Other editors will follow soon. Adding such support to your own palette is quite easy. Just override org.netbeans.spi.palette.DragAndDropHandler
and let it handle everything:
class MyDragAndDropHandler extends DragAndDropHandler {
MyDragAndDropHandler() {
super( true );
}
public void customize(ExTransferable t, Lookup item) {
}
}
...
PaletteFactory.createPalette("_path_to_my_palette_root_",
new MyPaletteActions(),
null,
new MyDragAndDropHandler());
One of the many nice people I met at JavaOne was Mark Stephens, from IDR Solutions. Mark and a colleague did a very interesting BOF about how they created their JPedal viewer plugin for each of the main IDEs (i.e., IntelliJ, NetBeans IDE, and Eclipse). He highlighted various things that were cool and not so cool about creating plugins for each of the IDEs. One of the things he told me was that the "Build ZIP Distribution" menu item on the project node of module suite projects is confusing. He had expected to be able to choose that menu item and then get a ZIP file containing all the NBMs in the suite. Instead, the menu item resulted in an application being created, i.e., including a launcher and a bin folder and so on.
However, Mark's usecase was different: his suite contained a number of different modules which he wanted to upload to the Plugin Portal. However, one can only upload one file to a new Plugin Portal entry. Either one uploads one NBM file or one ZIP file. Mark, having multiple NBM files in his plugin, thus chose "Build ZIP Distribution" on the suite project and was disappointed/confused to discover that he was then prompted to make the suite an application after which he still didn't get his NBMs zipped up into a suite. As pointed out above, the purpose of that menu item is different to what Mark had expected. Therefore, I created a plugin today that provides this functionality:
Get it here:
http://plugins.netbeans.org/PluginPortal/faces/PluginDetailPage.jsp?pluginid=9296
I think everything is explained on that page. The menu item is only shown for module suite projects. The ZIP file is created via an Ant script that is created in the tmp directory and then removed after the target has completed. The Ant target simply runs the "nbms" target, which every module suite project has, thus creating all the NBM files into the build/updates folder and then picks up all the NBM files in that folder and ZIPs them up. (The only problem is that I can't put the menu item higher in the contextual menu, because ideally it would appear right beneath the existing "Build ZIP Distribution" item, but currently that's not possible.) If you are a NetBeans module developer and are interested in how all this is done, click here and you will get the Action's source file. (Click here to see the related layer file.) Comments/critiques/feedback on this functionality is/are welcome.
Today on NetBeans Zone. Two NetBeans Keyboard Shortcuts That Will Change Your Life (Forever)

Hi all,
A lot of people are using NetBeans 6.1 already, and I think you'll agree that the IDE has come a long way. NetBeans is much bigger than the product that ships: the Plugin Manager makes the IDE more powerful. It's easy to use and fast too.
The first time you visit the Plugin Manager (Tools > Plugins) you might be a little overwhelmed by the number of possibilities. The Plugin Manager has several tabs, each with its own function. The one you'll probably end up using the most often is Available Plugs.

Here you'll find a lit of all plugine you can install. It's like walking though a big department store, but it's all free. The search tool in the upper right=hand corner is great for filtering down the plugins to exactly what you want.
Select the plugin you want to install and click Install. You'll have to agree to terms and conditions, of course, and you might even have to restart the IDE, but when you're done, your already great IDE will be even greater.
If you've been doing any NetBeans 6.1 tutorials, you know that in order to do some tutorials you need to install certain plugins. If you haven't done any tutorials, check out the Plugin Manager first and get to know your way around.
Cheers!
--James
Since I'm back to work from my JavaONE "vacations" :-), I'm constantly asked whether it was worth to attend to JavaONE, or not. Actually it is impossible to answer the question in general - the answer is highly dependent on your motivation. In case you are constantly reading blogs, JSR-specs and books, the majority of the technical sessions will appear as "common sense" to you. However, I choose some topics, in which I'm less interested in general - and learn so a lot. The technical session are more formal and "unidirectional", however BOFs are really great. I had the chance to discuss some clustering techniques with openMQ, Glassfish engineers and discuss new features in the EJB 3.1 spec. Even at the day "zero", the "Glassfish Unconference" was less spectacular, but you could directly ask specific questions to engineers and discuss issues and future directions.
However, if you expect to learn bleeding edge technologies in the General Sessions / keynotes, you will be probably get disappointed - it's better just to enjoy them. E.g. the announcement of Java FX wasn't a huge story, but the Ken Russel's presentation ("dragging out applets") in the first technical session just afterwards really was.
For me JavaONE is the unique opportunity to associate an email-address with a face, as well :-).
JavaONE is known for the parties as well - however they are mostly parallel to the BOFs. Even the After Dark concert was concurrent to some BOFs. So having fun, or learning a lot - it is your decision, however in both cases: Sleeping will be optional.
From my perspective: it was worth - it is actually the one and only conference which I fully (the whole week) attend. See you hopefully at JavaONE 2009!
...Now built Pragmatically, end to end...
Some folks may recall that I had done some work to make the Sailfin build for the tooling a bit more pragmatic. With the hustle and bustle to prep for JavaOne, completing that work got delayed.
But, now that work is done....
What does that mean to users? A lot, I hope.
Now, folks will be able to get their hands on tooling bug fixes quick and easy. The Sailfin project's nightly build will have the latest and greatest tooling, without nasty manual intervention.
Ah! A smooth running pragmatic build process... It smell like victory! Or was that Teen Spirit.... Hmmm.
I have been following the development of Tapestry 5 closely for the last couple of months, and I even got the first Tapestry 5 book that came out. I'm a big Tapestry fan, and I've been looking forward to the new Tapestry 5 release. I even lucked out and had a chance to talk to Howard in person:
One of the cool things that keeps drawing me towards Tapestry is the goal to make it really easy and intuitive to work with. One of the goals that I remember hearing for Tapestry 5 was to make it that easy, that it would compete more w/ Grails & Rails and not so much w/ traditional Java Web app frameworks (e.g. Struts, Struts2, etc)
However, when I first took a look at Tapestry 5, I was a little disappointed by the six line Maven command that one had to type in when starting a new project (e.g. see http://tapestry.apache.org/tapestry5/tutorial1/first.html):
mvn archetype:create
-DarchetypeGroupId=org.apache.tapestry
-DarchetypeArtifactId=quickstart
-DgroupId=org.apache.tapestry
-DartifactId=tutorial1
-DpackageName=org.apache.tapestry.tutorial
Compare that with Grails:
grails create-app
Welcome to Grails 1.0 - http://grails.org/
Licensed under Apache Standard License 2.0
Grails home is set to: /usr/local/java/grails
Application name not specified. Please enter:
FooApp
---------------
[propertyfile] Updating property file: /home/polrtex/temp/FooApp/application.properties
Created Grails Application at /home/polrtex/temp/FooApp
It is true that one doesn't create an application all that often, and copy-and-pasting
these initial 5-6 lines would not be that big of a deal. However, for a newcomer, the Tapestry 5 experience has to be really smooth and starting a new app should be a breeze.
So, you would say, what does this have to do with NetBeans ?
Here it comes. As usual, NetBeans rocks everyone's socks, by lowering the entry barrier into starting an application. Here are the first steps (equivalent to the first two pages of the Tapestry tutorial : http://tapestry.apache.org/tapestry5/tutorial1/env.html). Here is what you need to do:
( Assuming that you already have a good install of NetBeans 6.1).
- Install the NetBeans Maven plugin by going into Tools -> Plugins . Type "maven" in the upper-left corner search box and install the plugin. The result should look something like this:

- Create a new Maven project

- Expand the "Archetypes from remote Maven repositories" and scroll down to find the Tapestry5 quickstart archetype . You might want to pay close attention to the description and select the latest archetypes (in my case, for 5.0.11)

- Now that you have the nice wizard, fill out the configuration attributes to specify the group id, the location of the project, the name of the project, etc.

- When you hit Finish, Maven will start downloading all the dependencies and setting up your project.
- Your new and shiny project is ready to go. Go into the project Properties and select your desired server to deploy to:

- Run the project from the project context menu and you're up and running !!!!

One very cool option that makes the Tapestry 5 setup almost identical to the Grails setup is the ability to run the application in Jetty by going to the command line and running:
mvn jetty:run
The upside of doing this is that after you run it, there is no deployment step. Tapestry supports reloading of the page templates as well as the page classes. As a result, whenever you make a change to a page, you can save it, refresh the browser and see the changes . Similarly, when you make a change to a class, compile it and the changes are immediately visible to the application. Such a setup really cuts down on waiting for the app to deploy.
So now, looking back a little bit, this setup is indeed very competitive w/ the Grails setup. In Grails, you would download the Grails distribution, and then would run the "grails create-app" command to create the new project. Grails would then prompt you for some properties (e.g. project name) and you're done. For Tapestry, it's quite similar; however, instead of downloading the Tapestry distribution, you would simply download Maven2 (or in the case of NetBeans, you would install the NetBeans plugin). Even better for Tapestry, if you already have Maven install, then starting a new app becomes a zero cost operation : you just specify the command line args (or better yet, use NetBeans to create the new app) and you're on your way, all dependencies already in place.
So, so far it's a tie between Grails and Tapestry. Grals vs Tapestry = 1:1
Enjoy your shiny and new Tapestry 5 app in NetBeans !!!
So, you missed JavaOne 2008, but you still wish you could have been there. There is a way. There are a large number of videos covering a lot of territory. More....
At JavaOne, the authors of "Rich Client Programming: Plugging into the NetBeans Platform" (Jaroslav Tulach, Tim Boudreau, and myself) did a book signing. Here we all are, being authors at the book signing:
The queue of people wanting their copy of the book signed seemed very long...
...until we realized that they were ALL waiting for the next author's book signing. They'd come early because they knew the next author's queue would be very long. The next author was Josh Bloch, to sign the latest "Effective Java". And he was delayed because he was being mobbed on his way to his book signing. By people wanting him to sign their copy of his book...
The recently released Portal Pack 2.0 has a new feature called Eventing StoryBoard.The Eventing StoryBoard feature in Portal Pack 2.0 simplifies the task of creating portlet application that uses JSR-286 eventing. It provides a simple drag drop feature to link the portlets involved in eventing. Automatic code generation functionality in the storyboard adds the necessary interfaces, methods and xml elements needed during eventing.
Here's a tutorial contributed by Sriram K, which explains about JSR 286 eventing using Eventing StoryBoard
http://portalpack.netbeans.org/tutorials/eventing/EventingStoryBoardTutorial.html
There is also a screencast available for the same. Thanks to Hemadri, Anjana, Sriram for their help for this screencast
http://portalpack.netbeans.org/demos/evtstoryboard/eventing-story-board.htm
The GlassFish v2 plugin for Grails is out! See the screenshot from update tool:

You can find more information about this integration, as well as integration of GlassFish with other scripting languages at GlassFish scripting pages, or in the setup instructions.
I got an OpenSolaris CD during the CommunityOne conference and became curious about the content. Instead of trying it out with VMWare,
I decided to evaluate VirtualBox for that purpose and downloaded it during a not so exciting JavaONE's AMD General Session :-).
I was surprised by the size - there are only about 22 MB. The last VMWare upgrade to 6.0.3 was exactly 330 MB.
VirtualBox is very similar to VMWare. It allows you to create an image from a CD, or start an existing one. You can manage and create the virtual drives.
The installation of OpenSolaris was smooth and without problems.
VirtualBox is opensource, and seems to be free. The opensource model could become really important in the future for VM-tools, because of the properietary image format. Right now you have to trust your virtualization vendor - the images are not standardized and not compatible.
I'm not sure about the performance, but OpenSolaris (the CommunityOne edition :-)) runs fast under VirtualBox. So what are the caveats/drawbacks? :-)
Hi all,
Next week we're expecting some very interesting people here in Prague. Some MySQL engineers are coming to our Prague office to discuss further the integration of MySQL into NetBeans IDE. Some engineers from Sun in the U.S are also coming. I'm really looking forward to seeing them and learning more about what is to be done (since there's a good chance I'll be responsible for documenting a lot of it).
It's a pity they didn't come this week instead. The weather outside is gorgeous. Next week the forecast calls for lower temperatures (bot not cold), rain, and thunderstorms.
It suppose it doesn't matter. It doesn't rain in pubs.
Cheers!
--James
The SAW feature in OpenPortal is
intended to offer a generic workflow API, to perform human workflow
interaction with various workflow engines. This generic workflow API
will ship with a default implementation for Java Composite
Application Platform Suite. Currently, the
Workflow API, Workflow Tag Library, Sample portlets, and Tooling
Plugins for developer IDE's are provided in the SAW home page.
In this screencast, you will learn how to:
- Perform human workflow interaction with Java Composite Application Platform Suite workflow engine
- Add SAW plug-in in NetBeans IDE,
- Create a simple web application using the drag and drop features in SAW plug-in
- Create a simple a simple SAW portlet, which lists tasks based on task ID
Let's identify all the PNG files in the JDK's Boot ClassPath. Create a new NetBeans module with an action that has a performAction defined as folows:
OutputWriter writer;
@Override
public void performAction() {
InputOutput io = IOProvider.getDefault().getIO("PNG Images", false);
try {
writer = io.getOut();
io.select();
io.getOut().reset();
Set cps = GlobalPathRegistry.getDefault().getPaths(ClassPath.BOOT);
for (ClassPath cp : cps) {
List entries = cp.entries();
for (ClassPath.Entry entry : entries) {
ClassPath entryCp = entry.getDefiningClassPath();
FileObject[] fos = entryCp.getRoots();
for (FileObject fo : fos) {
cycleThroughKids(fo);
}
}
}
} catch (IOException ex) {
Exceptions.printStackTrace(ex);
}
}
private void cycleThroughKids(final FileObject fo) {
final Thread thread = new Thread() {
@Override
public void run() {
if (fo.getChildren().length > 0) {
for (FileObject oneKid : fo.getChildren()) {
if (oneKid.getMIMEType().equals("image/png")) { {
try {
writer.println(oneKid.getPath(), new PngOutPutListener(oneKid));
} catch (IOException ex) {
Exceptions.printStackTrace(ex);
}
}
cycleThroughKids(oneKid);
}
}
}
};
thread.start();
}
The line in bold above has as its final argument the creation of a NetBeans API OutputListener class, which magically returns a hyperlink for each line added to the Output window, as defined below:
class PngOutPutListener implements OutputListener {
FileObject oneKid;
PngOutPutListener(FileObject oneKid) {
this.oneKid = oneKid;
}
@Override
public void outputLineAction(OutputEvent arg0) {
try {
DataObject dObj = DataObject.find(oneKid);
OpenCookie open = (OpenCookie) dObj.getCookie(OpenCookie.class);
if (open != null) {
open.open();
}
} catch (DataObjectNotFoundException ex) {
Exceptions.printStackTrace(ex);
}
}
@Override
public void outputLineSelected(OutputEvent arg0) {}
@Override
public void outputLineCleared(OutputEvent arg0) {}
}
When a link is clicked, which is an event that a hyperlink implies should be performed, the file is opened in the editor. This is how the hyperlinks look in the Output window:
Upon being clicked, the related PNG file opens in the editor. Not useful in any way, though.
Over the next few weeks, I'll be incrementally posting sections of an extended tutorial on creating a Swing desktop application with database connectivity. The tutorial will go beyond simple database connectivity and show things such as one-to-many and many-to-one relationships as well as how to bind database tables to a variety of GUI components. We'll use a MySQL database that has tables for client info, order info, and countries. There will be a one-to-many relationship between the client and order tables. There will be a many-to-one relationship between client and countries tables.
NetBeans IDE 6.1 Beta blogging contest brought motivation for many bloggers. Many new blogs started and old ones continued to speak about NetBeans IDE.
With the list of top 10 winners the complete list of all participating entries is also published. Some more information which can be deduced from that list is bloggers have also submitted multiple entries for the contest.
These are the participants having maximum entries in the contest:
Tushar Joshi (This blog) 19 entries
Adam Bien 8 entries
Rhawi Dantas 7 entries
Alan M. Feldstein 4 entries
Jacek Laskowski 4 entries
Junji Takakura 4 entries
I have not included many bloggers having 3 or less than three entries. The multiple entries shows the flow of energy happening and the passion amongst the bloggers about using and blogging for NetBeans.
with regards
Tushar Joshi, Nagpur

Hi all,
There's a new tutorial I'd like to tell you about: Using Hibernate in a Visual Web JSF Application. It was written by Dongmei Cao and Ken Ganfield. This tutorial shows you how to use the NetBeans IDE to create and deploy a web application that displays data from a database. The web application uses the Hibernate framework as the persistence layer to persist Java objects to a relational database.
Hibernate is framework that provides tools for object relational mapping (ORM). The tutorial demonstrates how to add support for the Hibernate framework to the IDE and create the necessary Hibernate files to use Hibernate to persist plain old Java objects (POJOs).
After creating the Java objects and configuring the application to use Hibernate, you add Visual Web components to a web page to display the data. To familiarize yourself with using Visual Web components, you may want to read the Getting Started With NetBeans Visual Web JSF Development.
The tutorial is at http://www.netbeans.org/kb/61/web/hibernate-vwp.html.
Great work, Dongmei and Ken!
Cheers!
--James
Hello all,
Its time to give Spotlight again, this time we head to India after a long time! It was way back in December, that we had given spotlight to an Indian contributor. This time around, we encountered Jay Mahadeokar, who is from Nagpur, Maharashtra in India! He's been doing great contributions, all being tutorials. Have a look;
- Using RMS to create Expenses utility for Mobiles
- Opening Images within Netbeans using JAI API
- Creating simple Image Bean using Bean functionality in NetBeans 6.1
- JSF Crud Generator in NetBeans 6.1
Now, time for some rapid fire questions, and his answers are -
What do you do?
I am a student, study Computer Science, in 3rd Year, at Shri Ramdeobaba Kamla Nehru Engineering College, Nagpur, India. I like coding and exploring new technologies.I am an uncompromising Manchester United fan and in free time, I read novels, go out with friends, watch movies...
When did you first start using NetBeans?
I first started using NetBeans about four months ago. Before that I was into Microsoft .Net and Visual Studio (Although I knew very little about these technologies to be frank!). Mr Rohan Ranade, Sun MicroSystems, Banglore, had visited our campus in January and gave a three day seminar on NetBeans and other Sun Technologies. It was he who inspired me to migrate to java and NetBeans, and since then I have started exploring NetBeans and developed a strong liking for it!
What do you like best about NetBeans?
Frankly speaking, I am still a relative newcomer in this area, so me commenting on the plus-es and minus-es of this fantastic IDE, might not be very appropriate. But, still I would try to highlight the main factors that proved to be the catalyst in making me fall in love with NetBeans :-).
1. NetBeans can be considered to be the front runner when it comes to satisfying the notion "The only IDE you need"! And I say that not because it is the tag line of NetBeans. Just look at the range of support NetBeans has offers for software development and you will realize it for yourself.
2. Wide range of robust API are provided for everything that you can think of. Module development support, and platform application development support are my personal favourites!
3. Opportunities for youngsters and students - NetBeans has opened up new spheres for students and youngsters like me and provide plenty of opportunities to contribute through plugins, community docs as well as mailing lists help us to interact with the best in business. What more can a newcomer ask?
Thank you Jay for great contributions! Hope to see more from you!
JavaONE 2008 is definetely over :-(. It was inspiring again. I had the chance to talk to many Sun engineers and exchange ideas, experiences and thoughts during breakfeasts and lunch (compatible with John Gage's idea :-)). I especially enjoyed the BOFs - they went sometimes deeply into the technology and ended in openspace-like fashion. However - after JavaONE you will need vacations - it starts at 8.30 AM - and ends about 11 PM - sleeping is really optional. I even sacrificied the After Dark party this year...
However my flight took about 13h - which is long and borring. As every year I spent the whole time working or writing articles etc. It is always amazing how much you can achieve during this time and how fast 13h actually are. This year, during the flight to J1, I prepared the slides for my lightning talks, short talks and wrote demos for my actuall RIA-talk. Beyond that I read about 200 pages / articles of various Java-Books.
On the way back I wrote whole article about Domain Driven Design with EJB 3 and JPA 1.0 for JavaSPEKTRUM (in German). During the process of writing I recognized that my sample was far less fluent, than actually expected and refactored the whole domain layer (http://p4j5.dev.java.net - RunAndBike). I had the opportunity to charge my notebook in frankfurt, and spent the last hour to munich with the refactoring of the underworld.dev.java.net communication layer.
It seem like without internet, in a boring place you can get really productive. However, you don't have necessary to fly - something like Alcatraz should work as well. No internet, no distraction and no way out. Is this the end of the "Google's Nice Work Place" era? :-)
Hello all,
Its been great time for quite some time, here's another good news, Blogging Contest Results are out! Even though, I didn't finish in Top 10, yet I am hoping against hope, that I would be amongst the Top 100 and win another cool NetBeans T-Shirt! Well, there's another advantage for me, being a college student, I could win something else.....just goto this post, you would know what I am trying to say!
The results for the NetBeans IDE 6.1 Beta Blogging Contest are out. Congratulations to all 10 $500 American Gift Card winners and all other 100 winners who will get a NetBeans T-Shirt.As Janice Campbell mentioned in his latest entry, that 50% of the winning entries were NON-ENGLISH! That really shows NetBeans adoption increasing and spreading across various parts of the World!
By the way, I was the 18th Blogger to submit my blog for review, and it was a special entry too, as I had submitted a link to all the posts that were tagged as NB_601!
Overall, there were 300 blog entries...Wow! Amazing work by NetBeaners, keep it up guys and sure you blog about the latest you explore...
Congratulations! All the Winners... :DHave a Good Day!

The results for the NetBeans IDE 6.1 Beta Blogging Contest are out. Congratulations to all 10 $500 American Gift Card winners and all other 100 winners who will get a NetBeans T-Shirt.
The results are available on the NetBeans Blogging Contest Page.
The top 10 winning posts are as follows:
| Matthew Nuzum | English | Netbeans 6.1 spanks Eclipse and challenges Visual Studio |
| Patrick Julien | English | NetBeans 6.1: The Best just got Better |
| Ding Liang | Chinese | About NetBeans |
| Diego Silva | Spanish | JavaScript en NetBeans 6.1 |
| Wagner Roberto dos Santos | Portuguese | O que podemos esperar do NetBeans 6.1 ? |
| Pat Coleman | English | Can NetBeans create a code-less P2P app? |
| James Eliyezar | English | Subversion and NetBeans - A quick start guide |
| Junji Takakura | Japanese | NetBeans 6.1 RC to use PHP |
| Jacek Laskowski | Polish | NetBeans IDE 6.1 - Spring Framework Support |
| Joshua van Aalst | English | NetBeans 6.1 A Delight To Use |
The list of participating blogs is published in a separate URL.
with regards
Tushar Joshi, Nagpur
JavaOne 2008 is finally over ... 9th consecutive one for me and
extremely busy as always!
- John talked about GlassFish related announcements. Some important names/renames/announcements:
- "Sun Java System Application Server" is now "Sun GlassFish Enterprise Server"
- GlassFish Enterprise Server Unlimited (page coming soon) - Deploy as much as GlassFish Enterprise Server
- GlassFish Initiative for Technology Partners
- GlassFish ESB
- Sun GlassFish Communications Server is the product version of SailFin
- GlassFish v3 Technology Preview 2 was released with NetBeans and Eclipse support
- Other details in John's blog
- JavaU Bonus
Evening Course on GlassFish Application Server - Shreedhar
and I delivered a Bonus
Evening Course on GlassFish in JavaU. We talked about
GlassFish in depth - general overview, concepts, Metro Web services,
dynamic
languages support, high availability/clustering and lots of
other details. The slides for the course are available here.
Read more details in Shreedhar's Writeup. - GlassFish
Unconference - Vivek
and I led the "Scripting in GlassFish" session @ GlassFish
Unconference
and then I led the "Web services" session. It was very free-form forum,
basically answering questions/clarifications from the participants and
seeking feedback on our direction.
It was great to know that people love Metro support in NetBeans and are some are using the IDE for that reason only. - Scripting in
GlassFish (BOF 5111) - Vivek
and I presented on "Scripting in GlassFish"and explained the support
for different dynamic languages such as Ruby/Rails, Groovy/Grails,
Python/Django on GlassFish. This preso showed bunch of demos including
GlassFish v3 gem installation and deployment (screencast coming soon),
GlassFish v3 Update Center, Rails Development/Deployment options,
Groovy/Grails and Python/Django deployment. The slides are available here.
You can find the latest information about support for different dynamic languages on glassfish-scripting.dev.java.net. - Lab 4530:
Building Rich Web Applications with jMaki - Doris
and I delivered Lab
4530: Building Rich Web Applications with jMaki. If you could
not attend JavaOne, then you can follow the instructions
at your own pace and download
the entire lab.
The complete material for all JavaOne 2008 Hands-on-Labs is available here. The material is pretty comprehensive and of high quality. I highly recommend refering to this material for sharpening your skills. - Tic Tac Tac @
General Session Keynote - I
presented "Tic Tac Toe Demo" at General Session Keynote on Tuesday
afternoon. This demo was a multi-player game developed in multiple
scripting languages (Ruby, Groovy and Python) and their associated Web
frameworks (Rails, Grails and Django) and all deployed on GlassFish v3
TP2. The main idea was to showcase multi-lingual support on GlassFish
v3 and still able to use GlassFish features such as GlassFish Comet
to push the events to browser. The entire source code for the demo will
be released shortly and I'll announce the availability.
You can watch the entire video here (starting at approx 1:10 into it). Hope you enjoy the War Games-esque look-and-feel. It was a keynote demo Hat-trick for me (jMaki/Phobos @ 2007, .NET Interoperability @ 2006. I'm happy to be labeled as "GlassFish Guy" :)
I took lots of pictures through out the event and posted them regularly. They are all available here. A consolidated album is inlined:
Hope you had a great JavaOne and we were able to share our current roadmap and future plans with you successfully.
Technorati: conf javaone javaone2008 glassfish netbeans
One of the cool apps showed at JavaOne 2008 is blueMarine. There is a nice video you can see which shows off blueMarine - and there are lots of features to show. The author, Fabrizio Giudici shows you the insides of his app. More...
If you missed JavaOne 2008 - the first aspects of the conference are now being made available. The Hands-On-Labs are also available. You can load them on your laptops and try them out. Also General Sessions are available for viewing. More...
CONGRATULATIONS to all the NetBeans blog contest winners. The exciting news is that submissions were allowed in seven languages in addition to English (Simplified Chinese, Spanish, Portuguese, Russian, Japanese, French and Polish). In fact, there were even submissions in languages not approved in the contest rules, so it's a good sign that people like discussing NetBeans and technical topics in their own language.
Among the grand prize winners were submissions in Simplified Chinese, Spanish, Brazilian Portuguese, Japanese and Polish. That means, of the winners, 50% were NOT IN ENGLISH. So, blog on in your language; you have an audience.
Congratulations to Ding Liang, Diego Silva, Wagner Roberto dos Santos, Junji Takakura, Jacek Laskowski.
A first draft of three JFrets modules installed into the JFugue Music Application Platform:

![]() |
NekoBean's NetBeans Travel
now on NetBeans.tv! Thank you very much Hibiki-san for preparing the
movie! The original flash movie is here. |
Hi all,
I experienced some weird behavior today when I was working on a tutorial for Hibernate. I wanted to generate some getters and setters, so I right-clicked in the Source Editor and chose Insert Code. Nothing happened. I mean nothing. Literally. It should have looked like this:

I tried it again and again. Still nothing. So I did what any other tech writer would do: I tried it another way. I right-clicked again in the Source Editor and choose Refactor > Encapsulate Fields.

Here I was able to get the IDE to generate my getter and setter methods, getting the result I desired.
From what I understand, the problems could have been caused by where the cursor is located in the Source Editor. Since hearing about this, however, I've gone back and tried it again. Sometimes I was able to insert code, other times not.
One great thing about NetBeans is that there is often an alternate way of getting something done.
Cheers!
--James

