Subscribe

Archive for the ‘howto’ Category

Continuous Deployments: This is how lean startups roll!

Thursday, February 25th, 2010

The Lean Startups movement has produced several important and successful techniques that can yield benefits to all types of organizations. One of these is continuous deployment — a process in which all code written for an application is immediately deployed into production. The result is a dramatic reduction in the development cycle time and the freeing of individual initiative.  You can read about it here as described by Eric Ries.

Implementing the continuous deployment methodology can be difficult if you are developing Java EE applications, which come with inherent delays associated with the complexity of deployment and restart times for most Java EE servers. However, if you are using a lightweight, efficient application server such as Apache Tomcat, you have an advantage.

(more…)

Dynamic App Runtime Updates in Mule

Tuesday, February 23rd, 2010

Mule community member, author, and consultant Eugene Ciurana recently discussed a technique for extending or modifying the run-time code in Mule without stopping the server, greatly reducing development time for Mule apps.

(more…)

Upcoming Webinar: Seamless Webapp deployment with Maven and Tcat Server

Wednesday, February 17th, 2010

Are you frustrated with how hard it is to build and manage your web applications? Are you looking for a way to automate your webapp release and deployment processes? And for a way to easily manage upgrades and rollbacks to groups of Tomcat servers?

Join Dan Diephouse, Sr. Architect at MuleSoft, and Jason vna Zyl, founder of Maven and Sonatype, for a webinar on Seamless Webapp Deployment with Maven and Tcat Server.

(more…)

Start Me Oh So Gently

Thursday, December 17th, 2009

A common question Mule ESB users have is: How do I perform some actions on Mule startup? Well, the fact is one can do it many ways, including:
(more…)

Saving Time Using Tcat Server’s Centralized Configuration Management

Thursday, December 17th, 2009

For those of you who are using Apache Tomcat in QA, staging, or production, I have no doubt that periodically you end up in the situation where you need to configure Tomcat’s server.xml, catalina.properties, logging.properties, and/or other Tomcat configuration files so that your webapps run the way you need them to run. Even though Tomcat allows us to configure the webapp’s <Context> in a separate file from server.xml, and even though Tomcat allows context.xml in the webapp’s META-INF directory that can be bundled as part of the webapp, that’s almost never enough to configure everything that the webapp needs. The <Context> tag by itself is just not self-contained to the point where you don’t also have to configure other important things in Tomcat’s server.xml to go along with your webapp’s <Context> configuration. (more…)

The new @Schedule annotation in Mule and iBeans

Thursday, December 17th, 2009

Scheduling is great, it really is. It’s also very useful for application integration since we often have to repeat tasks of over time interval or schedule tasks for a date in the future. Mule has had scheduling support since version 1.1 with the Quartz connector, now with iBeans scheduling just got easier. iBeans offers a annotations-based API for performing common integration tasks such as sending email, subscribing to a JMS queue or polling an ATOM feed.
(more…)

Using JSON bindings with iBeans

Tuesday, December 15th, 2009

JSON, short for JavaScript Object Notation, is a lightweight data interchange format. It is a text-based, human-readable format for representing simple data structures and associative arrays (called objects).

Many REST services use JSON as the preferred data format (including Tcat Server’s REST API). JSON provides a much simpler model for data representation and is widely used in AJAX programing.

iBeans support binding JSON data to objects and marshaling Java objects to JSON using the excellent Jackson Framework.
(more…)

Twitter your Blog with iBeans

Wednesday, December 9th, 2009

Most websites offer RSS or ATOM feeds for news or updates, and iBeans makes it easy to consume these feeds. In this example, I will create a simple object that will read new entries from my blog and publish a summary of them on Twitter. Note that the example assumes that you have iBeans installed.
(more…)

Getting Started with iBeans in Eclipse

Wednesday, November 11th, 2009

This screen cast takes you through all the steps necessary to download and set up iBeans, Tomcat and Eclipse. Then there is a walk-through of how to create a simple echo example (using AJAX) and test/debug the application on Tomcat. Yes, this is 11 minutes but it does walk through all the steps and provides a lot of additional detail. Grab yourself a beverage and take the the tour!

Useful Links
- iBeans Download
- Eclipse Plugin information – including plugin site URL.

iBeans introductory screencast

Wednesday, November 4th, 2009

I just finished an iBeans screen cast that provides an overview of iBeans and provides a detailed tour of one of the examples that ships with the latest distribution. The example demonstrates how to schedule a task and perform bi-directional AJAX communication with the browser to plot geo-coordinates onto a map. This is the first in a series of screen casts for iBeans, the next one will demonstrate how to create an iBeans project in Eclipse. Stay tuned! (more…)