Posts Tagged java
Lookup Logic For Native Libraries in Java
Posted by gamlerhart in java on July 26, 2010
If you want to do something in Java, there’s certainly Java library which helps you with to achieve your goal. However, for some stuff (3D rendering, accessing I/O devices) the Java API’s are not enough and you need to interact directly with the target platform. In such cases, you need to use the Java Native [...]
Read complete postAnalyzing Dependencies Java
Posted by gamlerhart in java on July 20, 2010
As software developers, we use daily some nice libraries to archive our goals. Of course, the libraries authors also use libraries to get the job done. In practice libraries have a some transitive dependencies. Just take a look a Hibernate, which is brings tons of libraries. Normally the dependencies are documented somewhere, so that you [...]
Read complete postVS 2010, Resharper 5.0, JIT geek stuff and Doctor Who
Posted by gamlerhart in .NET, Media Zap Oh Snap, java, software-development on April 14, 2010
Visual Studio 2010 is here, and I will upgrade soon. Unfortunately the pricing is unfair for us Europeans =(. Just in time for the VS 2010 the new version of Resharper is here. \o/ Cliff’s posts about the work of a JIT-compiler are always fun to read. First a post about call conventions and mixing [...]
Read complete postManaging 1:N and N:N Object Relations
Posted by gamlerhart in .NET, java, software-development on March 15, 2010
When you design a domain model you normally have lots of 1:n and n:n relations. Many developers are quite familiar how to translate such relations into a relational model. But how do you translate such relations into an object-model? There’s no hard guideline for that. In this post I explain what I usually do. The [...]
Read complete postWhat Am I Working On?
Posted by gamlerhart in 42, java, projects, software-development on February 4, 2010
I’m currently extending the dSail System-software. The idea is to provide real-time data about the air flow on a sailing boat. This information can help you tweaking the sail position to reach the highest speed possible. In order to get this data sensor-nodes are attached to the sail. Each node has multiple sensors, like pressure, [...]
Read complete postThrowing Checked Exceptions Like Unchecked Exceptions in Java
Posted by gamlerhart in java on February 3, 2010
Everyone who’s programming Java knows checked exceptions. You only can throw a checked exception when you’ve declare it. And you have to catch an checked exception, no matter whether it actually can occur. First my opinion: I think check exception are a failure. The intention was good, but in practice they cause pain, boilerplate-code [...]
Read complete postdb4o: Queries in Java or Queries Without LINQ
Posted by gamlerhart in db4o on October 26, 2009
Before I continue with client-server concurrency I explain how to run queries against a db4o database without LINQ. Most of the stuff in db4o works on every platform. The API is nearly the same in Java and .NET, except the different naming-convections. The lucky .NET developers have one big advantage over Java, they have LINQ [...]
Read complete postdb4o: Persistent Classes Tips
Posted by gamlerhart in db4o on October 6, 2009
In the last four posts I’ve mostly talked about db4o itself and how to used it. All this is actually just the necessary evil for our goal, to persist our data. So here are some very basic tips how to model your persistent classes for db4o (well it applies also to other technologies). (All posts [...]
Read complete postC vs Java, Doctor Who and Slow Club
Posted by gamlerhart in 42, java on September 27, 2009
Normally C- vs. Java-performance comparisons are wonderful and entertaining flame-wars. However this blog-post is very reasonable and each argument justified. I’ve stumbled by accident on a hand-cam-quality teaser of Doctor Who, End of Time from Comic-Con. Of course it contains a spoiler, but not a surprising one. But one thing after another, I’m waiting for [...]
Read complete postArg…apache.org down, Java on 1000 Cores
Posted by gamlerhart in 42, software-development on August 28, 2009
I just wanted to download some libs and tools from apache.org this morning. However the site is down, due a compromised SSH Key. =( Meanwhile you could watch this geeky-talk about the Azul-System. They produce high scalable Java-Systems. Update: apache.org back up running \o/
Read complete post