Archive for the ‘Java’ Category
Posted by
admin on October 8th, 2008 in
All,
Java |
3 Comments
Don’t get me wrong, Hibernate is a great tool written by very smart people, but I keep wondering how this technology has become so popular.
Maybe it’s just me, but for the past 3 years now I have not come across one single developer that grasps half of the concepts needed to understand how Hibernate works. [...]
Read more
Posted by
admin on October 4th, 2007 in
Java |
No Comments
For a while I’ve started counting the number of external JAR’s i’m using in a given project. I usually try to make sure that every one of them is “needed”. Now as a rough statistic, the last 3 projects I worked on had
34 Mb dependencies (cocoon project – lot of XML stuff
30 Mb [...]
Read more
Posted by
plosson on June 26th, 2007 in
All,
Java |
4 Comments
Since i needed this for a project, I thought it was worth a post.
Basically I needed to watch a directory for incoming files and perform a given action based on the owner of the file, in Java.
For the polling part, no problem, but how can I get the owner of a file in Java ? [...]
Read more
Posted by
plosson on January 6th, 2006 in
All,
Java |
63 Comments
Don’t laugh .. I did not get any comments from my previous post (normal, nobody reads this blog except me ), so I decided to take the time to put together a little sample of a Java AJAX file upload progress bar example.
For people who never used DWR, it can also serve as a [...]
Read more
Posted by
plosson on January 5th, 2006 in
Java |
2 Comments
Here is a little addition to the Jakarta File Upload library to allow to monitor the progress of the file upload.
An OutputStreamListener can be used with a MonitoredDiskFileItemFactory. It will be informed of the progress of the HTTP file upload.
To implement a nice AJAX upload progress bar, here is how I did it :
Use DWR [...]
Read more