Posts Tagged java

Lookup Logic For Native Libraries in Java

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 post

No Comments

Analyzing Dependencies Java

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 post

No Comments

VS 2010, Resharper 5.0, JIT geek stuff and Doctor Who

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 post

, , , ,

No Comments

Managing 1:N and N:N Object Relations

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 post

,

1 Comment

What Am I Working On?

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 post

, ,

No Comments

Throwing Checked Exceptions Like Unchecked Exceptions in Java

  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 post

,

No Comments

db4o: Queries in Java or Queries Without LINQ

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 post

,

1 Comment

db4o: Persistent Classes Tips

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 post

, ,

No Comments

C vs Java, Doctor Who and Slow Club

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 post

, , ,

1 Comment

Arg…apache.org down, Java on 1000 Cores

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

,

No Comments