JPA is a very good tool for simplifying the task of performing queries
and updates to a relational database while keeping the Java code as
much object oriented as possibile; but one of the tasks that are not
covered is the standard
maintenance of the database, such adding or dropping
columns from an existing table, or renaming a table or a column because
something has been changed in the...
on May 29, 2008
This is the fourth in a series of posts on creating a Java database application. In my last few posts, I started with skeleton code generated by the IDE and provided my own customizations, including adding a dialog to use for data entry and binding those fields with a table on the main form. In this post, I finish coding the connection between the dialog and the main form. I'll also add an Edit...
on May 27, 2008
Continuing from my last post, I'll show the next steps in the creation of this simple (but not too simple) client purchase application. This time, our main focus is in creating a separate dialog which we will use for data entry. We'll need to do a few tricks so that input from the dialog is propagated to the main form and then the database.
But first we'll need to clear up a few loose ends. As I...
on May 21, 2008
on May 20, 2008
Netbeans is well known for beeing a great IDE for developing Java SE, Java EE, C++, Java ME, Sun SPOT, Ruby on Rail, PHP, Groovy, ... but NetBeans has more to offer when it come to developing highly modular desktop applications. The desktop application can be from any possible category like Business oriented, scientific, utilities, development tools, entertinement, etc. You can find a list of...
on May 20, 2008
Recently I've found time again to work on actual tutorials. I don't have anything written yet, but I have something resembling a plan, which you can find here: http://wiki.netbeans.org/PlanGuiBuilderDocImprovements.
Over the next few weeks, I'll be blogging about creating a Swing desktop application with database connectivity. These postings will essentially serve as a rough sneak preview of a...
on May 13, 2008
The NetBeans community approved and released NetBeans 6.1 last week. That's right before JavaOne 2008. That's convenient! And of course, some of the JavaOne demos have NB 6.1 running in the background. If you're at JavaOne, you can't escape it. NetBeans 6.1 is here.
The latest NetBeans 6.1 has improved in these areas:
CRUD support for quick...
on May 6, 2008
The ability to drag and drop has been a staple of desktop applications for years. With the advent of Ajax, the ability to drag and drop has now found its way to web applications. In this entry I spice up the blogging application we've been building with the ability to drag comments to the trash. This is an appropriate feature to add as our own blogs here on java.net have been prone to spam...
on Apr 18, 2008
Actually, I don't know what this feature is called, but I love it when a web application gives me instant feedback on the validity of my entry. For example:
This is especially true when I'm registering a new user account - submitting the page over and over again because the username I've selected is already taken or the password doesn't meet the requirements is always a drag.
on Apr 16, 2008
NetBeans (6.1) Page Flows may be a small step towards Model Driven development: Read more here.
on Apr 14, 2008
We shot some video on our recent whirlwind tour of South America. This fun video shows one of our adventures. What do technology evangelists really do for a living? Ride in taxis and buses, of course!
BTW, the video editing and post-production was done by my good friend and music buddy Doug Finn (douglas dot finn at gmail). He is a supremely talented video editor, actor, director and...
on Apr 11, 2008
Recently I mentioned a potential problem when saving source files in a non-Unicode charset encoding. The potential data loss is significant for large projects. After thinking about the problem a little more, I have a potential solution, a solution that allows you to save to a non-Unicode encoding but also prevents data loss.
You are familiar with \u notation for non-ascii characters in property...
on Apr 5, 2008
A long time ago I have developed a plugin to NetBeans to graphically configure netbeans.conf file. The plugin is "NetBeans Startup Settings".
Use the comments' section to give feedback. Or send me an email claudio @@ dev.java.net
NetBeans plugin portal page
project page at javaforge.com
NetBeans Plugin information
Currently to add or change any NetBeans parameter (font size...
on Apr 2, 2008
Well, this is the sound opinion of a person who has been using it for years. There's no history: Eclipse is just the best tool of its class. I've tried some alternatives, but nothing allowed me to operate quickly and having such a clean result as Eclipse did. Just nothing. And if you're in pain, trying to deliver when operating in the field, maybe in a problematic environment, Eclipse just gets...
on Apr 1, 2008
makes it a snap to build Rich Internet Applications (using...
on Mar 31, 2008
I'm always happy when a company or product adopts Unicode as its charset. I think it makes perfect sense to do so. There are lots of good reasons why standardizing on Unicode is the right thing:
the data charset can represent all modern, useful -- and many not-so-useful -- scripts
charset consistency helps prevent data loss across application boundaries, including those among application,...
on Mar 30, 2008
Well, as an exceptional case I'm going to blog here in italian. The point is that we have an italian mailing list for NetBeans, so it's a pretty local interest.
Dunque, o voi tutti utilizzatori italiani di NetBeans, abbiamo finalmente una mailing list in cui possiamo scriverci nella nostra lingua madre. Questo strumento mi Ã¨ stato chiesto da alcuni di voi durante i NetBeans Days tenuti nello...
on Mar 21, 2008
The NetBeans team has started a blogging contest. Simply download the NetBeans 6.1 Beta and tell us your thoughts. What, you're not a blogger? Well, here are some places to get started:
See the blogging contest web site for details on how to enter, ideas for your blog, rules and deadlines.
on Mar 18, 2008
6.1 Beta was released last week. Amongst the many
improvements, one of them is the bundled JRuby 1.1 RC2 and Rails 2.0.2. The jMaki plugin used
to work fine with Rails 1.2.3 but need to be updated because of changed
file name extensions for the default generated views (".rhtml.erb"
instead of ".rhtml"). With this release of NetBeans, jMaki plugin has
been updated to work in this...
on Mar 12, 2008
A quick feedback from the IDE Day in Genoa, waiting for the other IDE Day in Rome to be over before posting a final report. Well, the day in Genoa was a success: while I don't have gotten yet the official data, there should have been 130+ attendees, which is very good. The talks by our guests from IntelliJ, Oracle and Sun were of very high quality, as expected; and the large number of questions...
on Mar 12, 2008