Archive for the 'Java' Category
I've been using some proprietary frameworks and libraries, that are using Files objects, and only File objects, everywhere in the interfaces. It's not that is bad to have methods accepting File objects, but it's not wise to accept only that. For example the DOM/SAX XML parser in the JDK, accept File object but includes also [...]
Since it has been introduced in JDK 1.5, I have loved the Executor abstraction over multi threaded execution. Basically you define tasks, implementing Runnable or Callable interfaces, and you submit those tasks to an Executor implementation, knowing that before or later the task will be processed. It's the Executor who knows how the tasks must [...]
This is video is quite recent, but already very popular. It’s a parody of Lady Gaga songs, about Java. Looks like Oracle is gonna benefit of the Java wave even though they already declared themselves as bad asses, more interested on money and control than on technology. Java rocks, and ever will. Despite Oracle.
Converting JavaBeans to XML and viceversa is quite a common task, and there are tons of libraries around for this purpose. But I always like to use what is already available in the JRE, avoiding dependencies as much as possible. In the past I and Simone developed a rest API using the JSR57 serialization, that [...]
Local repository modules are useful when your project depends on some jars that cannot be found in any public or proprietary repository. In such cases, you have two choices: importing the jar in your local repository manually before running the build, as suggested in the mvn faq, or make your build process do it for [...]
A super funny video about a young and rebel Java developer grown in a Microsoft family. Hope you'll enjoy as I did. I think the original source of the video is here.
Yesterday I wrote a post to explain how to link Android sources in Eclipse. If you use a different IDE, probably you can't have Eclipse facilities but it may be easier to have the sources "in line" with the android library. For myself usage I packed the android sources into some jar files. To have [...]
Attaching sources to android.jar in Eclipse
12 Comments Published May 17th, 2010 in Android, Apple, Eclipse, Java, LinuxIf you are working with the Android Development Toolkit (ADT) for Eclipse you may have noticed that the sources for android.jar are missing. The Android SDK comes without the sources, and even if you manage to download the source code for the Android library, the ADT does not allow you to attach the sources to [...]
Many modern computers and network enabled devices support the functionality to be turned on remotely. This is commonly referred as Wake on LAN or Remote Wake-Up. Technically this is done sending a datagram packet in broadcast to all the computers in the same network, on any port (the usual one is port number 7); the [...]
Top 3 things to do to make better software
8 Comments Published April 16th, 2010 in Java, Life, universe and everything, Opinions, SoftwareSome time ago, I've answered to a job interview question which was sounding more or less like: «suppose you have 20 minutes to talk to an audience of junior developers about what have been the lessons you learned from your software development experience, and resume that in three points, about what a good developer shall [...]
Search
About
You are currently browsing the NewInstance weblog archives for the 'Java' category.
Longer entries are truncated. Click the headline of an entry to read it in its entirety.Calendar
| M | T | W | T | F | S | S |
|---|---|---|---|---|---|---|
| « Jan | ||||||
| 1 | 2 | 3 | 4 | 5 | ||
| 6 | 7 | 8 | 9 | 10 | 11 | 12 |
| 13 | 14 | 15 | 16 | 17 | 18 | 19 |
| 20 | 21 | 22 | 23 | 24 | 25 | 26 |
| 27 | 28 | 29 | ||||
Archives
Categories
- Android (3)
- Apple (26)
- Books (7)
- Eclipse (14)
- Errors (3)
- Firefox (7)
- Git (2)
- Hardware (16)
- Horror Code (8)
- Internet (18)
- Java (98)
- JavaScript (9)
- Life, universe and everything (45)
- Lifehacks (25)
- Linux (50)
- Opinions (25)
- OSX (4)
- Python (1)
- Software (27)
- Speeches and Conferences (8)
- Unix (3)
- Web (21)
- Windows (19)
Tag Cloud
Android apple architecture Bash colors configuration CSS Development Düsseldorf Eclipse germany Git Google Hardware hdr How-To Java JAXB job junit Karmic Linux MacBook music night Open Source Opinion oracle OSX patterns Pitfalls Practices Resume Security Software Suspend TDD Testing tip tonemapped Tricks Ubuntu video Web XML
WP Cumulus Flash tag cloud by Roy Tanck and Luke Morton requires Flash Player 9 or better.



