We can write a RESTful application with Grails and define our API in different ways. One of them is to subclass thegrails.rest.RestfulController.
As some of you may be aware, I recently joined the well-respected US based No Fluff Just Stuff (NFJS) Tour.
dependency injection itself is fairly straightforward and is designed to simplify your solution, not overly complicate it. Angular adds some extra caveats and shortcuts to their solution but in essence it behaves very similar to the example I’ve provided here.
Simon recently talked about the gap between Software Architecture and Code and how to close this with architecturally-evident coding. He's also creating tools to allow Software Architecture to be expressed as code.
When I started my career around 10 years ago, Struts MVC was the norm in the market. However, over the years, I observed that Spring MVC was slowly gaining popularity.
To gain significant business benefits, teams must understand their IT business goals, define an appropriate SOA & API mindset, describe how to implement shared services and popular APIs, and tune governance practices.
Gradle 2.0 came out last week, and it's a pretty big move from Gradle--the first major version update they've done. With the major release comes a baseline of backwards compatibility, and a significantly simplified codebase.
Earlier on, Spring migrated from a monolithic approach – the whole framework, to a modular one – bean, context, test, etc. so that one could decide to use only the required modules.
I’m a minimalist, and I don’t like to complicate software too early and unnecessarily. And adding components to a software system is one of the things that adds a significant amount of complexity. So let’s talk about message queues.
Make sure you didn't miss anything with this list of the Best of the Week in the EI Zone (June 27 to July 3). This week's topics include deploying RabbitMQ on Google Compute Engine, governance of software development, setting up states in AngularJS apps, Java 8 dependency injections, and embedded brokers.
A very good resource for learning about the newest release of Nagios for the uneducated reader, or a seasoned professional.
Last week, Google and Pivotal released a guide to getting started with RabbitMQ clusters on Google Compute Engine. Google has backed RabbitMQ in this regard due to what I mentioned previously--high through-put, low latency, and in-memory queuing--all in a way that is easy to set up and deploy.
Message queues are useful in a number of situations; for example when we want to execute a task asynchronously, we enqueue it and some executor eventually completes it.
By default Django Haystack makes updates to your Solr index available for searching immediately. It does this in the simplest way possible, it commits every single update individually. That can be quite slow.
In this article I highlight the importance of governance in software development and the various tools used for governing the software development. In the following table I am trying to show the various software development stages, what entities need governance and tools/techniques used for governance:
In this article an extension to the CMS Alfresco is proposed, in order to reduce costs involved with the creation of a custom front-end and make it more efficient the issue of document management.
CodeFutures (www.codefutures.com), a provider of agile Big Data technologies, today announced MapDB, a new open source project for Java databases that increases the performance, speed and flexibility of managing and gaining value in Java applications.
This article continues to introduce Spring Integration Java DSL as an alternative to defining integration flows through xml configuration files.
One of the most satisfying things that I've seen personally over the years is the steady growth of the Java EE community, by and large independent of vendors.
WSO2 has organically developed a complete, composable and cohesive platform for your complex solutions by integrating innovative open source projects. Read more about how WSO2’s entire corporate approach follows the Apache Way and delivers Open Source Value to you.
I decided to throw together a quick implementation of a Spring component finder that could be used to (mostly) automatically create a model of a Spring MVC web application.
We’ve defined only one state called “home”. If we need more states we just add more within config() function. In this post we’re going to try to add more states from a json file instead of hardcode the states within the code.
Following the core basic REST principles (statelessness, a good resource model, uniform interface etc.) is what is really important after that the challenge is figuring out what works best for each specific project and how to make the most of your time.
So I sometimes really miss old school Dependency Injection. Back when Spring was still "lightweight" we happily configured all our beans in an application.xml file with the "learn-in-a-day" Spring bean xml configuration. The downsides to this were of course a loss of type safety.
I will show how an embedded ActiveMQ broker is automatically started when using vm://localhost in a Mule JMS connector, without any additional configuration, and how to disable this behaviour. I will also look at how to explicitly configure an embedded ActiveMQ broker in a Mule configuration file.