Springing into Tcat

Reading Time: 9 minutes

Spring has become a highly popular framework for the development of web applications, thanks to a compelling support for web features, both at its core and within extensions modules. When it comes to deployment time, Spring shines again by its container agnosticism. Because Spring web applications are pretty much self contained, they can get deployed on any JavaEE container. With a plethora of containers available, picking one can be a daunting task.

As you may know already, MuleSoft Tcat Server is a plain vanilla Apache Tomcat enriched with management web applications in order to deliver state-of-the-art application provisioning, configuration management and monitoring capabilities.

In this post, we’ll look at two scenarios where deploying on Tcat can help you to go further with your Spring web applications. For this, we will leverage Tcat’s configuration profile mechanism that, among other things, allows an orderly deployment of files anywhere within a Tomcat’s directory hierarchy.

Continue reading

RESTx version 0.9.4: JavaScript everywhere, MIME types and more

Reading Time: 12 minutes

Version 0.9.4 of RESTx – the fastest way to create RESTful web services – has just been released. The main features introduced by this version are the ability to write components in server-side JavaScript, the addition of a JavaScript client library and much improved handling of content types for input and output. You can download it now.

Continue reading

Sweet XML: How pattern-based configuration will sugarize your Mule

Reading Time: 4 minutes

Configuring Mule involves XML, and though using a decent XML editor can help a lot (thanks to the contextual help it provides from Mule’s schemas), there is still a enough angle brackets to warrant a coffee break as projects get more complicated.

As the number of services in a Mule project increases, so does the amount of noise in its configuration files, making it harder to understand and maintain them. We recommend splitting service configuration files, but in Mule 3 we’ve decided to go further and tackle this problem with the introduction of pattern-based configuration.

Continue reading

It’s a Boy! It’s a Girl! It’s a “Mule Application”!

Reading Time: 2 minutes

Mule 3 GA is getting closer with each day, and brings numerous updates with it. Welcome a new member of the Mule family – a “Mule Application”!

What’s in the name? Some of you may have met this baby in its infancy before, or maybe were around to see it make first steps. Those would be even more pleased to see it running around today and welcoming you to play with it 🙂 What did the baby learn in the meantime?:

  • We can now name all our body parts (structure defined, app descriptor introduced, registry custom properties file added)
  • We can stand the cold, all packed up (zipped application archive) or run in our summer shorts (exploded app archive support)
  • We can ride our bike (on-the-fly app deployment), know how to get off it (undeploy at runtime), or even fix it on the go! (runtime app updates)

Pretty exciting stuff, I must say 🙂 Meet the baby in the next public release, and enjoy some docs for now (free Mule account required). Follow the suggested links if things get moved around in the meanwhile:

Mule 3 Release Candidate 2 Released

Reading Time: 5 minutes

The Mule ESB team is pleased to announce the next milestone towards our final Mule 3.0 release. Recent work includes the following areas:

Hot DeploymentMule now supports multiple applications running within the same Mule instance and deployment descriptors for specifying the contents of your deployment (e.g., multiple configuration files). Most of the Mule examples have been converted to the new deployment format*. If you have not yet read about the application deployment model new to Mule 3.0, read this blog post.

Message Exchange Patterns – Message Exchange Patterns (a.k.a. MEPs) give you more explicit and flexible control over the way messages flow through Mule. For example, you can now specify whether you expect a response on a given endpoint or not (see the new attribute “exchange-pattern” on endpoints). In the future, we may introduce additional exchange patterns that allow for different communication styles as well.

Continue reading

New Mule IDE coming

Reading Time: 3 minutes

If you have used the Mule IDE you know it helps greatly to simplify setting up a Mule project in Eclipse, editing XML, and debugging and testing your application.

However, it still requires you to delve into the world of XML and understand how the different elements of a Mule configuration can be chained together. An exciting new project is underway at MuleSoft to revolutionize the simplicity and ease of using Mule. MuleStudio is the next generation of Mule tooling and will provide an Eclipse-based graphical IDE for designing Mule integration flows.

Continue reading

Polling TCP client connector

Reading Time: 2 minutes

Right now TCP inbound endpoints are implemented as TCP servers that listen for data coming from different clients. In Mule ESB 2.2.6 we are adding a new feature to inverse the control: TCP inbounds can now poll data from remote servers.

It is really easy to switch to this strategy. Let’s take a look of how a mule configuration looks like:

Continue reading

Goodbye sync, hello exchange pattern

Reading Time: 3 minutes

When you take a look at the examples that come with the latest Mule 3 milestone release, you’ll notice that endpoints have an exchange-pattern attribute now:

This attribute replaces the synchronous attribute we used before. Why did we change the configuration? The old synchronous attribute was purely a two-way state: it was either true or false. With the exchange-pattern attribute on endpoints we’re free to allow additional values in the future. Also, the term exchange pattern is more accurate than the old synchronous flag. When you define the exchange pattern “request-response” on an inbound endpoint, it’s clear that you are expecting a response.

Continue reading

Test Drive Tcat Server in the Cloud

Reading Time: 4 minutes

Tcat Server remains the most intuitive and easy to use product for enterprise Tomcat users. In the most recent release, we made Tcat Server even easier to try.  Since we launched the product several months ago, downloads for Tcat Server have been increasing exponentially, but we wanted to find a way to reach yet more users that will benefit from using Tcat Server.

We realize that some of you do not have time to download software, install it and take a look. Some of you want to first take a quick look at Tcat Server to decide if its the right choice, without having to go through the download process.

Continue reading