• submit to reddit
Blaise Doughan02/22/12
0 replies

Mapping an Arbitrary List of Objects using JAXB's @XmlAnyElement and XmlAdapter

The @XmlAnyElement annotation enables a property to handle arbitrary XML elements, and the XmlAdapter provides a way to convert an object that can not be mapped into one that can. In this post we will combine these two mechanisms to map a list of arbitrary objects.

Jens Schauder02/22/12
1 replies

Where is the Science in Software Development?

If you check the scientific facts behind any advice of how to write code you are bound to find a void as empty as the space behind Pluto or a reference to some research done 30 years ago with 20 students doing a 4 hour assignement using different styles, languages or what ever. Correlation to my daily work? Approximately zero. Why don’t we have a set of plug ins that gathers various pieces of information about our code development efforts in a central public repository?

Raymond Camden02/22/12
1 replies

Make your Android PhoneGap app less scary

For folks who are used to doing native Android development, this is old news, but for folks who may be new to it and coming from a PhoneGap perspective, I wanted to share a quick tip with you to help make your apps a bit less "scary" for your users. What am I talking about? Whenever you install an Android application, the device checks the app's descriptor file to see what permissions the app needs to run. By default, a PhoneGap Android app will simply have them all enabled.

A. Jesse Jiryu Davis02/22/12
0 replies

Job vs. Dream Job: Career Fair Advice

If you're heading to a Career Fair anytime soon, be sure to check out the advice A. Jesse Jiryu Davis has provided, as it may just be the difference between landing a job, and landing the job of your dreams.

Mitch Pronschinske02/21/12
0 replies

Travis CI Gains Java, Scala, and Groovy Support

Travis CI is a hosted distributed continuous integration for the open source community. It has some features that aren't found anywhere else. It is integrated with GitHub and offers first class support for multiple technologies. Today the project has added support for Java, Scala, and Groovy!

Stoimen Popov02/21/12
4 replies

Algorithm of the Week: Bubble Sort

It’s weird that bubble sort is the most famous sorting algorithm in practice since it is one of the worst approaches for data sorting. Why is bubble sort so famous? Perhaps because of its exotic name or because it is so easy to implement.

Geva Perry02/21/12
0 replies

Surprise! Your Enterprise is Already Using the Public Cloud

Perry suggests that companies are adopting cloud computing services from the bottom up rather than the top down. He supports this by recognizing that, in most companies using cloud computing services, the decision is made by developers rather than the higher-ups.

Chris Smith02/21/12
0 replies

Apache HTTP Server v2.4 Released

The Apache Software Foundation celebrates the 17th Anniversary of the Apache HTTP Server today with the official release of v2.4, which receives considerable upgrades and improved Cloud compatibility.

Rafał Kuć02/21/12
1 replies

Simple Photo Search with Solr and Tika

Learn how Rafal Kuc built a simple photo search functionality that pulled JPEG metadata such as aperture, shutter speed, focal length or ISO value. It was all built using the open source Apache projects Solr and Tika.

Dave Farley02/21/12
0 replies

Devoxx Talk on Continuous Delivery Now Live

Dave Farley is co-author of the book "Continuous Delivery" which describes the use of high levels of automation and collaboration in the delivery process to ensure high quality software and a reduction in errors and late nights. His talk at Devoxx introduces the ideas of Continuous Delivery as a practical everyday process, using some of the techniques and technologies that LMAX employ in their development environment as an example.

Giorgio Sironi02/21/12
0 replies

The 7 habits of highly effective developers

The 7 habits of Stephen Covey can be applied to software development too. Let's start with the failure of an Internet connection.

Roger Hughes02/21/12
0 replies

Using Spring's SimpleMappingExceptionHandler

Spring’s @ExceptionHandler annotation can be used to deal with errors on a controller by controller basis to give you fine-grained control over how you handle errors in your code. The question to consider now is whether or not you always want such fine grained control, to which I’m guessing that in certain circumstances the answer will be no, and so to accommodate this Spring have provided us with the SimpleMappingExceptionHandler.

Dhananjay Nene02/21/12
3 replies

Why OSGi? Or Why Not Using It Makes Your JVM Runtime Unsafe

Not sure how long ago I started using OSGi. Perhaps it was 12 months ago or then perhaps 18. And yet I still find it painful using OSGi especially every time I bring in a foreign set of jars into the ecosystem. And yet I continue to be a dogged proponent. Here’s why.

Tim O'brien02/21/12
0 replies

What is NuGet? (for Java Developers)

NuGet and NuGet Gallery is a relative newly way for .NET developers and .NET open source projects to distribute binaries. Nexus provides first-class support for proxying, hosting, and grouping the NuGet package repository format. For whatever reason, there’s almost no overlap between Java developers and .NET developers, so I think it’s important to talk about NuGet in terms Java developers can understand.

Rob Williams02/21/12
2 replies

The Relational Belt and Suspenders

The most common approach to doing Java is with an ORM connecting to a relational database. So who is responsible for data integrity in this scenario? The database has a constraint language. I have almost NEVER seen anyone who used it even slightly, let alone completely. For instance, if you define a column called age in your person table, do you have a check constraint that the value is not negative? No, of course you don‘t. Hibernate and JPA have facilities for validating data. Aren‘t all engineers trained to believe in the singularity of responsibility?