
| If you missed it - NetBeans IDE 6.9.1 is out and available. The latest version includes support for JavaFX 1.3.1 and the JavaFX debugger, performance improvements integration a number of patches. Available are release notes, installation instructions and the most recent tutorials. Also noteworthy is the release of Java SE 6 Update 21. Java SE 6 Update 21 includes the latest version of HotSpot (17.0), VisualVM 1.2.2, improvements in applet/application security and a number of bug fixes. Available are release notes and downloads for JDK and JRE. |
| There is an interesting article, Rich Applications for Billions of Devices: What's New in LWUIT, which highlights the Lightweight User Interface Toolkit. There are some interesting examples of UIs constructed using the LWUIT. Also shown is the LWUIT Theme Creator which is a tool for editing and creating themes and resources. Finally, the article shows how Java ME can leverage LWUIT. |
Here are five dynamic languages that have support in NetBeans. You are probably familiar with the fact that NetBeans provides support for a large number of languages - Java, JavaScript, PHP, Ruby, Groovy, C, C++, JavaFX, Fortran and others but here are five languages that you may not have know that have NetBeans implementations -
|
| NetBeans IDE 6.9 is released and is now available. There is a video guided tour of NetBeans 6.9 which you can find here. Additionally, there are a number of new videos covering the new release - If you want a quick snapshot of the feature list, you can find it here. All the 6.9 tutorials are here. Also available are installation instructions and release notes. If you are into building RCP applications - you can find the NetBeans Platform overview here. You can find NetBeans on twitter as well. There will be the usual mad rush to download it - it is right now a slow download. |
| ||
| Post-Post. One more point - Tomcat has apparently come under attack from competitors - you can read about some of this here. I will make the point that Tomcat is really quite good - not for everything but generally you can find it being the workhorse for a huge number of sites. There are however two sides to this argument. I learn a lot from listening to both sides and reading the comments. Worth reading and relating to GlassFish versus Tomcat characteristics - you can read, Scaling Your Java EE Applications and Tomcat Today, GlassFish Tomorrow. You can find other comparisons. Since we are talking about Tomcat - check out the article, How To Scale Tomcat in the Cloud with RabbitMQ and JMX. |
Graphics libraries are the spice of desktop application development. One graphics library in particular is genuinely interesting if you are building applications that make use of icons and movable objects. It is designed for a general visualization with support for graph-oriented modeling. This is another of NetBeans well-kept secrets - the NetBeans Visual Library. If you want to see the Visual Library in action there are a number of examples which you can download and you get both the source code and a demo. The examples range from creating a simple composite widget to creating card layouts to creating interactive, animated, and custom widgets. Check out the large number of examples at the NetBeans Visual Library Examples site. There are a number of tutorials which help you move
| ||
| Post-Post. In case you wonder where to get it ? The NetBeans Visual Library is simply part of NetBeans Platform. Incidentally, after I posted I realized that I forgot to point out this nice tutorial and an example of someone who has written a way to visualize SQL scripts and finally - you can find much more at the Platform page. [Apologies for yesterday's link problem - it seems a couple of links were broken] |
| ||
| Post-Post. Note - that there are two aspects to GlassFish. One is the GlassFish Server Open Source Edition and the other is the Oracle GlassFish Server product. The versioning for both is rather torturous - there are v2 and and a v3 versions for both the open source and Oracle products. You can find the differences between v2 and v3 here. It should also be noted that there is GlassFish Server Open Source Edition 3.0 which includes an option to create a lighter Web Profile. You can see the details of the "heavy" versus "light" profiles here. Consider the Web Profile to target web apps and dynamic languages - the heavier version contains the full Java EE stack (such as JAX RPC, JavaMail, JAXB, CORBA, etc). |
| In the killer-plugin category. Sometimes something suprises you in a really, really good way. If you use vi or vim and you like it and if you use NetBeans and like it ... walk don't run to the jvi plugin . One thing I notice - it has really become much nicer and better integrated into NetBeans than it used to be. Usually the people that like this are Unix (or Linux) developers - but vi(m) has also seen its way to Windows. I started to use the plugin a while back and it was not quite there. This time I download it and it seems to integrate very nicely into NetBeans. You can get an introduction at the the jvi in NetBeans Introduction site. It feels *fast*. You can download it here. | ![]() |
| Post-Post. The nice default editor found in NetBeans is actually quite good but I struggle with it because my Unix-nature (and as a result my vi-nature gets in the way. There are probably implications to replacing the native editor - there are a wealth of add-in editing plugins like HTML Mark Occurances, rectangular edit, etc and it has out-of-the-box a lot of nice features. I have to say though that I am gratified that the NetBeans code assistance features work and syntax highlighting works nicely with the jvi plugin. More comments here in the next few weeks on this editor. |
| NetBeans IDE 6.9 Release Candidate 2 (RC2) is available. It is available at the download site. Release Notes can be found here. Installation Instructions can be found here. Updated Tutorials can be found here. There are considerable additions. The New and Noteworthy Site explaining all the latest features and updates in 6.9 can be found here. One very interesting feature is the ability to run a terminal emulator within NetBeans - I had not seen this before but it seems like it could be very useful to me. Details on this can be found here. | |
| Post-Post. Incidentally there is a new tutorial on Using the Annotation Processors Support in the NetBeans IDE. NetBeans IDE 6.9 introduces built-in support for custom annotation processors. It is now easiler to add annotation processors to your project. You can see the results of annotation processing directly in the NetBeans IDE's Java Editor through code completion and navigation. |
BlackBerry is one of the premier Java-based mobile platforms. I've been seeing a fair bit of traffic looking at some of my past posts on doing Blackberry software development using NetBeans [ 1 2 3 4 ] and at first I thought it was simple interest - but I was wrong. Hinkmond set me straight There is a contest in BlackBerry land. Check it out here. The official site for the contest is here. The winner wins $25k. Hmmm...not a bad first prize. All you have to do is build a super app. And you can find what a super app looks like here. Here I will do a little of the legwork for you on updating you to what has changed. There are some new resources for the BlackBerry. First, the Plugin. Let start with the contributed plugin RIM BlackBerry Plugin, which was last updated on March 25th 2010 - so it sound pretty au current. There are a couple of sidenotes to look at [1]. Integrating BlackBerry Emulators Into NetBeans. There is a very nice article detail emulator integration into NetBeans here. The author goes into some detail about integrating the BlackBerry 9500 and 8530 into NetBeans (I do note that two readers had issues). Further Details Of Plugging in BlackBerry Platform Into NetBeans. You can find a fairly lengthy thread about plugging in the BlackBerry Platform into NetBeans. Lengthy Oracle Tutorial. NetBeans Mobility. There is another tutorial (NetBeans 6.1) that goes through configuring NetBeans. While we are it - check out the Java ME Mobile Technology Trail which will be useful to you at the NetBeans document site. | |
| Post-Post. People love NetBeans (like this person). Even when RIM puts out their Eclipse version and their own development tools - people integrate them into NetBeans so they can use the NetBeans toolset. For completeness it should be mentioned that RIM has their own software development tools at their BlackBerry developer site. These tools include a BlackBerry Java Plugin for Eclipse and the BlackBerry Java Application Development v5.0. They have a webcasts on BlackBerry Development and a Gettng Started one. Two other resources - a BlackBerry Web Plugin and a BlackBerry Widget SDK. Finally - check out the Java Application Development site which features an overview and details of advanced features, the Push Service, development tools, learning resources ad support and check the Getting Started part. |
| I've been curious about CouchDB for a while. It seems that everytime I wanted to spend time looking at it - something got in the way. This weekend nothing got in the way. There is a relatively new O'Reilly webcast, Introduction to Apache CouchDB, that goes through some of the benefits of Apache CouchDB. Good introduction for me. Another related talk is Mike Miller of Cloudant's webcast, An Intro to CouchDB. What draws me to CouchDB is the offline mode - something also experimented on JavaDB. There are some useful tutorials here, here and here, I'v discovered also Planet CouchDB to stay tuned. | ![]() |
| Post-Post. Having looked at it, I'm interested and I'm forced to download it and learn more about it. And so the learning journey on CouchDB starts with loading it on my Mac. Also note that if you are interested in the combination of Grails and CouchDB - check out the Grails CrouchDB plugin. |
| I've taken some time off from blogging but I'm back. Between traveling and a new job, I've been a bit pre-occupied. However, lately, I've been spending alot of time looking at Java performance and as a result have spent considerable time looking at VisualVM, JConsole, JMX and an assortment of tools. One aspect, I found interesting was that VisualVM has a plugin architecture. I've been spending some time looking at the BTrace plugin. You can read more about it at the BTrace page - "BTrace is a safe, dynamic tracing tool for the Java platform. BTrace can be used to dynamically trace a running Java program (similar to DTrace for OpenSolaris applications and OS). BTrace dynamically instruments the classes of the target application to inject tracing code ("bytecode tracing"). Tracing code is expressed in Java programming language. " Since some of the systems I use are running OpenSolaris at home and many use Solaris at work - I found this particularly interesting. Between DTrace and BTrace these two tools are probably one of the best reasons to use Solaris-based architectures if you are developing or deploying software. It becomes possible to thoroughly know what is happening through your application and on down through the stack and down to the metal. My understanding is that Windows also has architectural hooks to do this kind of thing - I haven't but will look at that in the future. There is a basic BTrace guide and a BTrace plugin via the VisualVM Plugin Center. I also have spent a great deal of time with DTrace - you can catch some nice reads on it - here and here and here. The fact that you can inject BTrace scripts into a running app and query it for various bits of information is incredibly useful. | |
| Post-Post. Oh, and if you start using VisualVM don't forget the Visual GC Plugin and the MBeans Browser (also via the VisualVM Plugin Center in the tool). And lastly, VisualVM is included with the Sun JDK. |
| Quite a while back, I asked myself - why Apache Harmony ? I mean really, there was Sun OpenJDK, who needed yet-another-JVM that was (or so I thought bound to be ) slower, have less of the feature set implemented and lag on some platforms. Okay - that was then, Sun was commited to open source projects, every week saw another build of some open source thing or other and the world was (let's face it) a better place for open source. Today, Sun for all practical purposes exists in the corporate history books only. Yes, I hear the ads on NPR for Oracle software and Sun hardware (complete) and I think first about Daniil Kharms red-haired man story, then I think ... wait, wait - what about all that Sun software. Oracle has moved in (figuratively) to their new Sun home and changed all the furniture - throwing out quite a few good things. A real pity. So it's the then and now part that today gets me. In the old Sun days many of us were blind to the possibility that Sun would not exist someday. In this context - Apache Harmony is an absolute necessity in the Post-Sun world. No question. Other people, at that time were much wiser than I about that possibility. What is the future of the OpenJDK project ? I'm sure it is a good one, but it is only one project - what if Oracle decides to demonstrate the same lack of, shall we say, kindness and openness it that it has shown the OpenSolaris project ? Then what ? Can't happen, I hear some say. Oracle has been very quiet about the future of the Sun JVM and JRockit - although it has been stated (also here) that there would be one Oracle JVM in the future. What does that mean for the OpenJDK project ? Really ? Well, let's not bet on it. If something like the vagueness about what been happening around OpenSolaris happens to OpenJDK then I see a fork coming. Yes, except a compatible fork has already happened in the form of Apache Harmony. It would be nice to see two forks, if our worst fears come to pass - one of OpenJDK and the continuation of the existing Harmony one. If not then I think Harmony is quite important to sustain a balance in the Java ecosystem. Thinking in reverse to what I imagined 48 months ago - I think competing and cooperating open source JVM implementations would make for a better future for Java. | |
| Post-Post. As it turns out - Harmony has come a long way and offers JREs, JDKs and HDKs for Linux and Windows. The performance is becoming competitive with Sun's JDK. Though I continue to use the Sun Java JVM implementation - I have looked at Harmony and foresee a day when I would use it - maybe sooner if my worst fears are realized. The only problem for now is - no OpenSolaris version is available (unless you want to build it). Tangentially, I have to say that the OpenSolaris project offers a number of more interesting features than what is found in Solaris (not surprising as it offers cutting edge projects) which you can read about on the OpenSoalaris.org site or on PlanetSolaris. |
| I haven't blogged for a while. First, I went to China for almost a month and managed to simply relax and avoid anything that resembled work. Upon returning I got caught up in a number of things that pretty much have taken up all my time. A lot has happened. Some of the coolest things have been around NetBeans Rich Client Platfrom (RCP) adoption. Clearly, JavaFX has not taken off the way Sun would have liked - one reason I blogged about before was just how broken JavaFX was in terms of two-way interaction with Swing and not being able to use it within the context of Eclipse or NetBeans RCP. Well, some of that is changing because the NetBeans guys have now made that possible to code a NetBeans JavaFX module. Check out, NetBeans Platform Development in JavaFX!, which provides some nice details. Geertjan has really been highlighting a tremendous number of NetBeans platform applications such as those from Raytheon, an open source math suite, a biochemical Network simulation and analysis environment, database design software (DbWrench), jMonkeyGame development platform, Visual Thesaurus, Radio Propagation Simulator and lots more. In another cool development - it is now possible to do Java ME programming on MacOS X versions of NetBeans - check out NetBeans Mobility 6.9 for Mac OS X. |
| Oracle did something surprising (at least to me). Given the choice of doing the staid status quo or doing something that would creatively widen their view - they picked the latter. Excellent news. In a video out of Oracle, Ted Farrell, Chief Architect and Senior Vice President clearly spells out Oracle's plans for NetBeans. I have to say - I'm delighted to see them doing the right thing and making their entire developer tools strategy much stronger as a result. Todays announcements from Oracle indicate that NetBeans will be enthusiastically embraced (my words, you tell me if I'm wrong after watching the video) by Oracle. The cross- pollination that I had hoped would happen seems to have started. Oracle is talking about bringing the Matisse UI Builder into JDeveloper. The video explains what's happening with NetBeans and the news is great. Check out the video "Oracle + Sun : Java Developer Tools Strategy". On the surface, this is great news - lets look forward to more positive developments in this space. [ thanks to Toni Epple for the pointer] |
| If you are learning Groovy and Grails or simply want to be up-to-date on the what people are doing with Groovy/Grails and you may moaning about the lack of a e-magazine - you may be interested in knowing that there is an excellent resource that fits exactly that model. Rather than simply getting books on the topic (which are typically slightly dated) I have started getting GroovyMag. Yes, sometimes knowledge costs you - but then it is well written and provides a slew of information. For example the January edition includes Groovy Combinator Parsers, Groovy Meta- Object Programming andmore. The December edition covered using JNDI with Grails, building a Grails portal, interviews with the people behind the Grails podcast and more. You can get various editions (if you missed them and ) if you specifically see a topic of interest. While we are on the topic of Groovy and Grails. Check out the Grails podcast. | |
| If you are interested in embedded systems, smartcard technologies and solutions around them, then you should be interested in a new article, Deploying Servlets on Smart Cards: Portable Web Servers with Java Card 3.0. Java Card 3.0 allows developers to create and deploy servlet apps on smart card devices. This article shows the differences between Java Card 2.0 and 3.0 and it shows you how to get started with the Java Card Connected Development Kit. The article provides a small example that shows Persistence. The web site for the Java Card Development Kit provides the development kit and you can read more about Java Card Technologies here. You can read more about Java Card 3 in this article, Java Card 3: Classic Functionality Gets a Connectivity Boost. |
|
| ||
Here are eight changes in the conversation stream that I expect to see in 2010. These conversation changers will alter what we talked about in 2009. That doesn't mean the 2009 topics of conversation disappear or becomes less relevant - just that the conversation changes and popularity of the 2010 topics are or I think will be on a steep rise and some of them may even eclipse those of 2009. However, many of them are simply a shift in the momentum of competing technologies. Here are changes that I foresee happening :
JavaOne/Devoxx. Okay - everybody seems to be talking about the fact that the JavaOne traditional call-for-papers has come and gone. Amazingly, without a word from either Sun or Oracle - which I find amazing. If it is Oracle's intention to merge it in to Oracle World - good luck. I see Devoxx as the new JavaOne if they do such a move. I don't think that's a bad thing at all. It is sad for me to see the demise of JavaOne - I've gone to almost every single one of them - but I think Devoxx is a really good replacement for it. | ||||||||||||||||||
| ||
| ||||||||||||||||||||||||||||||||||
| ||
|
| NetBeans IDE 6.8 Release Candidate 1 is now available. You can download it from here. The Release Notes are here and the Installation Instruction can be found here. There is a number of recent tutorials you can use to learn more. |
| If you missed it - there is a nice new NetBeans tutorial, Generating A JavaServer Faces 2.0 CRUD Application From A Database. In this tutorial, you use the NetBeans IDE to create a web application that interacts with a back-end database. The application allows you to view and modify data contained in the database - otherwise referred to as CRUD (Create, Read, Update, Delete) functionality. It uses JavaServer Faces 2.0, Java Persistence API 2.0 and EJB 3.1. The IDE provides two wizards which generate all of the code for the application. It walks you through creating the database, examining the database structure, creating the web app project, generating the entity classes from the database, generating the JSF Pages from the entity classes, exploring the application and much more. | ![]() |
| One really nice NetBeans application is BlueMarine. It shows what you can do with the NetBeans platform, NetBeans Visual Library, Swing, SwingLabs and wealth of graphics APIs. Fabrizio Giudici gave an excellent talk which is on Parley's and which is now available. If found that the talk a lot insight into how he created what is one the most visually rich platform applications available. It covers a lot of territory about the creation of a NetBeans platform app and quite a bit more. It provides greater functionality than I've seen from any of the RIA (JavaFX, Flex and SilverLight) applications - probably because it provides a real application with a multitude of features. You can watch the video session at Geertjan's blog. (Thanks to Geertjan for the pointer) | ![]() |
| While Oracle has provided some vague plans about NetBeans - a very cool SQLBrowser IDE for Sybase Transact-SQL has emerged. The IDE is built on the NetBeans platform. There is a nice article describing the effort here. The SQLBrowser IDE's main objective is to help understanding complex stored procedures. In the IDE you can open a stored procedure and it provides a visualization of the call tree and the tables read and updated. Check it out here. You can download it here. The interview provides a nice description for others (say large database companies) to learn from this effort. |
| ||||||||
about why the best of possible worlds would involve Oracle building on top of the platform and moving JDeveloper's Oracle functionality over to NetBeans as Platform modules. It's not like we are talking a huge technology bridge - say like moving to an alien, native API - no both NetBeans and JDeveloper are built using the Swing toolkit. Get with it, Oracle. Move your developers to a great Java Platform solution and and the best IDE available. [Update : I found this out just now, yet another very recent adoptee of the NetBeans Platform, is NASA. You can read the details here .]
| ||||||||
|
|