Quantcast
Channel: Not So Clever Code
Browsing latest articles
Browse All 9 View Live

Column and Row Based Tables in AngularJS

Row based dynamic tables are fairly easy. However, AngularJS makes building a column based dynamic table just as easy. The full code is also on JSFiddle The HTML relies on several Angular tags to build...

View Article



Camel CXF Component – WSDL First Example

This is the first of a series of posts of simple examples in Camel designed to show a single simple use case. In this one I’ll show how to create a consumer and producer using the Camel CXF component...

View Article

Simple Camel REST Example – Temperature Converter

In the Freenode java channel ##java someone mentioned their next goal was to learn REST by writing a service to convert between Celsius and Fahrenheit. I mentioned how simple that’d be with the right...

View Article

Adding a Custom HTTP Header to a Camel Restlet Producer

I was writing a route today to a internal REST service that required a custom header in the HTTP GET request. The solution wasn’t immediately obvious and I spent way too much time figuring it out....

View Article

Camel CXFRS-JDBC REST Example

In this example the Camel CXFRS component is used to expose a REST interface to a database table. The database table we’re using is quite simple. It has an auto incrementing ID, a company name and a...

View Article


Camel Release Package Version Differences

Someone on the Camel developers mailing list mentioned that it’d be nice if the package versions were maintained in a separate file outside if parent/pom.xml. This may or may not happen. In the mean...

View Article

Camel SOAP – REST Bridge Example

This example of a Camel SOAP – REST bridge exposes part of the Github REST API as a SOAP interface using a code first approach using the Camel CXF component. Github provides an extensive REST API,...

View Article

Simple Github API Webapp – AngularJS Style

This morning I saw a post by Jake Rocheleau on DZone titled Code a Simple Github API Webapp using jQuery & Ajax. Since I’ve been working with the GitHub API lately as well as AngularJS I decided to...

View Article


Writing a Camel Component – Camel-Static-Resource

Many times the Camel examples I write need to serve up  a simple web UI (usually using the ever so awesome AngularJS).  I’ve just have been pasting the code below into a Camel route. This is fine but...

View Article

Browsing latest articles
Browse All 9 View Live




Latest Images