Finally, Java works with Compiz
I really dig on the eye candy that compiz and the awn window manager brings out for Linux.
Unfortunately I had to turn compiz off because java had some bugs with compiz like the unnerving blank dialog boxes in Swing based applications. Now there is a jdk early access that took care of that and so far so good. I haven't had drawbacks yet, but then again I have only played with it for 1 hour. To obtain the jdk6.0_u10 here is the link.
http://download.java.net/jdk6Enjoy.
The best damn web framework (Jboss Seam 2.0.0GA) is out....
The best java web framework, JBoss Seam 2.0.0GA is out and it is absolutely amazing.
What is so amazing about it?
- PDF generation
- email generation
- easiest ajax development
- integrated ajax widgets
- integrated facelets templating
- unit-test, functional-test, integration-test friendly
- component-based
- ejb3-based
- rapid-development
- conversation based scoping
- integrated security
- GWT integration
- extended JSF EL features
- and on and on...
I am so confident in everything that JBoss Seam does that I am ready to change my entire business around it. This is your complete solution in a web framework. I am updating a customer's site currently using JBoss Seam 2.0.0, and I am really excited about it mainly because Seam is expressive and keeps me productive. I look forward to doing more business with this framework for many years to come.
Disclaimer: I am not an employee or contractor with JBoss
Mon, 5 Nov 2007 10:24 PM PST
Matt,
I love how your Grails/Rails claim lacks the same proof you complain is missing from Daniel's assertion. Those who live in glass houses.....
Wed, 21 Nov 2007 08:09 AM PST
If you get the chance, don't decide until you've spent just 1/2 day with Wicket - it'll save you months of development and maintenance time.
Like the other authors on this topic here I have no time to justify why I feel strongly that this is so, so you'll just have to put aside a few hours to see for yourself if you are curious (http://wicket.apache.org).
Frankly, there have been so many baseless and semi-brain-dead java "web-framework" comparisons, insulting their audiences and wasting everybody's time lately ,by people who feel they are qualified to make sweeping statements without any real understanding of many of the products they are comparing.
At the end of the day, I'd say use one framework, get really good at it, and deliver good systems with it. Many of them are quite good these days, but Wicket is great ... IMHO ;-)
Mon, 7 Jan 2008 08:05 AM PST
Jason,
Matt has posted like a ton of comparisons about web frameworks in his own blog. If you do not document yourself before posting you should not include witty "glass house" comments.
OTOH, please compare a Google search of "wicket sucks" vs "jsf sucks" to get some background about Matt's point.
Woot! Dan Hinojosa's (that's me) java predictions for 2007
Filed Under: SeamGroovyRuby2007EJB3JavaGrailsRailsJBoss
Just a minute while I take out my crystal ball. It is currently sitting in my garage, caked over with dust. There! All dusted off and just like new.
Here are my predictions for the year 2007. Take note, because all of these will come true. Eat your heart out Nostradamus.
- Groovy will enjoy great success. People will love the idea of having a powerful scripting language that uses the well known Java API at their disposal. Groovy will bring about the repatriation of several Ruby users that defected from Java.
- Grails will see some success, but that success won't come 'til late 2007. This is because people need time to learn Groovy first, and the Grails developers will probably be working diligently towards version 1.0 throughout 2007.
- Developers will realize that SOA has nothing to do with Web Services. The SOA community will also gain a general understanding of what SOA really is, hopefully before SOA 2.0 comes out. ;)
- The Java community will continue to seek clarity on the future of Java and whether or not Java is meant to be an easy language to learn. Such ruminations will lead to more great debates on generics, in-line XML, the arrow operator, and whether it is Java's manifest destiny to include features from other languages in the JDK in order for Java to remain on top.
- EJB3 will finally be released by major vendors and will gain acceptance by developers.
- JBoss Seam will gain acceptance by many web developers, but will continue to have problems selling its idea because those same web developers will have difficulty wrapping their heads around what stateful development is and how it's useful to them.
- Legions of well-known web and desktop Java developers will be bored with web and desktop development and will start to get creative with Java on other devices.
- JUnit dominance will be relinquished to TestNG.
- Ant will be demoted by the masses as merely a vehicle for scripting to get builds done.
- Dependency Injection and Interface Oriented Design will continue to be accepted by Java Developers.
- The Google Web Toolkit will be the most talked about Java based product in 2007. It will bring non-Java developers to the Java language, eager to do outstanding things with AJAX without the need to code in JavaScript.
- With systems like Subversion/CVS, Google Calendar, Google Docs, Feature/Bug Tracking software, Gmail, Blogs and Wikis. Developer machines will be and should be relegated to being hard drives dedicated to holding only the JDK, version controlled source code and libraries, and music files that developers listen to while coding.
Now, go in peace, and spread the good words of what I have foreseen and given to you. ;)
Happy New Year!
Danno!
Updated my blog to Pebble 2.0.1, and sorry for the greatest hits.
I also want to take time to apologize to the blog aggregators out there. I didn't mean to repost all my blogs, although it was nice to see that my post about Seam is getting a lot of attention. I have no idea if it was pebble or I that resent the old blogs, but hopefully that shouldn't happen until my next upgrade. Heck, Johnny Carson used to have the "best of..." why can't I?
Microsoft makes claim on Linux code, condemns Penguinistas, and thoughts about java
Filed Under: LinuxSun MicrosystemsCrimeMicrosoftJavaSteve Ballmer
I was listening to the November 17th Buzz Out Loud
, a C-Net podcast, in which they reported some very disturbing news. Steve Ballmer of Microsoft is making a claim that all Linux distros uses our intellectual property
. The deal is that if you use SuSe Linux, then you are off the hook for violating copyright. Think of this as a modern day indulgence from St. Redmond's Square.
Now, because of this news, I have to reflect on what a good job Sun did in deflecting Microsoft from violating Java's rules and regulations by not providing a constant cross platform VM. Hypothetically, if the Sun lawsuit had not been won, I can assure you that there would be an announcement from Ballmer condemning all non-Microsoft Java VM programmers of violating Microsoft’s copyright for any features from any Microsoft Java version that may have seeped into Sun's Java version.
Java and Ruby working together in harmony
I stumbled upon a Ruby Editor Plugin for jEdit.
Two days ago, version 0.8 of this plug in was released. I can't wait to give this a try. jEdit has always been a great application and it's user base can only grow with this plugin.
You can say "Java EE is Dead"... just make sure the advertisements don't contradict you.
Filed Under: JavaEEFusionMiddlewareJavaOracleRichardMonson-Haefel
I took these screenshots a while back, but only recently found time to blog about them. The first picture is a capture of one of many articles about Richard Monson-Haefel declaring that this is the "Beginning of the End for Java EE" and that one of Java EE's murderers is the ever so villainous SOA.
Too bad the advertisement that leads into this article is for Oracle Fusion Middleware, which is, you guessed it, a Java EE-based middleware product that is SOA-ready.
The article with advertisement: (click to enlarge)
The full page advertisement: (click to enlarge)
From the Oracle Fusion Middleware Overview
Oracle incorporates the leading technical and industry standards across the entire Oracle Fusion Middleware family, com- bining the design concepts of SOA and event-driven architecture (EDA) with widely accepted development methods such as Business Process Execution Language (BPEL); Java Platform, Enterprise Edition (Java EE); and Java Connector Architecture (JCA). Leveraging these standards guaran- tees compatibility among all your information systems.
Oh, by the way, Paul McCartney is still alive.
Tue, 25 Jul 2006 01:59 AM PDT
Perhaps Richard needed to make a change as he joined a new company - although this is as idiotic as all these re-organizations started by interchangeable managers, but the reasoning is the same.
As I listened to the "podcast" I got the impression that he is reading somebody else's text. The text itself is not even very original, it paraphrases some semi-truths, mostly spread by people who never got beyond a J(2)EE tutorial.
Wed, 2 Aug 2006 07:48 AM PDT
I understand the irony here, but in all honesty does it matter what the site advertises? A journalist should write an article based on its own merit and not who pays for advertising. Should the New York Times not run and advert for a movie they just shredded? I think not. If anything this makes his view more legititmate - imagine if he had .Net ads all over his site.
Wed, 2 Aug 2006 08:42 AM PDT
I would agree, except, well, If I may take your analogy further. The New Yorks Times should not run an article claiming a movie dead, unmarketable, and unviable in movie theatres, while they accept ads for a movie that was supposedly "dead". In the same regard JEE has held the server market for a few years with success. Unless disaster happens, I don't think anyone should count on the lead horse to lose abruptly.
Fri, 11 Aug 2006 08:16 AM PDT
I suppose if you don't understand the first thing about how the news business works, this might seem odd, but otherwise it's fairly boilerplate stuff. The site posted a news story based on Monson-Haefel's report. It's not the site's opinion, nor is it the opinion of the writer and at no point is it portrayed as such. It's a point-of-view that Monson-Haefel, a guy who knows his way around Java, happens to have and, agree with it or not, when an analyst of his stature takes a stance like this it's newsworthy. That there's also ads on the page means that you're reading a site that's got a respectable enough editorial department with enough of a readership that a company like Oracle sees the value in advertising there. In the modern world, where anyone can pretend to be a "news" site, you're probably better off when you see some advertisements on the page because that at least means you've got an accountable, professional news staff working to produce the story. At the end of the day, the story's probably one that a Java vendor would want to advertise next to even though Monson-Haefel's pointing out some potential flaws with the enterprise platform. Why? It puts Java in the spotlight. It goes to the old saw that there's no such thing as bad press as long as they spell your name right.
Tue, 15 Aug 2006 12:07 PM PDT
Er, my take is different ... he's prognosticating JEE's death because SOA is such a good thing that it won't remain exclusively Java's domain. Not that it has been for a long time, and frankly I don't see Rails picking it up, not when it's "opinionated" against basic things like transparent clustering or even a decent oracle driver. JEE is pretty good about reinventing itself, and Oracle certainly isn't giving it up. The most laughable thing about the article isn't the predictions of JEE's demise, it's the starry-eyed predictions about how SOA is the answer to everything in the world. Trolling for page hits, that's all.
Wed, 16 Aug 2006 10:25 AM PDT
Depends on what you think SOA is. If you think it's a specific technology, e.g. a JEE replacement, then I see where you'd consider Monson-Haefel's statements "starry-eyed. If you see SOA as a design ethos, which seems to be where Monson-Haefel is coming from, then it opens the question to whether JEE enables you to build to that loosely-coupled, integration-first model. I suspect you're right that JEE will prove far more nimble than Monson-Haefel predicts, but its reinvention will probably happen in ways no one can predict at this moment. Perhaps the real takeaway here is that JEE's going to be going through a lot more reinvention in the near future. Certainly when you've got as much skin in the SOA game as Oracle, IBM, BEA and, increasingly, Sun, it's a fair bet they'll be pushing for JEE to dovetail with the rest of the software tools they're offering.
ABQJUG Meeting: Building a JBoss Seam app from scratch!
Alright! This is the ABQJUG announcement for our meeting that will take place this coming Wednesday, July 26th, 2006. Training session time using JBoss Seam!
I know our previous ABQJUG Session in May was about JBoss Seam, but I got to thinking… the JUG website really, really sucks. My fault? Perhaps. But now is not the time to point fingers. ;)
So, after my morning cup of java, my creative juices started working, and behold - the perfect meeting idea! This Wednesday, we will have an interactive project that builds our ABQJUG website from scratch using JBoss Seam! If you have ever wanted to know how to build quick and easy web applications in Java with database integration then you will definitely want to attend this upcoming meeting. This training session will offer many great benefits:
- One brand-spanking-new dynamic ABJQUG website
- Tons of new technologies, including EJB3, JSF, JBoss Seam, AJAX
- Massive amounts of audience participation
- Absolutely perfect forum for beginners learning Java.
- Endless possibilities to make play dates with other Java programmers
- But most importantly… A quenching of the audience’s thirst to bask in the warm glow of my good looks.
Uh, scratch that last one...
The meeting will start at 3:00 PM. Because there will be a lot of fun stuff to do and not a lot of time to do it, I do plan to start at 3:00 PM sharp! You may arrive late, free country, but if you do, you will miss out on some primo stuff and have no one to blame except yourself. ;) The meeting will extend to 5:30 PM, at the latest. However, I will try my best to wrap it up by 5:00 PM.
The meeting will be held at our regular meeting place - the Cherry Hills Library at 6901 Barstow NE Albuquerque, NM 87111. Please do not bring any food or beverages with the exception of bottled water.
This meeting is free. If you know of anyone that would like to be a part of our ABQJUG, please have them email me at dhinojosa [that squiggly character] evolutionnext.com.
Meeting information is also on our website
Danno
Tiobe Index: Java holds on to #1 firmly, Ruby shooting up like a bullet to #17
On this month's TIOBE index, Java has held on to number one yet again. I was surprised to find that popularity had grown by +2.19%. Well, it looks like the java language has narrowly escaped its "impending doom" yet again. Take that java doomsayers! Don't quit your day job, whatever that is...
The other surprise is Ruby which is positioned at #17 - a magnificent climb from last year's rank of #30. The evangelists for Ruby are certainly getting their jobs done. Congratulations to them.
There are some WTF movers and shakers in this latest index too. Visual Fox Pro went from #35 a year ago to #13! The editors of the wikipedia entry for FoxPro seem to be proud of this feat. Given the so-called popularity of Visual FoxPro I have to now dub it the "Michael Bolton" of computer languages. Sure, it's popular, but do you really know of anyone who uses Visual Fox Pro, or, for that matter, do you know anyone who owns a Michael Bolton album?
The other active languages on the list are Pascal (up 5 positions) , ActionScript (up 15 positions), VB (up 3), VB.NET (down 3), and COBOL is almost out of the top list (down 9).
Mon, 17 Jul 2006 06:52 PM PDT
Makes me skeptical of how the TIOBE index is calculated -- I can't imagine that the mountain of COBOL code out there has shrunk much in the last year.
Fri, 25 Apr 2008 03:41 PM PDT
I think TIOBE's index is calculated correctly, but all public facing (i.e. Internet gathered) metrics are only telling part of the story, and they should all be used with some amount of skepticism. (Mine included.)
I've done a site I call LUI for Language Usage Indicators, which calculates not only the same index as TIOBE, but many more besides. It' s my opinion that (1) more metrics from more sources are better, and (2) that openness is the best approach for credibility.
lui.arbingersys.com
You can download the code that generates the metrics, verify it, tweak it, etc. Also, the raw data is accessible for download, as well has LUI's (admittedly) young history.
(Also, since this is a Java blog, I don't think Java has any real worries at this point.)
What do java programmers version control?
I am a member of the pragmatic programmer mailing list. One of our list members, Joe Van Dyk, sparked off a discussion titled “What goes into version control?”. It was a great question that I had to find an answer for myself over the years, because there were no actual rules.
I personally recommend that you put into your version control all of the things that will allow you to jump from one machine onto to another, checkout your project, and start your work. This recommendation comes in particularly handy when your primary machine is on the blink.
In this vein, items that get placed into my version control include documentation from the customer, library documentation, library binaries, keystores, and even IDE project files. I do not include class files, or jars that get created by my “build” or “dist” target.
You might also consider placing into your version control other types of files that should be safely stored in case you become unhinged and start eating your laptop while yelling “melted butter”. Believe me, if you have ever programmed in EJB 2.x or even 1.x, you have, at one time or another, thought about eating a laptop.
This particular scenario has forced me to put into my version control items like customer invoices, RFPs, copies of emails, agreements, electronic receipts, etc. It is a sound insurance policy to do so. This rule falls in line with a blog entry that I read a long time ago by Joey Hess, who likes to keep his life in subversion. Joey's blog entry is the main reason for my transformation into the digital packrat that I am today.
Lastly, I highly recommend that your version control be somewhere other than your office. In fact, it should be in a completely different building, unless you have a very good emergency plan. I currently pay $200+ a month to kattare.com for them to host my dedicated server. The dedicated server contains my web site and blog, my version control, my build automation tool, and whatever else I can put into it. The cost may seem high to you, but if your career is as a self-employed programmer, or even an overzealous company programmer, this option is a no-brainer. Plus, it's a nice business write-off.
Let me know what you, as a Java programmer, put into your version control. If you are part of a company development team, what are you allowed or not allowed to put into your version control?
Tue, 11 Jul 2006 05:13 AM PDT
I personally take a slightly different approach. I store all source code + IDE files (for that project) + build system in subversion. This allows you to pick up a project on another machine with minimal effort. Besides that I store the basic things, like bashrc and files as such in subversion.
However mail, documentation and other such files I put on a non-version controlled fileshare, ok ok.. an external hdd, but still ;)... this allows access to this data if my main machine fails.
Once a month I make a DVD of the projects and other documentation, which is my hardcopy.
I would think you would also want some maple syrup on that laptop if you are going to eat it :)
Wed, 12 Jul 2006 07:13 PM PDT
IMO keeping the generated binaries as well as the source and IDE files can save you from the dilemma of "melted butter" and maple syrup. A totally different angle: How would you suggest a webapp containing an applet is managed and setup as part of a continuous integration strategy without creating too many revision controlled files? Cheers
Thu, 13 Jul 2006 03:11 AM PDT
What we do is storing all application sources and the Maven (as we use it) build files. This is quite enough to build not only the application , but also th eproject files for Intelij IDEA and Eclipse which is enough. For all the rest - we have a web based project tracking and communication system that takes care of mails, documents, forums, tasks deskriptioins etc. This is perfect and I'd suggest you to use one (like www.coreproject.biz)
Tue, 16 Jan 2007 10:08 AM PST
Use version control? Then you could probably use a laugh:
http://www.youtube.com/watch?v=msDuQoKqysw
Ruby Propaganda?
Filed Under: BruceTatePragmaticProgrammerRubyJava
So I am looking for more books to read, and I start by perusing the Pragmatic Programmer Bookshelf web site - they have been my one of my favorite publishing companies since last year and I have been a convert to many of their ideals. In fact, to expound on this aside, I have changed as a programmer since I read their first book The Pragmatic Programmer and even more so with the starter kit trilogy Pragmatic Version Control, Pragmatic Project Automation, and Pragmatic Unit Testing.
Getting back to my perusal of the Pragmatic Programmer Bookshelf web site, this Sunday, while looking through their catalog for new stuff to buy, what do I find… a book that, in concept, rubs me the wrong way. The title is From Java to Ruby: Things every manager should know and it is going to be released in or around this week. I have not read it yet, because it hasn't been released, so I am just commenting on the teaser description provided by the website.
The description for From Ruby to Java echoes a lot like programming language propaganda. The first part of it reads:
“As a development team, you want to be productive. You want to write flexible, maintainable web applications. You want to use Ruby and Rails.”
Wow! I didn't realize that I was so unproductive with Java. All those happy moments programming away and getting things done was just a facade. Thanks Ruby and Rails!
The next line is the definition of propaganda, in fact, the description is just flat out saying it:
“Bruce Tate's From Java to Ruby has the answers, and it expresses them in a language that'll help persuade managers and executives who've seen it all.”
Yikes! What is going on? Shades of Khrushchev. Managers and executives must be persuaded by the Ruby red manifesto to crush the troublesome and insipid Java with all of its freedoms, its red, white and blue logo, and its JCP capitalistic mindset.
I like Ruby and I like Java. Ruby is my new language of the year 2006 (according the Pragmatic Programmer, good programmers need to learn a new language once a year), and I am enjoying what Ruby has to offer. I especially like its callback functionality and mixins. There is a lot to Ruby that I wish was in Java, and there are some things that are in Ruby that I don't want to see in Java. So this post is nothing negative on Ruby, just on the tone of this new book and its implied purpose.
Ruby can stand on its own. It is a great language, and it can, as it has been doing, climb up on the popularity ladder without crushing skulls.
I will order this book so that I can experience its true meaning, but I am a bit guarded. I hope the book won't be a free-for-all Java bash manual. Instead, I hope that this book will highlight positives on both languages and analyze when it is appropriate to use one over the other.
Sun, 18 Jun 2006 07:50 PM PDT
This is his second book on the subject. Sadly he gives the impression that he is just trying to sell more books with the provocative titles.. And unlike you i will not order the book maybe just peek in Borders. Also again unlike you i dont like Ruby much, tried it shortly, foud it too 'dynamic', and slow for my taste.. Also Maybe i am too addicted to IDEA too..
Sun, 18 Jun 2006 08:55 PM PDT
I'm guessing there will be kayak anecdotes in this new book, and people will be ripped off for a few dollars for all these kayaking information that we don't really need. Bruce Tate writes to get money. He will do the same thing for the next big thing [tm]
Mon, 19 Jun 2006 08:42 AM PDT
Afaik Bruce's reasons to switching to Ruby were not very well explained ones, so I wouldn't consider him a guru so quickly. ./alex -- .w( the_mindstorm )p. --- (http://themindstorms.blogspot.com)
Mon, 2 Jul 2007 12:41 PM PDT
You might like groovy and grails.
Podcasting to teach java.
I did a search a couple of minutes ago on Podcast.net. I was looking for Java podcasts to subscribe to. I typed in 'java' and was surprised to see that a professor at Harvard Extension School had his computer science podcasts up online. The content he provides is an XML and J2EE course for the spring 2006 semester.
The course, which you can listen to now, covers XML, DTD, Schemas, SVG, and what looks like every other conceivable X*. Click here to review the podcasts for yourselves.
I found the idea of educational podcasts pretty interesting and quite groundbreaking. Educational podcasts may possibly evolve into the new university curriculum standard, reducing the university campus to an amusement park where students go only to find parties and sex.
Wed, 12 Apr 2006 10:46 AM PDT
This is very cool - thanks for pointing it out. This might not be quite as meaty or detailed as what you are looking for, but check out the RedMonkRadio podcasts and Drunk and Retired - I like both of those. Cote' and I are also starting a feed of dev-related podcasts that we find interesting - try subscribing to http://feeds.feedburner.com/podcasts4u
Wed, 12 Apr 2006 10:51 AM PDT
Thanks Scott!
530 5.7.0 Must issue a STARTTLS command first
Filed Under: TLSSSLNOTESjavamailmail.jarJavaSTARTTLS
I set up an enterprise application with email functionality on a secure network. The SMTP server happened to be on a secure network as well. At first, when I ran the application, I received the following exception:
530 5.7.0 Must issue a STARTTLS command first
Let me take this opportunity to log into my blog the simple solution to overcome this problem.
First off, upgrade the mail.jar library in your application or application server. The latest and greatest comes with TLS support in it.
The next thing to do is to set the property mail.imap.starttls.enable or mail.smtp.starttls.enable to "true".
That's it.
You can find more information on the new TLS features in a text document called SSLNOTES. This text document comes along as part of the javamail download.
Good Luck!
Wed, 26 Jul 2006 06:33 AM PDT
I am getting this error when appliction is running in localhost. I am using php5.0.0 , Mysql 5.0 and XP. I tring from a week both i am not sloving that error. If you now solution please reply me.
Thu, 14 Sep 2006 05:06 AM PDT
I am using a exchange 2003 server with secure mode. when i am sending the mails it is giving the error "Selected ESMTP authentication method is not supported by the server Server responded: 530 5.7.0 Must issue a STARTTLS command first" Co
Mon, 5 Nov 2007 03:59 PM PST
No claim like this can be believed until you provide why it is better compared to other web frameworks. Is its competition Tapestry or Wicket? Or is it the full-stack frameworks like Rails, Grails and .NET?
AFAIK, JBoss claims they're not competing with Java frameworks, but rather .NET. Have you tried .NET and verified that Seam is better? If so, what makes it better?
I believe it's good - it'd just be nice to see more proof behind claims like yours. Most of the folks I know that love it love it compared to plain ol' JSF, not compared to Wicket, Rails or Grails.
Personally, I'm more impressed with Rails and Grails.