Java Tag

[caption id="attachment_11460" align="alignright" width="240"] Via Creative Commons from OliBac[/caption] One option for detecting memory leaks in Java is the analysis of heap dumps. The first step is to create an HPROF heap dump from the running Java application, the second is the analysis of the dump with an appropriate analysis tool like jvisualvm or Eclipse Memory Analyzer (MAT). Wanting to do the first step for...

Read More

Over the last years I have seen many OSGi project, and while I am pretty happy with most of them there is a tendency to oversized launch configurations. Keeping the launch configs lean is not easy because the automatic dependency resolver can not always pick the smallest set possible. And maybe even worse it is not always obvious which bundles you need to select to...

Read More

Happy New Year from the Tabris Team! We are having an exiting start into the new year with another release of Tabris, Tabris 0.10.0. The focus of the latest release is user experience. We added support for typical mobile interactions like swiping, back button navigation in trees, and improved visual touch feedback. Page Navigation with Gestures (Swiping) One of the most commonly used gesture on mobile devices is...

Read More

There's good news for our OSGi JAX-RS Connector. We've added a consumer implementation that gives you the opportunity to reuse your @Path/@Provider interfaces to consume REST services in a generic way. Over the last few weeks I'd used this consumer a lot and decided that it should go into this release of the connector. So, today I'm proud to present the OSGi JAX-RS Connector 2.2.0....

Read More

Recently we implemented an algorithm for a customer product that involved complex data structures for calculating conflicts in concurrent data updates. A performance critical part of the algorithm required comparing whether two elements are in the same set or not and additionally, required calculating the union of sets of elements. While the first operation is pretty fast with a HashSet (constant time), the later is...

Read More

I recently introduced you to the JAX-RS Consumer. If you've read that post you might remember that I promised to write about the OSGi integration of the consumer. This is the topic of this short post. As you might know, a while ago I created the OSGI-JAX-RS connector. This connector gives you the opportunity to publish your @Path/@Provider resources by registering them as OSGi services. So,...

Read More

When creating a REST API with Java you probably go with JAX-RS . It's a nice and well thought-out standard. Having the services encapsulated as plain Java objects with some annotations feels good to me. But this is all different when it comes to consuming REST services. During the last month I have searched for libraries that meet the following expectations: I don't want to mess...

Read More

As a software developer you will use plenty of frameworks during your career. There are the big beasts like Spring, ActiveMQ or OSGi that you have to master in order to build the foundations of your applications. And then, there are the small frameworks. Let's call them lightweight tools. Like a carpenter, the lightweight tools are kept in a toolbox. The carpenter will use industrial...

Read More