os2008.05#3: supporting “another” world and some more devices…
Overall insight of this day: If wanting to use OpenSolaris on a daily basis, I need more disk space; 12 GB isn’t just enough so far…
Overall insight of this day: If wanting to use OpenSolaris on a daily basis, I need more disk space; 12 GB isn’t just enough so far…
The second day of my “working-with-opensolaris” week mainly happened to be a day of almost undisturbed / uninterrupted work, not really reminding me that I am working with a different environment right now, just making me stumble across a few minor things I had to deal with but no “real” problems…
Well, what do you know… Time has passed rather quickly it seems ever since I dealt with OpenSolaris here for the first time, and by now, the first “official” release, 2008.05, is available for you to be downloaded or ordered for free, waiting for you to get it started. And, which possibly comes as no surprise, all of a sudden the web is rapidly filling with all sorts of comments, reviews and “tests” of what might turn out to be the new incarnation of the Solaris operating system one day… Overally, given the fact that OS 2008.05 initially comes as an easily installable Live CD, one is tempted to actually go for a “quick-shot” installation, at very best using some virtualization application like VirtualBox, to then get along with a quick write-up on virtually anything to be discovered in just five minutes of playing around with the OS before attention span has found its end and some other shiny new toy is begging for attention. Given that this hardly is a good and/or meaningful way to making a sane judgement, this time I wanted to try something different: Given someone like me (who has been a Free Software supporter and GNU/Linux enthusiast for the last twelve years at the very least) spends a week doing productive work with a tool next to unfamiliar, what would eventually happen?
“All operating systems include stuff you’ll never use. For example, Ubuntu 8.04 LTS includes an easy uninstall feature.
We know - completely redundant. Ubuntu 8.04 LTS for desktops - you’ll never go back.”
8.04 “Hardy Heron”, the latest version of the Ubuntu GNU/Linux distribution, has been released this week, in short sequence as a server version (supported to 2013) and a desktop distribution (supported to 2011), being the Long Term Support version to follow 6.06 “Dapper Drake” which (at least in our professional infrastructure) has proven to be an incredibly stable and maintaineable platform suiting all our needs. And, looking at it closely, it is obvious that 8.04 has seen an amazing load of work compared to its predecessors, seen both in overall stability, performance as well as in “small” details like the customized Firefox starting page or, as quoted above, a pretty cool marketing / product launch campaign which feels in a refreshing way ironic compared to what other companies tend to do getting their new releases out. Along with Ubuntu itself, there also are new releases of Kubuntu (offered as a “stable” version that comes with KDE 3.5 as well as a “bleeding-edge” version including the infamous new KDE 4), the education / classroom distribution Edubuntu and, of course, my personal favorite Xubuntu, including the lightweight XFCE desktop environment, and being great despite the fact that the default backgrounds in GDM and on the desktop itself just painfully suck. ;) Overally, I have been with Xubuntu 8.04 already for quite a few months, and the last few weeks it has turned out to be a stable and pretty usable machine ready for everyday use, addressing a few issues I had to manually deal with in earlier versions (like using the dual-screen setup on my notebook).
Asides this, however, I am whole-heartedly amazed to see Ubuntu turning into something I haven’t seen that often in GNU/Linux community the last twelve years: It seems to be a distribution which gets more and more approved by both community and companies / commercial providers. Maybe the “open” nature of Ubuntu and the fact that there are predictable, long-term supported releases is something that pays off in the end to help this distribution gaining acceptance all around, becoming a “real” all-purpose (including desktop usage) distribution without throwing away most if not all of the GNU ideas.
And, another thing notable to me, being a Java developer: Ubuntu 8.04 seems the first GNU/Linux distribution so far that includes a fully-fledged set of tools in its package repository:
[kr@n428 9:13:11] ~> apt-cache policy openjdk-6-jdk sun-java6-jdk glassfishv2 netbeans
openjdk-6-jdk:
Installiert:(keine)
Mögliche Pakete:6b09-0ubuntu2
Versions-Tabelle:
6b09-0ubuntu2 0
500 http://archive.ubuntu.com hardy/universe Packages
sun-java6-jdk:
Installiert:(keine)
Mögliche Pakete:6-06-0ubuntu1
Versions-Tabelle:
6-06-0ubuntu1 0
500 http://archive.ubuntu.com hardy/multiverse Packages
glassfishv2:
Installiert:(keine)
Mögliche Pakete:2.0.1-0ubuntu5
Versions-Tabelle:
2.0.1-0ubuntu5 0
500 http://archive.ubuntu.com hardy/multiverse Packages
netbeans:
Installiert:(keine)
Mögliche Pakete:6.0.1-0ubuntu2
Versions-Tabelle:
6.0.1-0ubuntu2 0
500 http://archive.ubuntu.com hardy/universe Packages
So, we do have both OpenJDK and Sun’s “regular” Java SDK in its recent versions, along with the current version of the open-source Glassfish application server (V2u1, at least until Monday, April 28, it seems…), and the recent stable version of the NetBeans IDE, so far my favorite Java/all-purpose development environment. Honestly, installing any of these applications using the “vanilla” installer without relying upon apt and the package repository ain’t that much more difficult, but at least this way getting started doing serious work in Ubuntu 8.04 is easier than ever before, and, considering the idea that Glassfish on Ubuntu 8.04 even might become a configuration officially supportable by Sun, this also might grow the acceptance of Hardy Heron as a server distribution compared to, say, RedHat or SuSE Enterprise Linux. Now I (a) wonder whether the packaging folks will be up to keep packages current when, in example, NetBeans 6.1 is about to be released soon, and (b) whether, talking especially about the Java and integration thing, Sun and the OpenSolaris folks are likely to get (Open)Solaris distributions on par with Ubuntu also in terms of desktop usage and package installation / update procedure, or whether Solaris is rather left for the server usage while Sun folks do focus on supporting Ubuntu as main desktop system environment. Let’s see what will happen…
Let’s get it straight: Most of the time, I hate dealing with content management systems in my professional environment, as so far I haven’t found the right solution to that: Either they don’t team up that well with the rest of our (Java / tomcat based) environment (there’s a vast load of rather powerful PHP based content management solutions out there…) and/or take ages to get set up and started with and/or are seemingly way too “heavy” to carry a few simple pages just for the sake of having an easily accessible management / editing facility. The last thing on that I did so far was installing OpenCMS (astoundingly powerful, for sure), which I quickly and quietly discarded in favor of a simple, “home-grown” solution based on Spring, servlets and JSPs. Though this works reasonably well, it always tends to be tedious once these sites are supposed to be maintained, content needs to be added, things want to be changed, … . So, starting the search all over again.
However, for now I am pretty sure to have found a solution that could end this search - MeshCMS definitely is the best Java based content management solution I have tried so far. The list of features is pretty close to what I need/want:
meshcms.war to tomcats webapp folder and let things happen.webapps/meshcms/), inserting images, … using arbitrary file-editing tools, as well as eliminating the need to throw in an RDBMS server (usually that’s not an issue given free options like postgresql, but in some cases the effort of setting up, maintaining, backing up the DB is just not worth it).themes, dump your files there and you’re done.Overally, diving into it and moving our current web sites theme there took me less than five minutes. Let’s see how the next steps will look like…
Oh yeah, time passes quickly… Seems it was only yesterday to deal with the prerelease builds of NetBeans 6.0, by now things are already “beta” once again, steadily heading for the 6.1 release supposed to be released in late April 2008. One might wonder whether, just less than five months after releasing a stable 6.0 version, time’s right for a new “stable release” already, but, looking at the current pre-release builds, I’d say it’s definitely worth dealing with, as quite a lot of work obviously has been put into what’s likely to be 6.1 rather soon:
applicationContext.xml is ranging somewhere between “somewhat slow” and “unusable”), this is an important first step to ease NetBeans adoption by those used to doing their work based on Spring. And it seems there’s a growing amount of people who do so…So, after all: I switched to 6.1 prerelease builds for doing productive work in early January, and while watching the IDE grow better and better, I am sure that 6.1, once released, is likely to push forth a movement tendency already seen with earlier stable NetBeans releases. Not much more than that to say: Have a look at the release notes, get it, get work done. Now if I only figured out how to disable that “transparency” effect while moving NetBeans windows around… :)
For the first time in 2008, the Solaris Express Developers Edition has seen an updated release which is available both for download (*.iso and VMWare image) and as a DVD kit to be ordered free of charge directly from Sun. Looking at the features list, SXDE 1/08 seems to be right the OS for everyone mainly into development work as the distribution comes packed with a whole load of servers, programming languages, SQL databases and of course the latest release of NetBeans IDE. Maybe this is not that much of interest given that most of the up-to-date GNU/Linux distributions actually do provide a similar set of tools and features, one thing makes this release worth looking at, to me: Making my way through the ‘Sun Device Detection Tool’, it seems that by now I am finally able to use most of the hardware in my notebook with a recent Solaris release:
Pretty good, now I’m waiting for the DVD to get started. :) Elsewhere, next to this, one of my virtual machines right now is installing Nexenta Core Platform, an attempt to build an Ubuntu/Debian like Unix distribution around the OpenSolaris kernel, which also has seen its first stable release just by now. Overally, (Open)Solaris seems to be gaining momentum once again, which is a good thing. Looking forward for things to come…
Being into writing XML documents as well as XML schema definitions once in a while during my work days, so far I’ve enjoyed playing around with the Eclipse XML authoring tools, and by now after moving elsewhere I had to find my home in NetBeans 6.0 also in terms of XML authoring and support.
Which, to draw a conclusion first, is exceptionally pleasant talking about the things usually involved in my case. First off, creating XML Schema descriptions: NetBeans does offer three more or less different editing views on .xsd file types, each one of them possibly made to meet different needs.
Obviously, there is a source code editor…
… letting you manually build your XSD file by hacking the right things to the right place and hoping for the best. On the other end of the scale, there is a fully-fledged visual XSD studio…
… allowing for editing the same description in a way both visually rather appealing and rather handy as well - adding attributes and elements using keybindings here is same as easy as using that pointing device of your choice. My favorite editor, however, is somewhere in between:
The “Schema” view sort of reminds me of good old NeXTStep / GNUStep / Mac OS file manager, which is possibly a good thing, and so far fits best my personal likes in terms of XML schema creation as it seems most concise to me. This way, creating (and actually maintaining…) more complex XSD rules becomes rather easy.
Creating an XML document from an XSD description is same as easy, though I have to mention that, in direct comparison, NetBeans does lack a visual XML editor… a shortcoming, however, which is compensated by offering XSL transformation support out of the box, a feature I just found in Eclipse using an old (unsupported) plugin which works just more or less in newer releases. This as well as the checking / validation features makes the NetBeans XML support overally a very handy and usable tool fulfilling most if not all of my daily XML authoring needs. Now if I only could figure out how to create XSD and XML files in an arbitrary folder using the “Favorites” view… :)
More on that, however, to be found in the NetBeans 6.0 knowledge base.