Posts Tagged ‘Java’

Appcelerator at DOSUG

October 17th, 2008

Matt Quinlan of Appcelerator visited the Denver Open Source Users Group for our October meeting and gave a great presentation on how Appcelerator is an abstraction layer from your choice of backend web service provider (Java, PHP, ruby, .Net) and also provides a tag library that gives you access to the best of Prototype, JQuery (coming soon), YUI, Scriptaculous, and more.

The best part is how easy it is to try out Appcelerator. Just load up this page and start playing. You’ll be hooked in no time and ready to download the SDK installer for your platform of choice.

DJUG October – Ken Sipe on JMX, Spring, MBeans

October 17th, 2008

Attended DJUG’s October meeting, which was sponsored by NFJS and had Ken Sipe as presenter. He gave two presentations, the first on Spring and JMX, the second on 7 Habits of Highly Productive Developers. The room was packed. It was standing room only.

JMX Presentation Takeaways:

  • You need to use JMX.
  • Would you fly a plane without instruments?
  • Then why fly software without JMX data on its in-flight status?
  • Java 5 and above has MBean server.
  • JSR 3 (literally, the 3rd JSR ever) = JMX
  • JDK 6 -> Even Simpler -> GetPlatformMBeanServer()

IMG_0004.JPG IMG_0005.JPG

JQuery bridges the Open Source / Java / Microsoft Divide

September 28th, 2008

JQuery is, in my opinion, the most unique JavaScript libraries in terms of being able to modify content on-the-fly. One such incredibly useful example that I’m able to apply often, is adding PDF icons and _newwindow targets to all URLs with .PDF as an extension on all pages in a site without ever touching the source of the pages themselves, but rather just on one common include page.

Well, this library just got a major injection of Redmond steroids by the announcement, by way of Dion Almaer of Google, that Microsoft will be adding it to its standard development platform. Scott Guthrie has a quick demo of IntelliSense integration with JQuery in the ASP.NET toolset.

It’s neat to see technologies such as Hibernate, ORM, and Linq or actual implementations, such a JQuery in this case, span the borders to what I consider the three development realms – Open Source, Java and Microsoft.

Spring Framework License Change

September 20th, 2008

I’m hearing a huge buzz across the blogsphere about the maintenance changes to the Spring Framework. It appears at first interpretation that only the first three bug fix drops will be community available, and the others will be available only to paying enterprise customers.

Perhaps more concerning and going hand in hand with this is that largely only internal Spring employees are working on the codebase fixing bugs. If the community were allowed to be more involved, perhaps this strange commercialization positioning would not be necessary. Lastly, the venerable Matt Raible can’t even get access to the Spring 3.0 source code. If it is an open source product, where’s the source?

Please offer your comments and feedback. I’m interested to hear even more opinions on this change.

Update 2008-09-23 3:30 PM: More buzz on this at DZone.com from some respected names.

Update 2008-09-23 8:30 PM: And yet another update from the SpringSource team directly in the form of an FAQ.

Setting up Sun’s VisualVM on Mac OSX

September 8th, 2008

There is a relatively new tool out from Sun call the VisualVM. It is, in short a super new version of JConsole. In fact, it even runs all the extensions you have previously written for JConsole. Nice job Sun! You can profile, take snapshots, and watch in real time, threads, memory usage, and so much more of any local or remote java application.

Now, it takes a little bit of a trick to get it to work on Mac OSX. You need the latest Java 6 JDK installed, though it can monitor apps running on JRE 1.4 through JRE 7.0. But if you don’t set it as your default JDK, which can cause many apps such as Eclipse and CyberDuck to stop working, then you’ll need to use the –jdkhome option when launching visualvm. I set up a shell script to do so. The full invocation is as follows:

visualvm --jdkhome /System/Library/Frameworks/JavaVM.framework/Versions/1.6.0/Home/

There is even a getting started guide that shows you the basic features. And if video is more your style, there’s a vodcast that shows off this new app as well. If you still can’t get enough of this new tool, there’s a neat DZone overview written by Geertjan Wielenga.

Useful Apple Mac OSX Java Mailing Lists

August 29th, 2008

The official Apple Mac OSX Java Mailing List Archives contain some excellent technical insights, with replies directly back from Apple in many cases. There’s even one great particular article in question that explains what in the world the A folder is in your /System/Library/Frameworks/JavaVM directory.

Collaboration in Eclipse

June 30th, 2008

There’s an amazing new version of the ECF plugin for Eclipse that allows for remote Collaboration in Eclipse via the XMPP (Jabber, GTalk). Just log in to your GTalk account and start sharing editors with a friend.

You can see this in action in this video.

Wiring Hacker SynapsesUpload a Document to Scribd
Read this document on Scribd: Wiring Hacker Synapses

JavaFX, A Mixed Bag, A Little Too Late

June 13th, 2008

A review by Matt Stephens of JavaFX points out exactly what I think are some of its shortcomings. If I were to highlight the craziest part of all that Matt agrees with me on is that the mid-game switch in syntax, after books were being written on the subject, damaged the usability of tools, damaged the value of books (made them near worthless), and damaged the usefulness samples out on the web. Folks pull up samples and they don’t compile. Folks get a book and its syntax descriptions no longer match. Folks pull up tools and either have an old version that won’t compile new stuff or vice versa.

Additionally, JavaFX has seen two JavaOne conferences come and go with no formal release. Take this in contrast to the ever climbing version numbers of Silverlight and Flex and you can see that Sun is late to the game with a weak solution that keeps getting modified and doesn’t have concrete tools or books out yet. Draw your own conclusions based on those facts.

Lastly, if you love to give up your privacy in even more ways, then Project Hydrazine (you know, that deadly gas from the spy satellite that came down unexpectedly last year) will let you spill your usage guts to Sun.

Final quote from Matt:

A bigger problem for Sun in the short-term is getting JavaFX – the building block for Hydrazine and Insight – out the door. A year since announcing JavaFX, Sun had nothing to offer JavaOne but shipment dates and shaky demos based on Java SE 6.0 update 10, which kept crashing during the JavaOne keynote.

Comments like that must really irk Sun..

No More JFrames

March 23rd, 2008

I just read an interesting overview of the JSR-296 Framework. It basically takes away the mundane setup of your main application frame. I think many individuals have been using Eclipse RCP and NetBeans Application Framework to accomplish this in much too heavyweight a fashion. JSR-296 provides a very simple and lightweight way to restore application UI state, set up the main application title, and set the default close operation.

Read more about it at this DZone article by Geertjan Wielenga.

JavaFX Script Presentation at NCAR

February 25th, 2008

Last Wednesday I had the privilege of being invited to speak about JavaFX at the National Center for Atmospheric Research in Boulder, CO. It was a great audience with some very interesting questions. Thanks to Ken Kim and his team for a great speaking experience.

Also, thanks to these folks, the JavaFX Script slides I was presenting got awarded “Slideshow of the Day” on slideshare.net for a second time in just one week. These slides were the most viewed and downloaded of any slides on the site. Very exciting.