Log on:
Powered by Elgg

Matthew Weaver :: Feeds

March 31, 2010

REST JSON to SOAP Conversion Tutorial

I often get asked about ‘REST to SOAP’ transformation use cases these days. Using an SOA gateway like SecureSpan to perform this type of transformation at runtime is trivial to setup. With SecureSpan in front of any existing web service (in the DMZ for example), you can virtualize a REST version of this same service. Using an example, here is a description of the steps to perform this conversion. Imagine the geoloc web service for recording geographical locations. It has two methods, one for setting a location and one for getting a location. See below what this would look like in SOAP.

read more


REST JSON to SOAP Conversion Tutorial

I often get asked about ‘REST to SOAP’ transformation use cases these days. Using an SOA gateway like SecureSpan to perform this type of transformation at runtime is trivial to setup. With SecureSpan in front of any existing web service (in the DMZ for example), you can virtualize a REST version of this same service. Using an example, here is a description of the steps to perform this conversion. Imagine the geoloc web service for recording geographical locations. It has two methods, one for setting a location and one for getting a location. See below what this would look like in SOAP.

read more


Our Flex Book is a Java Bestseller

Our new book "Enterprise Development with Flex " made the Amazon bestseller's list of ... Java books: See the list here. This list is refreshed every hour so I'm not sure what place you are going to find it at, but at the time of this writing it's #20. Help us to move up the list by doing you know what :)

read more


Our Flex Book is a Java Bestseller

Our new book "Enterprise Development with Flex " made the Amazon bestseller's list of ... Java books: See the list here. This list is refreshed every hour so I'm not sure what place you are going to find it at, but at the time of this writing it's #20. Help us to move up the list by doing you know what :)

read more


Kyte Launches Support for the iPad

Kyte, the online, mobile and social video platform for live and on-demand content, today announced an SDK for developing Kyte-powered iPad apps for distribution through the Apple iTunes App Store, as well as web-based support for the iPad through a new, universal embed code that outputs HTML5 video. The new SDK and HTML5 support provides media companies and marketers with the flexibility and choice to build native iPad applications, or extend compatibility of their new or existing Kyte-powered websites to the iPad.

read more


Kyte Launches Support for the iPad

Kyte, the online, mobile and social video platform for live and on-demand content, today announced an SDK for developing Kyte-powered iPad apps for distribution through the Apple iTunes App Store, as well as web-based support for the iPad through a new, universal embed code that outputs HTML5 video. The new SDK and HTML5 support provides media companies and marketers with the flexibility and choice to build native iPad applications, or extend compatibility of their new or existing Kyte-powered websites to the iPad.

read more


Journey to the iPad Launch: Day #3 - T minus 3

iPad - T minus 3... A Built-in Hold Begins... I'm guessing that the devices, have made the majority of their journey now and are being held in locations near to the final delivery point by UPS. This is something that Apple have achieved before, but will some sneak through?.. we will have to wait & see.

read more


Journey to the iPad Launch: Day #3 - T minus 3

iPad - T minus 3... A Built-in Hold Begins... I'm guessing that the devices, have made the majority of their journey now and are being held in locations near to the final delivery point by UPS. This is something that Apple have achieved before, but will some sneak through?.. we will have to wait & see.

read more


March 30, 2010

Writing Bad Code in Map/Reduce

In the Twitter project we’ve been working on, one of the map’s we’re running breaks the text of a Tweet down into words.  Because we can’t assume that any data will be available for access via a database, etc, we attach a couple of values that we’re interested for later analysis to the word, attach More >

read more


Writing Bad Code in Map/Reduce

In the Twitter project we’ve been working on, one of the map’s we’re running breaks the text of a Tweet down into words.  Because we can’t assume that any data will be available for access via a database, etc, we attach a couple of values that we’re interested for later analysis to the word, attach More >

read more


Novell Owns Unix

A federal jury Tuesday found that Novell owns the Unix copyrights. They never transferred to the Santa Cruz Operation and so they never transferred to its descendent SCO. A decision in SCO's favor would have opened the door for it to pursue its original multibillion-dollar case against IBM and to levy a tax on every one of the thousands of Linux systems out there. Without the copyrights SCO has no standing to go after IBM. SCO was also hoping to collect perhaps at much $215 million in lost business from Novell and an uncalculated amount of punitive damages, enough to put itself back on its feet.

read more


Novell Owns Unix

A federal jury Tuesday found that Novell owns the Unix copyrights. They never transferred to the Santa Cruz Operation and so they never transferred to its descendent SCO. A decision in SCO's favor would have opened the door for it to pursue its original multibillion-dollar case against IBM and to levy a tax on every one of the thousands of Linux systems out there. Without the copyrights SCO has no standing to go after IBM. SCO was also hoping to collect perhaps at much $215 million in lost business from Novell and an uncalculated amount of punitive damages, enough to put itself back on its feet.

read more


ScaleMP Raises the Bar for Java Application Performance

ScaleMP, a provider of virtualization solutions for high-end computing, today announced record-breaking benchmarking results for x86-based systems using the company’s vSMP Foundation software. An Intel-based system running vSMP Foundation claimed the top result for x86-based systems on the Standard Performance Evaluation Corporation (SPEC) benchmark for evaluating the performance of server-side Java applications (SPECjbb2005). Overall, ScaleMP claimed the second highest ever published result, with the next highest result being 20 percent slower. “ScaleMP is a leader in the high-performance computing space and will now, with this latest SPECjbb result, further raise the bar for commercial application performance and innovation,” said Shai Fultheim, founder and CTO of ScaleMP. “vSMP Foundation delivers an entirely new software approach to systems scale, demonstrating the powerful capabilities of aggregating commodity x86 servers into large virtual SMPs. Most other solutions on the market require dedicated systems and offer lesser performance at a higher price.”

read more


ScaleMP Raises the Bar for Java Application Performance

ScaleMP, a provider of virtualization solutions for high-end computing, today announced record-breaking benchmarking results for x86-based systems using the company’s vSMP Foundation software. An Intel-based system running vSMP Foundation claimed the top result for x86-based systems on the Standard Performance Evaluation Corporation (SPEC) benchmark for evaluating the performance of server-side Java applications (SPECjbb2005). Overall, ScaleMP claimed the second highest ever published result, with the next highest result being 20 percent slower. “ScaleMP is a leader in the high-performance computing space and will now, with this latest SPECjbb result, further raise the bar for commercial application performance and innovation,” said Shai Fultheim, founder and CTO of ScaleMP. “vSMP Foundation delivers an entirely new software approach to systems scale, demonstrating the powerful capabilities of aggregating commodity x86 servers into large virtual SMPs. Most other solutions on the market require dedicated systems and offer lesser performance at a higher price.”

read more


Journey to the iPad Launch: Day #2 - T minus 4

iPad - T minus 4 days... Fuel Up with Liquid Oxygen and Hydrogen. The best of at least 4 Mobile OS/Devices... 1. 1. iPhone; 2. Android; 3. Blackberry; 4. Windows Mobile

read more


Journey to the iPad Launch: Day #2 - T minus 4

iPad - T minus 4 days... Fuel Up with Liquid Oxygen and Hydrogen. The best of at least 4 Mobile OS/Devices... 1. 1. iPhone; 2. Android; 3. Blackberry; 4. Windows Mobile

read more


Journey to the iPad Launch: Day #1 - T minus 5

TUAW today ran a story that some folks have received emails that their iPad Shipments have left Shenzhen, China via UPS, though delivery will still be on April 3. That is great news and for those folks in North America, who are anxiously awaiting their space age piece of hardware, the excitement must be building... So I thought I would start a countdown to the launch (i)Pad ;-). iPad - T minus 5 days... Assemble the Hardware… complete. Start the journey to the Launch iPad from the VAB (Vehicle Assembly Building)

read more


Journey to the iPad Launch: Day #1 - T minus 5

TUAW today ran a story that some folks have received emails that their iPad Shipments have left Shenzhen, China via UPS, though delivery will still be on April 3. That is great news and for those folks in North America, who are anxiously awaiting their space age piece of hardware, the excitement must be building... So I thought I would start a countdown to the launch (i)Pad ;-). iPad - T minus 5 days... Assemble the Hardware… complete. Start the journey to the Launch iPad from the VAB (Vehicle Assembly Building)

read more


March 29, 2010

How I Use Social Media?

I was thinking about this for the past few months, how do I use or how should I use all the social “stuff” out there? As I thought about it, this is the picture that surfaced. It works for me, maybe it will work for you, maybe not. Maybe I’ll change some things in the future. I use the three main social sites: Facebook, LinkedIn, Twitter. As you probably know, you can connect your LinkedIn account with your Twitter account. Once you do that, if you add #in or #li to any tweet, that tweet will also appear in your LinkedIn feed (it’s also possible for LinkedIn to read all your tweets, without using #in or #li). I usually forget to add #in. I started using a service called ping.fm which allows to post to multiple sites.

read more


Creating Business Rules for Unique Keys . . .

Users of JDeveloper 11g ADF Business Components will be familiar with the ability to create Declarative Validation Rules on an EO's underlying table's primary key, somewhat confusingly (as we will see) referred to as a "UniqueKey" validator, though it's based on a primary key. The main reason to create such a rule is to avoid the particularly unfriendly database constraint error that is thrown, to replace it with a more friendly error message defined in ADF BC.

This "UniqueKey" rule can easily be extended to actual schema unique keys through a little trick (as separate to a primary key) as we'll see in this post.

When an EO is created in your Model project based, the IDE takes the opportunity to capture all the constraints of the underlying table (or you can resync these at a later date by right clicking the EO in the App Navigator and choosing the Synchronize with Database option). To create a "UniqueKey" validator based on the primary key of the table you:

a) Open the EO editor
b) Select the Business Rules node
c) Then Entity Validators followed by the plus button

In the resulting Add Validation Rule dialog, selecting the Rule Type of "UniqueKey" gives you the option to pick the relating EO's primary key based on the same constraint from the database:


However you'll notice what it doesn't display is any actual unique keys (such as say a database constraint employees_uk that enforces the first_name and last_name must be unique within the employees table).

One solution to this is to define Alternate Keys in the EO via the EO editor's General page's same named option:


Once created the Alternate Key will then appear as a "UniqueKey" option in the Add Validation Rule dialog.

However there is an easier way.

If you select an EO in the Application Navigator, then open the Structure Window option, you get a list of parts of the EO including Constraints, which will include all the database constraints for the particular EO. As can be seen in the following picture, this includes not only the primary key, but also unique keys:

If you select the unique key constraint and then open the Property Inspector you'll see:


...including an option to create the unique key constraint as an Alternate Key (the default being false). Setting this to true means that when you create the validation rule for a "UniqueKey", you'll see the unique key constraint listed as well as the primary key:


This little trick saves us having to manually create Alternate Keys based on the columns in our unique keys, but rather reuse the unique key constraint definition to define the Alternate Keys for us.

read more


How I Use Social Media?

I was thinking about this for the past few months, how do I use or how should I use all the social “stuff” out there? As I thought about it, this is the picture that surfaced. It works for me, maybe it will work for you, maybe not. Maybe I’ll change some things in the future. I use the three main social sites: Facebook, LinkedIn, Twitter. As you probably know, you can connect your LinkedIn account with your Twitter account. Once you do that, if you add #in or #li to any tweet, that tweet will also appear in your LinkedIn feed (it’s also possible for LinkedIn to read all your tweets, without using #in or #li). I usually forget to add #in. I started using a service called ping.fm which allows to post to multiple sites.

read more


Creating Business Rules for Unique Keys . . .

Users of JDeveloper 11g ADF Business Components will be familiar with the ability to create Declarative Validation Rules on an EO's underlying table's primary key, somewhat confusingly (as we will see) referred to as a "UniqueKey" validator, though it's based on a primary key. The main reason to create such a rule is to avoid the particularly unfriendly database constraint error that is thrown, to replace it with a more friendly error message defined in ADF BC.

This "UniqueKey" rule can easily be extended to actual schema unique keys through a little trick (as separate to a primary key) as we'll see in this post.

When an EO is created in your Model project based, the IDE takes the opportunity to capture all the constraints of the underlying table (or you can resync these at a later date by right clicking the EO in the App Navigator and choosing the Synchronize with Database option). To create a "UniqueKey" validator based on the primary key of the table you:

a) Open the EO editor
b) Select the Business Rules node
c) Then Entity Validators followed by the plus button

In the resulting Add Validation Rule dialog, selecting the Rule Type of "UniqueKey" gives you the option to pick the relating EO's primary key based on the same constraint from the database:


However you'll notice what it doesn't display is any actual unique keys (such as say a database constraint employees_uk that enforces the first_name and last_name must be unique within the employees table).

One solution to this is to define Alternate Keys in the EO via the EO editor's General page's same named option:


Once created the Alternate Key will then appear as a "UniqueKey" option in the Add Validation Rule dialog.

However there is an easier way.

If you select an EO in the Application Navigator, then open the Structure Window option, you get a list of parts of the EO including Constraints, which will include all the database constraints for the particular EO. As can be seen in the following picture, this includes not only the primary key, but also unique keys:

If you select the unique key constraint and then open the Property Inspector you'll see:


...including an option to create the unique key constraint as an Alternate Key (the default being false). Setting this to true means that when you create the validation rule for a "UniqueKey", you'll see the unique key constraint listed as well as the primary key:


This little trick saves us having to manually create Alternate Keys based on the columns in our unique keys, but rather reuse the unique key constraint definition to define the Alternate Keys for us.

read more


Making Mobile Apps for Cloud Computing--Public, Private, or Hybrid

Learn how to leverage a core asset of business – the application. By making applications mobile they can run in any cloud, move at the speed of the network and be provisioned from a single “gold” image to multiple destinations. In this session we will see a Virtual Application Appliance (VAA) can give ultimate control back to the business, enabling you to run your applications when and where you want. In short, O'Connor advises, "Learn how to leverage a core asset of business – the application." Pioneering the Virtual Application Appliance approach to simplifying application-lifecycle management, he is responsible for translating Appzero's vision into strategic business objectives and financial results.

read more


Making Mobile Apps for Cloud Computing--Public, Private, or Hybrid

Learn how to leverage a core asset of business – the application. By making applications mobile they can run in any cloud, move at the speed of the network and be provisioned from a single “gold” image to multiple destinations. In this session we will see a Virtual Application Appliance (VAA) can give ultimate control back to the business, enabling you to run your applications when and where you want. In short, O'Connor advises, "Learn how to leverage a core asset of business – the application." Pioneering the Virtual Application Appliance approach to simplifying application-lifecycle management, he is responsible for translating Appzero's vision into strategic business objectives and financial results.

read more


March 27, 2010

One Month of Sun and Oracle Still Shines

Oracle – on which as many fortunes hang these days as depended on its ancient namesakes – came in with fiscal Q3 earnings down 10% year-over-year at $1.2 billion, or 23 cents a share, Thursday on revenues up 17% to $6.47 billion. The revenues beat Wall Street estimates of $6.34 billion as did Oracle’s non-GAAP earnings, which were up 9% to $1.9 billion, or 38 cents a share, a penny better than consensus. Evidently enterprise spending is coming back. Oracle said its all-important new software license revenues were up for a second quarter in a row, this time by 13% to $1.7 billion – higher than expected – and up 10%, beating guidance, to $1.7 billion excluding Sun, which it finally acquired on January 26. Without Sun, it said, its total GAAP revenue was up 7%.

read more


<< Back Next >>