Let's establish some facts right away:
First of all, before I hear one more comment that "scripting isn't new on the desktop" I want to say this:
Yes, I know.
In my last blog, I wasn't saying that scripting is new. I'm saying that the JSR 223 spec defines a standard framework and API...and that is new. And Java SE 6 implements that spec, and....
I've ranted a little about scripting languages in the past, and although I still twinge at the name "Groovy", I'm beginning to recognize the utility of scripting in the Java platform. I even think desktop applications can benefit the most from a scripting environment.
[I have edited this entry after its original post to more accurately communicate my own question and not to infer intent from the original poll.]
I read Ethan Nicholas' blog about intern'd strings with great interest. I agree with his assessment that using '==' to compare String objects is almost never correct. He suggests that String's
equals method is superior.
Sun Microsystems has put lots of time, money, and effort into OpenOffice, the product, the organization, and the community. So, when OpenOffice adopted HSQLDB as the embedded DB, I was happy for the popular productivity suite. Not only did the product finally have a capable, 100% Java database, it would have great support and contributions from Sun as well.
My personal digital assistant (PDA) provides contact information for friends, family, and coworkers. The PDA allows me to find a person's phone number easily by searching on that person's name. The information is sorted according to standard dictionary-sort order for the contact's name. That is, the name MichÃ¨le comes before Robert in the list.
Interested in JSR 209 development, I was eager to check out the SavaJe cell phone at JavaOne last week. SavaJe certainly has the jump on CDC and JSR 209 implementations for the cell phone market.
Designing desktop applications can be tricky. Threading, resource management, launching, shut down...there are a lot of things to think about. Nothing akin to rocket science, but lots of things can go wrong, and do. A desktop framework would bring much needed consistency to the task, providing structure and encouraging adoption of best practices for application design.
OK, I'm frustrated, really frustrated. I'm just going to let it all out, right here, right now. I'm not pulling any punches.