|
|
 Joseph Pachod  Thursday, 11th of February 2010 at 10:50:08 PM
In order to get ready for the SCJP 6 exam, I’ve read SCJP Sun Certified Programmer for Java 6 Study Guide, from Katherine Sierra and Bert Bates, aka some of the certification’s exam creators.
The authors make clear at the beginning that the book is about, and only about, being ready for the SCJP exam. No [...]
 Uwe Schaefer  Thursday, 4th of February 2010 at 07:31:40 PM
in case someone thought it was a good idea:
We’re delighted to introduce a new wicket component which will allow you to easily integrate Google Waves right into your application. Please meet GoogleWavePanel !
The idea of making this component came from a recent tutorial which aimed at clarifying the use of Google’s Wave Embed API.
http://blog.zenika.com/index.php?post/2010/02/03/Surf-the-Wave-with-Wicket-and-the-GoogleWavePanel
 Uwe Schaefer  Wednesday, 27th of January 2010 at 05:24:33 PM
If ever you face the need of ‘boxing’ the elements of a primitive array into an array of Objects, this might be handy:
Java | copy |? public static Object[] convertPrimitiveArray(final Object array) { final int arrayLength = Array.getLength(array); [...]
 Uwe Schaefer  Sunday, 17th of January 2010 at 04:34:12 PM
in case you use Eclipse and like the builder pattern, try this plugin. Update Site: http://boss.bekk.no/bpep/update
 Uwe Schaefer  Monday, 4th of January 2010 at 09:32:40 PM
from the javadoc:
Creates an image that is rendered by the Gravatar online service. Gravatars are user
icons that are registered by a central server and that can be used across the
internet with blogs, forums and other profile based websites.
The Gravatar requires the email address for which the gravatar image
needs to be [...]
 Uwe Schaefer  Wednesday, 4th of November 2009 at 10:56:50 PM
Interpreter style can be easier than one might think.
See Vassil Dichev´s Embedded Scala Interpreter
 Joseph Pachod  Friday, 23rd of October 2009 at 01:08:25 PM
Have you ever prepared a certification ?
Well, for me, it’s the first time, and it proves a very nice occasion to learn stuff you should never do and hopefully will never meet in real code. Still, it’s fun like hell
So, what am I speaking about ?
Well, stuff like these :
Java | copy |? class ExtractsFromTheExams{ [...]
 Uwe Schaefer  Sunday, 18th of October 2009 at 10:19:54 AM
…Starting with the upcoming version 9.0, IntelliJ IDEA will be offered in two editions: Community Edition, free and open-source, and Ultimate Edition, which until today has been referred to as simply IntelliJ IDEA.
via InfoQ: IntelliJ Goes Open Source.
Unfortunately, without html/css and refactoring support in the community version, i´d not even consider installing it to take [...]
 Joseph Pachod  Saturday, 12th of September 2009 at 09:42:54 PM
I’m currently looking seriously at some Java certifications. As such, Uwe kindly gave me lots of Java certification books, but they are about Java 1.2 (whaou, prehistory ) and 1.4.
Since Java 5 introduced quite some new stuff, extra resources/books would be welcome, as such feel free to comment. I’ll as well update [...]
 Joseph Pachod  Saturday, 12th of September 2009 at 09:27:44 PM
Quite frequently, one has to write some development specific code. For example, at work, we have, when needed, an “application launcher” (named with the application name) and a dev web page, mounted under /dev. This page in turn allows to write shortcuts in the application work flow, in order to access specific page with an [...]
 Joseph Pachod  Monday, 7th of September 2009 at 01:21:54 PM
2 points stroke me when reading this “Pragmatic Unit Testing” book :
- in order to easily test some class, they suggest to open the required methods by making them protected. I had first to check that protected included package readability (it does) but still I think it’s going a bit too far : if the [...]
 Uwe Schaefer  Saturday, 5th of September 2009 at 10:21:23 AM
While i was looking for the fastest possible way to serialize Java Objects to byte-streams, i was comparing some serialization libs. With the help of Adobe Evangelist Cornel Creanga, i added AMF3 Serialization to the test.
Good things first: for my test-case, AMF3 turns out to be slightly faster and a little more compact than plain [...]
 Joseph Pachod  Friday, 4th of September 2009 at 09:47:16 PM
During my holidays, I notably read
 Uwe Schaefer  Thursday, 3rd of September 2009 at 07:24:32 AM
As the List for project coin is finalizing, it looks like, we wont get Multi-catch, which is pretty sad.
Java | copy |? } catch (Exception1 | Exception2 ex) { LOGGER.log(Level.SEVERE, ex); throw ex; }
That being said, i really like the Collection Literals [...]
 Uwe Schaefer  Monday, 24th of August 2009 at 08:23:32 PM
as i´m gonna be involved in building a System that has some significantly complex aggregated Data Objects to serialize frequently, i came across http://jboss.org/serialization/.
this one actually promises some kind of performance gain over plain java serialization …
Recently we discovered that most of the problems in JavaSerialization are related to static synchronized caching, what causes [...]
 Uwe Schaefer  Friday, 21st of August 2009 at 07:37:47 AM
via Wicket 1.4.1 supports Ajax file uploads | Wicket in Action.
The Apache Wicket project is proud to announce the first maintenance release: Apache Wicket 1.4.1. The most notable change in this release is the transparent support for multipart form submissions via Ajax. Wicket is now smart enough to submit a form using a hidden iframe [...]
 Uwe Schaefer  Tuesday, 11th of August 2009 at 09:10:13 PM
Rod Johnson (yes, the guy who´s company was just sold for 420mn ) once wrote in a book, that about any kind of source-code generation sucks for a bunch of reasons and nowadays could/should be replaced by reflective or framework code. (j2ee one on one, wrox, very old)
those of you, who know details [...]
 Uwe Schaefer  Sunday, 9th of August 2009 at 02:29:38 PM
Whenever you add extensive caching to your wicket resources, this might be awfully useful:
Java | copy |? Application.getResourceSettings().setAddLastModifiedTimeToResourceReferenceUrl(true);
which exactly does what you can get from the name
 Joseph Pachod  Sunday, 9th of August 2009 at 09:08:34 AM
I bought Effective Java 2nd edition last year. I loved it immediately, and since I’m frequently reading bits of it again. I even think I should read it all over another time.
Indeed, Joshua Bloch items are more than just “do this, do that” : he takes care of explaining them in great depth. It allows [...]
 Joseph Pachod  Friday, 24th of July 2009 at 09:44:17 PM
Wicket is a well known serialization addict, and as such it’s quite often a topic when dealing with wicket pages and, especially, going back through the page map.
In doing so, we had recently the following surprise : the DefaultMutableTreeNode, a javax.swing.tree class, is used to to the current incarnation of the tree component in wicket. [...]
 Uwe Schaefer  Tuesday, 21st of July 2009 at 06:11:56 PM
of sun´s certification program by helping with their survey.
 Joseph Pachod  Thursday, 16th of July 2009 at 10:01:33 PM
hi
I recently finished Clean code, from Robert C. Martin (well, in fact it’s mainly from him and some guests, but then..).
Anyway, the focus of this book is how to write clean code, meaning readable and maintainable code. For this, the authors go at length on the different aspects, dedicating whole chapters to aspects like “Meaningful [...]
 Uwe Schaefer  Sunday, 12th of July 2009 at 08:53:32 AM
i stumbled upon a very nasty corner-case using enums. i wont call it a puzzler, but you may want to try to predict the output of the following:
Java | copy |? public enum Person { PETER, PAUL, MARY; private Food favFood; Food getFavFood() { [...]
 Joseph Pachod  Monday, 6th of July 2009 at 09:46:59 PM
As I’ve written on the wicket jira, setGatherExtendedBrowserInfo doesn’t play well with Ajax. For the explanation, here are Igor 2 cents on it :
ajax doesnt work because probably the ajax request is redirected to
that page…that page is what gathers all the browser info through
javascript…
.
Maybe I am a bit picky, but to have such [...]
 Uwe Schaefer  Sunday, 5th of July 2009 at 04:59:04 PM
did you know? http://opensource.atlassian.com/projects/hibernate/browse/HHH-468. Note that this issue (like some of my favorite) is now open since 2005.
 Uwe Schaefer  Wednesday, 1st of July 2009 at 02:46:43 PM
Maven 2.2 released: http://maven.apache.org/release-notes.html
 Joseph Pachod  Tuesday, 23rd of June 2009 at 10:18:35 PM
I’m currently reading Refactoring from Martin Fowler. Overall, it’s an interesting book from which much could be said but tonight I would like to speak only of the “introduce Null object” hint provided in it.
The basic idea is pretty simple, instead of checking for null return from various call, just provide a “null object”. It [...]
 Uwe Schaefer  Thursday, 14th of May 2009 at 06:46:55 AM
Parleys shares “50+ Tips to Guice up your Java”-Talk from Crazy Bob, held at JavaPolis 2007.
 Uwe Schaefer  Sunday, 10th of May 2009 at 05:19:23 PM
this is awesome news. First of all, it is nice, that Spring and Guice find some common ground. More importantly, independence of any EEish API is absolutely necessary for this to become interesting.
Not that Guice needed a specification to back it up, but it is good to push it more into the mainstream.
 Uwe Schaefer  Thursday, 7th of May 2009 at 07:50:41 PM
i just asked this on the Wicket user list:
we have a problem here, which we think might be a common one, so i´d like to discuss.
from time to time we create models (mostly LDMs) that are not actually reachable by components. (yes, you can argue that this is stupid, but it happens where 1:1 mapping [...]
 Uwe Schaefer  Sunday, 8th of March 2009 at 10:06:31 PM
please note that Riena 1.0 was released. i´m really greedy on getting opinions about it, so if you should have tried it already, please drop me a note. One interesting sidenote: they seem to use Caucho´s Hessian as wire protocol.
 Uwe Schaefer  Friday, 23rd of January 2009 at 12:00:00 AM
even though Gavin King expectedly disagrees, i find this article
a very useful benchmark. not that [...]
 Uwe Schaefer  Sunday, 18th of January 2009 at 12:00:00 AM
awesome! did you have a look at the servlet 3.0 API PD?
[...]
 Uwe Schaefer  Monday, 12th of January 2009 at 12:00:00 AM
ahhh. doesn’t wicket offer a great model of programming webpages? isn’t it too easy to do things like this?
Java | copy |? add(new [...]
 Uwe Schaefer  Sunday, 11th of January 2009 at 12:00:00 AM
whenever you have any need for cron-like functionality within your java application, Quartz is the obvious chose for quite a long time now.
i did not need much of what quartz had to offer, so i [...]
|
|