Java Tag

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

Two months ago the OSGi JAX-RS was released in Version 2.0. Today I'm proud to announce Version 2.1. In addition to minor improvements, a new feature was added based on the work of Dirk Lecluse. It's now possible to register @Provider annotated objects as OSGi services. The @Provider annotation is used to register custom de/serialization. Now you can implement a custom MessageBodyWriter, MessageBodyReader, ContextResolver or ExceptionMapper,...

Read More

I've met many programmers over the years who had just started using Eclipse or already had "some experience" -- but they used Eclipse just as a text editor or handled it in a very cumbersome way. The main problem was that they hadn't yet learned about Eclipse's capabilities and how to leverage its powerful features. So, I thought I would write about my top 10 recommendations...

Read More