Tracking MailChimp List Changes in Java

In the previous two articles, MailChimp and Java Integration Part 1 and Part 2, we discussed how you can update your MailChimp list from a Java application. This article is to show how to do the opposite, have your Java application get notified when there are changes to your MailChimp list (e.g. unsubscribes or bounced emails).

To do this there are just two steps that need to be taken:

  1. Create a Java Servlet which will listen for a POST request and then take the appropriate action when called.
     
  2. Setup your MailChimp List with the necessary information so it will know where to POST any changes. Continue reading
Posted in Java | Tagged , , | Leave a comment

DataGrid, Fixed Footer

The first attempt (click here) to do a DataGrid footer was somewhat successful but had problems with redrawing the footer under numerous conditions. This version simply adds an additional row to the data source and manages the sorting to always keep it at the bottom. It works nicely but does not insure that the row is always visible, just that it is always the last row. If this is sufficient for you, then read on. Continue reading

Posted in Adobe Flex | Tagged , , , | 2 Comments

MailChimp and Java Integration – Part 2

In the previous article, we showed how to connection your Java application to MailChimp using the MailChimp api and the XML-RPC library provided by Zviki Cohen at nWire Software. The code in the article also provided a method to initialize the MailChimp mailing list by using the batch upload function in the api. This article will finish off the MailChimpHandler class by adding functionality to add, remove and update records to an existing list. Continue reading

Posted in Java | Tagged , , | 5 Comments

MailChimp and Java Integration – Part 1

MailChimp™ is a great online email marketing site. It is extremely easy to use and provides tools to manage your email lists, build attractive HTML email campaigns, and track how those campaigns performed. On top of that, it offers a free account for smaller companies. How can you beat that? Those of you who are Java programmers might want to integrate your application with MailChimp. If so, then this is for you. These two articles are going to show you how to automatically create and update your MailChimp list using Java. Continue reading

Posted in Java | Tagged , , , | 6 Comments

Styling DataGrid rows with an Item Renderer

I had a need to bold the data in only one row of a Flex DataGrid. There were some solutions posted on-line (especially ninjacaptain) but honestly I could not get them to work the way I wanted. So, using their examples as a starting place, I created an extremely simple ItemRenderer which would bold the row desired. The key to getting it to work is to have some property in your dataProvider which you can use to determine whether to bold or not. Continue reading

Posted in Adobe Flex | 1 Comment

DataGrid Footer

I was enjoying the enhancements made to the DataGrid control I found on Doug Marttila's site, who in turn was working from an original update made by Alex Harui. However, I found that the footer did not work correctly when you make columns visible/invisible, especially horizontal scrolling. Continue reading

Posted in Adobe Flex | 5 Comments