Skip to content

Communities

Poll: Which HTML5 Refcard Would You Like To See Next?

So it looks like our new HTML5 Canvas Refcard proved interesting to you, our excellent DZone readers. Our general HTML5 Refcard has received a lot of downloads too -- so we've decided to go all-out and publish a whole series of Refcardz on emerging web technologies. The massive tangle of new features, APIs, etc. that generally goes by 'HTML5' (whether...
Categories: Communities

Continuing Coverage of New Java 7 Features and APIs: Video Tutorials

TheServerSide.com - 6 hours 50 min ago
Here at TheServerSide.com, we've obviously been giving some very decent coverage to the new features of Java 7, with a look at tackling some of the new Java 7 APIs like the new File I/O (NIO.2) and concurrency libraries with tutorials and learning guides. To compliment our tutorials on the new Java 7 features, we're kicking off a new set of online video tutorials demonstrating what Java 7 has to offer.

Add to digg Add to StumbleUpon Add to del.icio.us Add to Google
Categories: Communities

Playframework + Google Guice

TheServerSide.com - 7 hours 45 min ago
In this article we'll see how to integrate Google Guide with a Play Framework web application.

Add to digg Add to StumbleUpon Add to del.icio.us Add to Google
Categories: Communities

Make your process your Rock Star, not individuals

I recall a few jobs ago I was managing the Systems Engineering team and trying to grow it into a group that could handle the daily onslaught of issues that would plague our service. We had recruiters working on sourcing folks & we felt like we had very high standards for who we wanted to hire. We talked to and turned away probably hundreds of folks it felt like (I got really good at...
Categories: Communities

Document language identification

One of the features of the latest Solr version (3.5) is the ability to identify the language of the document during its indexation. In today's entry we will see how Apache Solr works together with Apache Tika to identify the language of the documents. At the beginning You should remember that the described functionality was introduced in Solr 3.5. Preview Text:  ...
Categories: Communities

POJOMapping in Jersey for type-safe clients

Over on his blog, Jason Lee has a detailed post on the new POJOMapping feature in Jersey/GlassFish which offers strongly-typed client API's and illustrates this with a GlassFish Cluster administration sample.

POJOMapping Client/Server Example"> ALT_DESCR

The post shows how to enable POJOMapping with a Jersey servlet initialization parameter and goes on to show the Cluster domain model. An archive with the entire sample is available there.

Java.lang.VerifyError: Expecting a stackmap frame at branch target – JDK 7

Right now, when I try to persist an object in Google App Engine, I’m facing the error “Java.lang.VerifyError: Expecting a stackmap frame at branch target“. I’m using JDK 7 and it seems like the problem lies with this JDK. After googling a bit, I found that there seems to be two solutions to fix this problem. Solution 1: Change to JDK 6 As simple as is, change your JDK to version 6 and you...
Categories: Communities

Documentation that is useful

I was reading this article by Neil Mcallister on his Fatal Exception blog entitled "How to get developers to document their code". Now it begs the question: What documentation is actually useful? Well, like all things in general I don't think it's a simple answer, best I could say is; what works well in your context. Preview Text:  I...
Categories: Communities

Adding Version Information to your JAR’s Manifest

One of the handy things about using Maven is that, by default, the names of the artifacts it creates include the current version number from the POM's version tag. It doesn’t matter what type of artifact it is, whether it’s a JAR, WAR or EAR you generally end up with something like this: Preview Text:  One of the handy things about using...
Categories: Communities

A Simple Reminder for Maven/Gradle/Ivy Users: Proxy Central

Over the course of the past few years, I’ve interacted with hundreds of people when talking about build tools and repository management. It continues to surprise me how many people don’t realize where these artifacts come from. When you run a build and these JARs just show up alongside all of their dependencies, it’s like magic to most people. If you know how it works, it’s very...
Categories: Communities

Refreshing AppFuse's UI with Twitter Bootstrap

The last time AppFuse had an update done to its look and feel was in way back in 2006. I've done a lot of consulting since then, which has included a fair bit of page speed optimization, HTML5 development and integrating smarter CSS. It was way back in '05 when we first started looking at adding a CSS Framework to AppFuse. Preview Text:  ...
Categories: Communities

Building updated packages for sun-java6 6u30

Recently, Oracle withdrew the ability for Linux distributions to repackage Java and distribute their own packages.  This has been widely regarded as a bad idea.  I tend to agree. So, let's re-roll an old sun-java6 deb file, with a new content to contain the latest 6u30 java release. You will need:    Preview Text:  Recently, Oracle...
Categories: Communities

How To: Install graylog2 on CentOS 5 with RVM + Passenger

Graylog2 is an open-source self-hosted centralized log management tool. Think of it as a do-it-yourself version of loggly.com, or perhaps a simpler alternative to Splunk. Logs are stored in a MongoDB database. I won’t go into too much detail, so if you want more info check out graylog2.org Preview Text:  I decided to see if RVM – Ruby Version...
Categories: Communities

Informer is dead: long live Informer!

Well, who’d have guessed it? After two long years, the new edition of Informer is finally out. Preview Text:  Read several articles by search experts like Charlie Hull and Tyler Tate. A great resource for enterprise search followers. Mitchell Pronsc...
Categories: Communities

The Best Default Setting is not to Have a Setting

It is easy to think that letting users change all aspects of an app UI makes the UI better. We've all heard the "if they don't like it they can change it" argument. It is also very easy to come up with theoretical scenarios where users would actually want to change any one aspects of the UI.  Preview Text:  It is easy to think...
Categories: Communities

jOOX and XSLT. An XML love story, continued

The somewhat functional way of thinking involved with jOOX’s XML manipulation cries for an additional API enhancement simply supporting XSLT. XSL transformation has become quite a standard way of transforming large amounts of XML into other structures, where normal DOM manipulation (or jOOX manipulation) becomes too tedious. Let’s have a look at how things are done in standard Java ...
Categories: Communities

Getting started with the Sensu monitoring framework

I’m excited about Sensu, a new open source monitoring framework, and I’d like to help others get started with it as well. So, after observing the frequent questions from new visitors to #sensu on Freenode I thought perhaps the best way to do that is to write a blog article to help folks get started. If you still have questions after reading this, feel free to come by #sensu on...
Categories: Communities

Using the Android Parcel

A short definition of an Android Parcel would be that of a message container for lightweight, high-performance Inter-process communication (IPC). On Android,  a "process" is a standard Linux one, and one process cannot normally access the memory of another process, so with Parcels, the Android system decomposes objects into primitives that can be marshaled/unmarshaled across process...
Categories: Communities

Master/worker or P2P Grid? How about You choose?

What is possible? Simple master/worker topology In its initial design, JPPF is a distributed parallel processing framework based on a master/worker architecture. A JPPF grid is made of 3 sorts of components that communicate with each other: clients which submit the work to the grid, nodes which execute the work, and servers which receive the work from clients and distribute it to the nodes in...
Categories: Communities

I don't like NullPointerExceptions

I don't like NullPointerExceptions. Actually I don't like the message of NullPointer Exceptions, i. e. "null". Such a message is usually not very helpful. I created a few rules for myself how to avoid certain exceptions and actually define pre- and post-conditions for methods. Let me please give you a few examples. In the beginning of a non-private method I usually check all method...
Categories: Communities