This post is a followup to what is now part one, of my research into using Ehcache, JMS, Nevado, AWS, SNS and SQS to permit cache events to be replicated across different data-centers. @see https://github.com/bitsofinfo/ehcache-jms-wan-replicator In my first post I was able to successfully get Ehcache's JMS Replication to function using Nevado JMS as the provider after patching the … Continue reading Part 2: Nevado JMS, Ehcache JMS WAN replication and AWS
Tag: Java
Ehcache replicated caching with JMS, AWS, SQS, SNS & Nevado
Read part 2 of this research here Recently I've been researching ways to GSLB a very large app that relies on Ehcache for numerous things internally such as; cached page output, cached lists etc etc. Anyone who has experience getting large scale applications to function active-N in a GSLB'd setup knows the challenges such topologies present. … Continue reading Ehcache replicated caching with JMS, AWS, SQS, SNS & Nevado
Deserializing Modsecurity Audit logs with Apache Flume
This post will be updated in the coming days/weeks, however when looking at using Apache Flume to ingest some ModSecurity Audit logs, it quickly became apparent that Flume's SpoolingDirectorySource lacked the ability to de-serialized "events" from a file that spanned many "new lines" (\n). Lacking this support, and seeing that an outstanding ticket already existed … Continue reading Deserializing Modsecurity Audit logs with Apache Flume
Dropwizard Java REST services
To sum it up; Dropwizard rocks. I've done quite a bit of WS development both the on client side and server side; interacting with both SOAP, REST and variants of XML/JSON RPC hybrid services. For my latest project I need to expose a set of REST services to a myriad of clients: phones, fat JS … Continue reading Dropwizard Java REST services
JBoss and BouncyCastleProvider – SecurityException : “cannot authenticate the provider”
Are you having problems trying to use the BouncyCastleProvider from your app on Jboss 5.x + (i.e. like the errors listed below)? If so and you don't want to spend hours trying to workaround this issue in Jboss, just follow this guy's instructions and get back to business: http://www.randombugs.com/java/javalangsecurityexception-jce-authenticate-provider-bc.html Some background regarding this Jboss issue … Continue reading JBoss and BouncyCastleProvider – SecurityException : “cannot authenticate the provider”
USPS AIS bulk data loading with Hadoop mapreduce
Today I pushed up some source to Github for a utility I was previously working on to load data from USPS AIS data files into HBase/Mysql using Hadoop mapreduce and simpler data loaders. Source @ https://github.com/bitsofinfo/usps-ais-data-loader This project was originally started to create a framework for loading data files from the USPS AIS suite of … Continue reading USPS AIS bulk data loading with Hadoop mapreduce
Review: Real World Java EE Patterns
I picked this book up a while back after looking for a book on Java EE patterns. The mainstream standard seemed to be the Core J2EE Patterns book, but the more I looked at it it just seemed outdated. So when I found Adam's book just the title looked practical "Rethinking Best Practices". So in … Continue reading Review: Real World Java EE Patterns
Book Review: Solr 1.4 Enterprise Search Server
This is a book review of Solr 1.4 Enterprise Search Server, by David Smiley and Eric Pugh I picked up this book after hearing about Solr. I was looking into Drupal and trying to see what indexing engines were available for it and the only option that seemed to fit the bill was Solr. It … Continue reading Book Review: Solr 1.4 Enterprise Search Server
Gotcha! Tomcat strict quote escaping
So I was recently upgrading an older application from Tomcat 6.0.16 to 6.0.20 and started to see a JasperException appear on several JSP pages I was testing. The exception stated something similar to the following: [insert your var here] is quoted with " which must be escaped when used within the value.. So I looked … Continue reading Gotcha! Tomcat strict quote escaping
Book Review: Java SOA Cookbook
This is a review of the book Java SOA Cookbook by Eben Hewitt Not having much experience with "SOA", other than a horrible experience with Apache Axis years ago, I figured it would be good to pick up a book that covers the latest and greatest in this field. "Java SOA Cookbook" is quite the … Continue reading Book Review: Java SOA Cookbook