It is natural to get comfortable, perhaps too comfortable, with the state of your codebase. After all, it works and is probably meeting tangible business needs.
The first part of this is to create a configuration class for the web app.
These gems (not the Ruby kind) don’t get a lot of fanfare, nor do they often warrant much attention on their own, but put together, they make for a smoother, intuitive user experience. Nearly invisible, they have become nearly indispensable to me.
A SaaS API must (by definition) serve multiple consumers – tenant organizations that desire programmatic access to SaaS provider business capabilities. Building a SaaS API goes beyond simply adding a tenant key to your API message parser.
We will draw a Radar Chart .The Student input data is JSON in nature.The Servlet returns the JSON data when called by Jquery Ajax method.The Student Java class object is converted to JSON representation using GSON Library.
I have a number of Spring MVC based RESTful services that return JSON. In 90% of the cases, the state of objects these services return will not change within a 24 hour period. This makes them (the JSON objects) perfect candidates for simple caching enabled by memcached.
In March of this year, I traveled to Devoxx France and had a great time. One of the talks I delivered was Comparing JVM Web Frameworks, with a bit of a twist from prior versions.
You hear about them by the names of social, cloud, big data and mobility, but what those terms all represent at their core is a problem with the integration of it all.
Not being an expert in all these levels is fine. Be an expert in a couple. And be sure to know how the others below and above work in principle, so that you can become an expert when there’s a need for that.
I'm going to address the primary concerns that drive the need for security in a SOA, how the industry as a whole has addressed those concerns, the consequent emergence of popular technologies based on this Industrial best practice and finally, the implementation of these technologies in Mule.
Re-use is the main principle for us. We already have a tested and working infrastructure built for all the Truecaller customers. So we are using that in order to serve API requests as well.
The problem is that the wstx tokenizer/parser encountered unexpected (but not necessarily invalid per se) character.
REST is all about representations of resources. They might come in different formats, and they might appear at their own URI as well as in one or more collections, but essentially you just get a representation of a thing. This is great, apart from when it isn't.
I believe the organizers of Camel One will be publishing all of the presentations at some point, but if you’re interested in the slides from my talk ActiveMQ Internals, check them out below..
A very common question that we get on the Play mailing list is how do you write a REST API using Play Framework?
Using an API server as a control point gives us the flexibility to allow our business teams to say how they want to use digital card services, charge for them and create interesting models.
This tutorial teaches how to quickly setup authentication by keeping a set of usernames, passwords and roles in a spring configuration file and associating URL patterns with these for the framework to determine if a user is authorized or not.
You’ve set up rails with devise and omniauth. Users are signing up with facebook or twitter or email&password or something completely different. Everything is going great. Now you want to force some users to add a facebook login to their account.
Recently, the idea of a portal is getting a reboot. But as much as the Web has advanced for human consumption, it remains a very inhospitable place for a large contingent of users, namely machines.
I’ve been putting the finishing touches on an app that I’m writing based off of the Bing Maps/TomTom Starter Kit I published a few weeks ago. In that app you can view the current image from any of 13,000 traffic cams across the US and Canada, but the Starter Kit itself displays just about any type of data.
Axis2 uses commons-httpclient library (now, a part of Apache HttpComponents™ project) for making http/https connections. I’m doing a little tweak for it accept any server certificate like this...
I've spent last month re-writing the code of nanomsg to use state machines internally, passing asynchronous events around instead of using random callbacks between the components. The change is complex, requires a lot of work and it is not visible to the end user, so the question is: Why do it at all?
While message brokers such as RabbitMQ can be used to model a variety of schemes such as one to one message delivery or publisher/subscriber, our application will be simple enough and have two basic components, a single producer, that will produce a message and a single consumer that will consume that message.
People often ask me how they can map a java.util.Map such that the keys become the node names. In this post I will demonstrate how this can be done using the new Variable Node mapping that we have added in EclipseLink MOXy.
If you missed last week's APIMASH Webcast on the Social Networking APIs, don't fret…below, you'll find the recording of the webcast featuring yours truly, and my peers Lindsay Lindstrom and Tara Walker.