Knowm.org
  • Home
  • Shop
  • Services
  • Blog
  • About
  • Contact

Tags Archives: Java

  • Home
  • Java

A Random Tomcat Error

  • 2013-01-06
  • Tim Molter
  • Technical
  • 0 Comment

Here’s another nano-blog that will hopefully help someone solve a Tomcat error that I was dealing with today: java.lang.NoSuchMethodException: org.apache.catalina.deploy.WebXml addServlet The problem was that I was deploying catalina.jar within my .... read more

Set Tomcat’s Default Locale

  • 2013-02-01
  • Tim Molter
  • Technical
  • 0 Comment

If for whatever reason you want to set the locale in Tomcat you simply need to add two jvm arguments in the catalina.sh file found in the bin directory of the Tomcat installation. I was able to set the default locale for Tomcat to US/en on a Mac running M... read more

Iterating through a Collection in Java

  • 2013-02-19
  • Tim Molter
  • Technical
  • 0 Comment

There are three common ways to iterate through a Collection in Java using either while(), for() or for-each(). While each technique will produce more or less the same results, the for-each construct is the most elegant and easy to read and write. It doesn... read more

A Practical Guide to Uploading Artifacts to Maven Central

  • 2013-03-26
  • Tim Molter
  • How To, Technical
  • 0 Comment

This blog post takes you through the steps you need to take to get your Java artifacts (Jars, JavaDocs, Sources, etc.) uploaded to Maven Central. In a nutshell, the main steps are required: 1) Create your JIRA account and create a new project ticket decla... read more

Get Day of Week from Date Object in Java

  • 2013-04-23
  • Tim Molter
  • Technical
  • 4 Comment

To get the day of the week from a java.util.Date object, we can use the java.text.SimpleDateFormat class. First, create a Date object. Next, create a SimpleDateFormat instance using the getDateInstance() method, passing the String “E” or ̶... read more

Configure Travis CI to Deploy Snapshots

  • 2013-05-10
  • Tim Molter
  • How To, Technical
  • 0 Comment

In order to deal with the amount of different projects Knowm Inc. is currently managing, both open source and commercial, we jumped at the opportunity to move all of our OSS projects over from an in-house Jenkins CI to a free hosted Travis CI service. Doi... read more

Convert an Array into a LinkedList in Java

  • 2013-07-28
  • Tim Molter
  • How To, Java, Technical
  • 0 Comment

To convert an array into a java.util.LinkedList we can use the java.util.Arrays class’s asList() method. The Arrays class in the java.util package provides a utility method to convert an array to a List. The Arrays.asList() method will convert an ar... read more

Exploring Bird Song with a Spectrogram in Java

  • 2014-03-05
  • Tim Molter
  • Technical
  • 0 Comment

As part of Xeiam’s Datasets open source project, we’ve built a basic WAV audio file explorer which displays the spectrogram and waveform of ten second audio clips of birdsong from the HJA Birdsong machine learning dataset. Since this project i... read more

Migrating DropWizard From 0.6.x to 0.7.0

  • 2014-05-26
  • admin
  • Technical
  • 0 Comment

Migrating to Dropwizard version 0.7.0 was anything but straightforward so I thought I would share some of the migration changes need for upgrading to the latest release of from version 0.6.x. The Release notes are a good place to start, but beyond that an... read more

Migrating DropWizard From 0.7.x to 0.8.0

  • 2015-03-14
  • Tim Molter
  • Technical
  • 0 Comment

Migrating to Dropwizard version 0.8.0 was easier than the update from 0.6.x to 0.7.0, but there were still some hang ups, so I thought I would share some of the migration changes need for upgrading to the latest release of from version 0.7.x. The Release ... read more

  • 1
  • 2
  • 3
  • Next »

©2015-2019 Knowm Inc. All rights reserved.