Wednesday, February 17, 2010

LiveCycle ES Managed Services go Production!

Adobe LiveCycle Enterprise Suite 2 (ES2) has now moved into a production environment! Using the moniker “LiveCycle Managed Services”, Adobe is hosting a set of web services that provides an alternative deployment model for most Adobe LiveCycle ES2 modules.

It is offered in partnership with Amazon, the industry leader in IAAS (yet another acronym using the suffix “As A Service”; the “I” standing for “Infrastructure") cloud computing and leverages the power and security of the Amazon EC2 platform. I am personally not for using the acronym IAAS because anything that is concretely implemented on this scale is ipso facto infrastructure services (the same as I claimed about DaaS or Data as a Service).

Nevertheless, this is a remarkably cool advancement for Adobe. In a time when many companies are talking about the cloud as “maybe one day in the future”, our engineers have accomplished the dream. LiveCycle ES2 modules available with
Managed Services include:

• LiveCycle Forms ES2
• LiveCycle Reader Extensions ES2
• LiveCycle Rights Managements ES2
• LiveCycle Digital Signatures ES2
• LiveCycle PDF Generator ES2
• LiveCycle Output ES2
• LiveCycle Process Management ES2
• LiveCycle Content Services ES2

The cloud architecture is simple. It effectively uses a client side interceptor to proxy requests bound to a localhost address to a remote endpoint that proxies the services. Below is depicted a typical environment for development, however the runtime is essentially the same.



Cloud computing has many advantages. First, by definition, the logical and physical network topologies no longer map to each other. This effectively allows for faster scalability. Adobe also puts 24/7 enterprise level support on this making it easier for small and medium sized enterprises to use for mission critical applications. Another advantage is that it costs far less to use the managed version as all admin tasks are shared with other users. Things like backups, monitoring and intrusion detection are done for you at a much cheaper cost. The full power of LiveCycle can be made available to your organization at a much lower cost.

To check it out, run to this URL - http://tv.adobe.com/watch/getting-to-know-livecycle-es2/livecycle-managed-services

Friday, February 05, 2010

My thoughts on HTML 5, Flash and Innovation

I have been aware of HTML 5 for several years now and many people have asked me if I see it as a threat. This question usually is posed in the context of the fact I work for Adobe and Apple has made statements such as "HTML 5 will replace Flash". I have thought about this hard and long from a number of different angles and felt it may finally be time to speak up. Yeah - it took a while and Steve Jobs (UPDATE - read disclaimer below) has told everyone how lazy we are. You see, I only do around 125 speaking engagements a year (an average of over 2 per week), travel around 300,000 kilometers as well as raise a family, play in a rock band, write books, white papers and technical articles, visit customers, produce episodes of Duane's World for Adobe TV and more. I am not sure what constitutes lazy but I can't do any more than I am now without sacrificing my family life so call me lazy or whatever. I don't really care.

UPDATE: It was brought to my attention from someone who was present that Steve Jobs words' were not exactly as reported (re: "Adobe is lazy"). In an effort to be accurate, I want to state I was not in the room nor have I heard Steve say these words. I am glad as most of us like Steve and think he has given the world some really great visions and technology. It actually deeply hurt my feelings when it was reported he personally attacked our character. Competition is good for the market and attacks of a personal nature have no place in our profession IMO.
END_OF_UPDATE

I have already divulged that I work for Adobe and I want to be pragmatic and transparent in this blog post. Some may take this as a slight against Apple. It is not. Adobe doesn't rant. I rant on my own time to make up for it but this is not one of those times.

In case you haven't heard, HTML 5 is a successor to HTML 4 and it will carry a set of new features such as native video capabilities, variables, and more. The theory some have put forward is that because HTML 5 will have video, this will hurt Flash. To begin, let's look at what Flash has done. If we had simply let standards bodies decide innovation, many of the top Web 2.0 patterns would not have developed. Microsoft introduced the XMLHTTPRequest objects, which led to the rise of AJAX. Adobe created Flash for rich visual user experiences and PDF for high fidelity documents while other technologies such as microformats and browser plugins to read them have extended the base set of web standards. Several vendors worked on Application Servers and specialized server pages written in PHP, JavaServer Pages, and more. Jeremy Allaire developed ColdFusion, still working so well today I was recently in an account that had CF version 1.1 running. This is the innovation that drives standards. None of this stuff came from standards and most of it used standards whenever possible. Eventually, some of the innovation gets commoditized into standards or browsers. That's life in the tech world. It happens!

If the video bits get commoditized, so be it. Then we have to place a great deal of trust in the browser vendors to consistently implement the behaviors and user interface controls so that there is a consistent web experience. It is with this thought that I start to see fractures in the arguments of HTML 5 replacing Flash. Individually, each browser vendor will build and test their own work and generally release good quality products. Open source engines like WebKit and Firefox do well (another example of commoditization - remember when people actually used to charge money for browsers??). Let's do some simple math to demonstrate the problem facing the web.

There are many browsers on the market (Internet Explorer 8, Chrome 2, Safari 4, Opera 10[13], Chrome 3, SeaMonkey 2, Camino 2, Firefox 3.5). Many of these run on multiple operating systems (Mac OS X, Windows, Linux, Unix) and have multiple concurrently used versions of each. The matrix is roughly 5 major browsers, times 3 major operating systems, times 3 different concurrent browser versions, times 3 different concurrent operating system versions--or around 125 major variations. Now factor in the diversity of screen resolutions, bandwidth speeds. and several other factors and ask yourself this question - "is it ( highly probable || somewhat probable || probable || not probable ) that all the browser vendors will implement HTML 5 in a consistent manner?" Since this has not been demonstrated with CSS and HTML 4 today, I would think that it is possible, but some details might be a bit rough. Anyone who has developed AJAX applications or rich content that uses CSS and has performed cross browser debugging knows this. I am not saying Flash is perfect, but the fact you have a single runtime environment is appealing to many people. To that end, I don't see Flash disappearing anytime soon. People who hate Flash may jump all over this statement but I hate peas and they are still being served in restaurants and stores despite my best efforts to rid the planet of those slimy, round green vegetables.

The next consideration is how well people implement the standards, the main choices being full, somewhat, or not very well. Take PDF as an example. The PDF format is an ISO standard meaning that it is in the hands of a fully accredited standards development organization. No one vendor controls it. Adobe Acrobat and Reader are the traditional reference implementations; however others are completely free to fully implement the specification. Apple has not in Preview. Microsoft has done a much better job with PDF IMO.

Apple itself has done some great stuff to innovate the web. iTunes is certainly a great example and I will publicly state I love OS X. I own an iPhone and recently bought my 7th Mac. I drank the Kool-Aid and may change when Ubuntu 10.1 comes out. (see - I am really being transparent, even at the cost of looking like a hypocrite).

Innovation will continue as things get commoditized. This will force further innovation on the cutting edge. This is just the nature of the beast. This is not to be feared; it doesn't mean Flash developers will suddenly drop Flash and only develop in HTML (if they did in a production environment they will probably be using Photoshop, Dreamweaver, Premiere Pro and After Effects anyways so I believe Adobe is well positioned in either case). Flex certainly is not going away any time soon. I don't see any Web Services wizards being introduced in browsers or the ability to perform advanced data throttling and paging operations running across multiple browser platforms. Flex is there today.

Having said all of this, my final thoughts are that I am really thrilled about HTML 5. Adobe will be there as will everyone else. Let's wait and see how it goes. I could be wrong. It wouldn't be the first time and forking the web would be a bad thing. HTML 5 represents a great opportunity for the entire world. It represents a sharing of information, the cornerstone to any democracy. It is in our best interests to get this right and work on it together.

Some of this may be flame bait so have at it. I've worked in standards for a number of years and base my thoughts off those experiences. If you want to flame me, go ahead. I live in Canada, it's cold and I this is just my own opinion anyways. I think there are probably around 6.4 billion more opinions on this subject out there somewhere.

Ciao!

Thursday, February 04, 2010

Apple's MobileMe not Trustworthy

That is a bold statement for me to make. After all, I am regularly talking about Cloud computing to a number of people and advocating its use. I have written several articles on Adobe's move into the clouds and have also clearly articulated that there are some subtle issues that need to be worked out. Nothing has prepared me for what MobileMe has done to my data.

It started last night as I was cleaning out my inbox and found a friend who had changed their address. I logged in to me.com to make the changes to my master records for my address book only to discover that Apple's cloud said I had no contacts. Now this frightened me a little (I still have local back ups) so I contacted them. Within 12 hours my contacts were back again. It was an older copy, however, so I had to fix multiple details. I relaxed a bit and slept.

Today, I got an even worse message. I have the same (you have no contacts) message (see below).


Since I was logged in on another machine, I tried to refresh that page only to now get a message that says "Your MobileMe contacts are temporarily unavailable".

FAIL!!!

Let me repeat that again:

FAIL!!!

Since MobileMe offers only chat support, I could not really tell them about this and how I felt. I asked the person twice directly "Has Apple had an event or has my data been corrupted?". The first time there was no response and when I asked the second time, the reply was "I am not aware...". So, what can we infer from this (other than Apple might have issues with their cloud)?

I think the first thing is that we really need a cloud users' "Bill of Rights". I want to be notified if my data becomes corrupt, lost, stolen, exposed, etc. It is MY data, not Apple's. If they have had an event, I believe I am entitled to know about it. The generic messages just tell me that MobileMe is not enterprise ready nor should it be trusted.

UPDATE:

An Apple rep got in touch with me and worked with me. There are sync issues with MobileMe and they are aware of them. To be fair and balanced, the Apple employee was timely, professional and courteous as well as understood my frustration. While I am skeptical of MobileMe being enterprise ready, I will be giving it another chance for a year.

Thank you Apple! Your customer service was good.

Tuesday, February 02, 2010

Duane's World Episode 23 - MovieSet.com and Flex Key Events

In this episode, I get to interview well known film producer Colleen Nystedt (who has worked with David Bowie, Matt Damon and hundreds of others in the industry) about a new platform for B-to-B-to-C movie collaboration. Code and tunes features a tutorial to work with keystrokes in Flex 4.

After watching this you will want to try out MovieSet.com to get special behind the scenes footage from great movies like Avatar, Trailer Park Boys and more.

Monday, February 01, 2010

New Chaos Theory algorithm for Lotteries?

I have always been a bit of a mathematics fan and I work on various algorithms. Some of the recent ones I have been working on in private are a combination of academia and new age philosophies. I decided to apply this in practice to the lottery so in January 2010, I used a filter to analyze and work on numbers that have a higher probability of being generated based on an evolution of Chaos Theory. The results are somewhat significant and shown below.

For those who are uninitiated, Chaos theory is focused around "order from chaos". I live my life in total chaos and find myself thinking about it a lot. Is Chaos really Chaos or is there something else? While many had pondered the theories of Chaos, Edward Lorenz, a meteorologist, is generally credited with the first experiments around 1960-1962. He used a computer to digest 12 distinct models for predicting weather. The experiment predicted what the weather would be, although not accurately.

I have believed that Chaos itself is just a pattern that we have an incomplete understanding of. For example, if you look at weather patterns, is it possible that we are missing some key criteria or have failed to understand a vector that affects the weather? Such forces may be difficult for humans to comprehend. The Butterfly effect and small variations in initiating conditions could explain much chaos. This leads me to my next thought.

What if there are certain types of brain waves that affect physical matter? I know this sound crazy but let's just explore this for a second. Such a possibility has been contemplated in conjunction with the chaos theory of lotteries before and dismissed. The idea goes like this. If enough people concentrate on a specific number, that number is more likely to be a result in a lottery. Of course, this theory would have to be balanced by assuming that the population that is thinking of equally random lottery numbers, yet this is not the case. There are numbers that are significant to various segments of the population in different cultures. Asians love the number 8, North Americans generally think 7 is lucky. Religious people associate God with the number 3.

Many lotteries that have a game whereby the numbers are selected from 1-49 inclusive have statistically significant patterns in drawn numbers based upon these theories. These are small enough to potentially make a difference yet likely not large enough to establish a winning hypothesis. Statistics can be found at http://www.lotto649stats.com/

I basically reviewed a number of lottery results and applied a filter towards shifting number significance based on cultural events. This was factored into a statistical draw model and factored in modification weighting based on current events in a confined geographical area. Think of it as an experiment to debunk the claims above. The results were interesting yet not a net positive outcome. Here is a snapshot of my lottery account in January 2010. I basically won a lottery prize every single draw using my algorithm based on buying 5 tickets boxing several combination of projected numbers. The odds of winning the grand prize once are one in ~14 million (not including the extra). The odds of winning a smaller prize based on 3 out of 6 numbers correctly drawn is about one in 12,000. To accomplish this every single consecutive time or to hit an extra number is not astronomical yet I would aver it is significant.


Having stated this, I do not expect this will yield any big results as the theory itself starts to destroy itself due to it's inherent flaw.

Either that or this is all just a crazy coincidence.

Saturday, January 16, 2010

22nd Century at the Yale Jan 21 - Raising money for Charity

SkoolAid Benefit
Thurs, Jan 21 at 8:30pm. $25 Adv/ $30 Door.

On Thursday January 21, three of Vancouver's most exciting bands will be rockin' out in order to raise money to build a school for the Afretech Aid Society and the Tujifunze Project.

Tujifunze, which is Swahili for learning, is an organization in Tanzania, Africa dedicated to providing basic education to the youngest and most vulnerable children in Mwanza, Tanzania. Event organizer Susan Bibbings travelled to Mwanza after assisting Tujifunze for three years from her home base in Canada. Bibbings discovered that the school which serviced more than 60 children was a 12 x 12 foot concrete room located next to a dilapidated butcher's shop. The school lacked supplies and provided students with inadequate books. "We're in the business of getting as many children as possible under the shelter of this giant book," explains Bibbings. "We hope to build the school roof in the shape of a giant book," she adds.

Hot Lucy (www.hotlucy.ca) is Vancouver's newest high-energy group. The band will be playing high octane traditional and modern blues with their signature "blues-done dirty" sound that's sure to set the dance floor on fire.

Montgomery / Dupray 'No Quarter' features Rob Montgomery on guitar and Alita Dupray on vocals. Dupray's stunning jazz vocals transforms into a powerhouse of rock and blues as the band covers the best of Led Zeppelin, Cream, The Rolling Stones and more.

Indie chart topping 22nd Century's (www.myspace.com/22ndcentury) hard punching and sometimes comical style is a mixture of Ramones power punk with a healthy dose of 1990's grunge. The group's debut CD produced by legendary music producer John Webster (Aerosmith, Cher and The Cult) garnered an honorable mention in Billboard's 2009 song writing contest.

Proceeds from this event will go to Afretech Aid Society for the Tujifunze Build a School Project. Yale VIP Passes not accepted.

www.afretech.org

Monday, January 11, 2010

Multi File Flex Projects

Lately I've received several emails from people asking about setting up projects using more than one file. Having come from an Eclipse background, I found it really intuitive but realized there are not many good tutorials on how this works specifically with Flex Builder or Flash Builder from Adobe. Here is a quick start on how to get your project up and running.

Start a new project and name it. A Flash Builder/Flex Builder project may contain several components, ActionScript files, classes, packages and other assets. The first step is to identify your project's entry point and then reference other files.

The Flex Project I had emailed has the following lines of code:


Line 1 is the XML processing declaration and line two contains the root component of the application. This particular application is a Windowed Application (Adobe AIR). The xmlns:mx="http://www.adobe.com/2006/mxml" line tells the compiler to use a specific Flex SDK, in this case the Flex 3.4 SDK. The namespace declaration below on line 3 (xmlns:components="components.*") declares that the project may use any or all of the components in the Package named "components". Note that at this point in your application, the Package has not yet been created so your project will throw an error (correct behavior).

Line 5 of the code is where the a specific component is referenced. Because this component is namespace qualified with the same namespace prefix given to the "components" Package, the component MUST exist within that package. The specific component named here is CountriesCombo. The declaration comp:CountriesCombo tells the compiler to create an instance of that component at runtime.

Creating a new Package is really easy. In Flash Builder 4, highlight the src folder and right click (PC) or Command-Click (OS X) the folder and a context menu will appear. Select "New -> Package" as shown and when the dialog pops up, give the Package the name "components". Remembers that these are case sensitive.


Now that you have a Package created, it is time to add your component. It is just as easy. Right-click (PC) or Command-Click (OS X) on the newly created package and select "New -> MXML Component" from the Menu as shown below.


In the dialog box that opens, name your component "CountriesCombo". Paste the following code into the component source view:


Your project should now be runnable and have the following structure:


Note that all red X's are gone.

If your project still does not work, try cleaning it "Project -> Clean" from the top menu. If you have added a component to your project that is not being recognized, you may have to manually refresh the package Explorer view. Do this by right clicking on the root folder of the project (or even just the src folder) and hit "refresh".

Wednesday, December 23, 2009

RIA Architectures: An Exclusive Interview with Adobe's Duane Nickull

DZone recently caught up with me to discuss RIA's Web 2.0 and SOA as well as other trends in enterprise architecture. In this interview, recorded at Adobe MAX 2009, we revisit the notion of 'Web 2.0' and discuss the architectural patterns behind it in the context of the O'Reilly book "Web 2.0 Architectures". We also discuss some of the new architectural and human interaction patterns that are shaping the way in which we build Web applications today as well as some of the new Flash authoring tools for the iPhone, the Open Screen Project, as well as the impact HTML 5 will have on Flash adoption.

The complete transcript of the interview has been provided here.



Saturday, December 12, 2009

12 Ideas for an Environmentally Efficient House

I got an email asking about solar and wind options for housing. Since I am planning to build an energy efficient house north of 49 degrees (in Canada) and have done a lot of thinking on this topic, I decided to share the following and now make it available as a blog post.

1. House design is essential. I plan to re-route all hot air evacuations (bathroom fan, kitchen fan, clothes dryer (if we get one) exhaust etc.) into either a thermal bus or to tie them directly to a year round greenhouse to use the thermal energy for growing food.

2. IMPORTANT: Always do the “Net” energy calculations. For example – having cheap, Chinese made solar powered, LED lights to power your walkway instead of investing in a proper system is a waste of time and an affront to the environment if you have to throw out something that broke in one year and took 25 times as much energy to make as it saved. For example, I bought these little solar powered lights at Home Depot, which lasted only about 250 days. When I took them apart, I discovered the culprit – a single AA rechargable battery was the only power source. These usually do not last more than 250 charging cycles and if you connect one to a daily charge routine, it will burn out in less than a year. Net result: I actually polluted more by buying cheap goods to save energy.

3. I also plan to use wood heating with a proper catalytic converter (avoids most carbon pollution) to warm the house on winter days as we have ample wood for cooking etc. The house we are choosing has a small horizontal footprint and is 2.5 stories high, which allows thermal energy to be more efficient.

4. I'm putting the shower and kitchen on the top floor then using a diverter valve to reroute the entire waste water into the flooring for either keeping the house cool in summer or heating in the winter.

5. After the electrical inspectors give the final OK, I am moving to 12 or 24 VDC power for all lighting in the house and possibly some USB outlets. All lighting will be 12/24 VDC LED indirect. This saves tons of energy over trying to convert a 12/24VDC battery array into 110 AC (or in your case 220 VAC, which would be less efficient). Most solar and wind systems use 12 or 24 VDC as the charging output. Energy can neither be created nor destroyed and it is a lossy process to convert energy. The biggest culprit is usually thermal energy as an unwanted byproduct (think of hot transformers). If you must convert, try to capture the byproduct (place the converters in a place that needs heating).

5. My wife and I are investigating thermal heating systems. These seem to make a lot of sense as they can be used in both the summer and winter. In North America, there is an relevant organization that has members; there might be a similar system in the UK - http://www.geoexchange.org/

6. In order to use wind energy in a micro manner, there are lots of manufacturers and the kits are not that hard to figure out. The first thing you have to do is check out the MET office to find out if it will work in your location. Wind speed must be at a minimum of 5 metres per second to work. The Canadian map showed us that in our case, we have sufficient wind. http://www.windatlas.ca/en/nav.php?field=E1&height=50&season=ANU&no=45.

7. Solar kits are also not that complicated. Study up on it and note the major components – collectors/charge controllers, battery array/inverters or converters then do the calculations. You have to figure out what you want to use the property for before you can plan a system. In our case, assuming we only go there on the weekends, we can go with less collections and a bigger battery array as the battery array will recharge during weekdays. If we lived there full time, we would have to use more collectors. Most manufacturers of repute (Siemens, etc/) will have all the calculations available. There are some good resources online for this too. Here is one: http://midsummerenergy.co.uk/solar_panel_information/solar_panel_calculator.html#nogo

8. Look into evacuated solar tubes. These work in very low temperatures (as low as –40 degrees Celsius) and can deliver off grid water at 65 degrees Celsius. They work by having no gas (a vacuum) in between the outer tube and the inner collector. This collects energy radiated from the sun without the atmosphere moving the heat away and harvests it via the manifold. http://www.solarthermal.com/products.asp These can take care of big things like hot water tanks.

9. If you use your property for weekends only like me, you might want to consider a Linux micro kernel running a small routine that can be used to “wake up” the house. For example, if you have a grid tied-hot water system, you could invoke a cron job that turns your hot water heater on and off remotely so you’re not paying for energy you don’t need. Another option is to move to a EU style JIT hot water heater (tank-less system).

10. For certification, The SRCC (Solar Rating and Certification Corporation) is the key solar collector certifying body for the US and Canada. Make sure everything you use has passed the minimum criteria for this.

11. My thoughts on this are that when I buy my supplies, I want to do it with a company that has been around, been certified and is backed by a manufacturer with a warranty and good history, and someone who has a physical office I can identify and walk into. Too many snake oil vendors on the web.

Thursday, December 10, 2009

50 Free Citrify Licenses!

Remember - you heard this here first! My buddy Zee sent me an email and offered 50 free licenses (a $39.95 value), to the first 50 people who go to this URL:

Visit http://www.citrify.com/promo/

Citrify is photo editing software built using Adobe AIR. It runs on Linux, Mac and Windows. Very cool use of AIR!

Submit the form with this promo code in the message body: duane1209

Here are some screenshots of our key features: http://www.citrify.com/features/

Here is more information about our team: http://www.citrify.com/about/

Thursday, November 26, 2009

Flex Builder Linux Alpha 5 release

The Flex Builder for Linux alpha bits posted on Adobe Labs have been updated to extend the hardcoded timeout period. The current FB Linux Alpha 4 product will expire on Dec. 1st, 2009, so if you are currently using Flex Builder for Linux be sure to download the updated Alpha 5 bits from Adobe Labs http://labs.adobe.com/technologies/flex/flexbuilder_linux/ prior to Dec. 1st. There are no changes to the functionality of the product in these new bits; however they have been tested on later versions of Linux distros. Please see the release notes http://labs.adobe.com/technologies/flex/flexbuilder_linux/releasenotes.html posted on Adobe Labs for complete details.

Tuesday, November 10, 2009

How to deploy Axis2.war to JBoss 5

In order to use LiveCycle Data Services 3, I decided to upgrade to JBoss 5. When I attempted to add in the axis2.war file to the {JBoss_Home}/server/default/deploy directory, I got a whack of errors when I started up the server. The main complaint was that the server barfed up the “Failed to create a new SAX parser” and several subsequent errors. The issue is that there are older versions of certain jars within the axis2.war file that won’t work and cause a java.lang.ClassCastException. In particular, the org.apache.xerces.parsers.XML11Configuration cannot be cast to org.apache.xerces.xni.parser.XMLParserConfiguration

So how do you solve it? It is not too hard but a bit tricky. First, open up the axis2.war file. On Mac OS X, you can do this by using StuffIt.app. Just navigate in finder to the directory containing axis2.war, control-click, select “Open with…”, and then choose ~/Applications/StuffIt.app. This will expand the WAR file in the same directory.

Within the directory, there are two files you have to get rid of. I first tried to delete xml-apis-1.3.04.jar and xercesImpl-2.8.1.jar thinking that should work. This is shown below.



It actually did but lead to another problem (later). To get all the files back into a war, you have to do two things. The first is to use the command "jar -cvf ". Since I wanted to rename the output to axis2.war, I navigated to the directory holding the META-INF, WEB-INF, etc. files and rant the command "jar -cvf axis2.war *". This made the war file, which is essentially a *.jar file.



After this, on a Unix-based system, you have to change the permissions to ensure the file is usable by the app server. Use the chmod 775 command for that as shown below.


Figuring I had this problem licked, I started up the appserver. It started fine, however when I went to navigate to the http://localhost:8080/axis2/ URL, I got another error. This time is was a mismatch in impedance between the JSP servlet jars. The error comes out as "The method getJspApplicationContext(ServletContext) is undefined for the type JspFactory". The problem is that the build of axis2 I downloaded had an older version that did not have the same method. Once again, to rectify this, open up the axis2.war file and remove another file called "servlet-api-2.3.jar". Repackage the war file and chmod it so that it is executable by the app server.


JBoss 5 should start up perfectly and you should now see the happy axis page when you navigate to http://localhost:8080/axis2/ as shown below. Problem Solved!!


Sunday, November 08, 2009

Flash Builder 4 Tutorial - AMF

This tutorial is from Adobe Developer Connection and it shows how to use Flash Builder 4 beta 2 with BlazeDS AMF endpoints. The concepts are simple and if you download and start up the Vancouver build of BlazeDS (here), you can run this. You will have to ensure you have Java installed and configured properly as described in this tutorial. Have fun! This project has to be built from scratch as the source code will have paths specific to my system.

Wednesday, November 04, 2009

Video Tutorial - Flash Builder 4 Graphics

This video shows how to use the MXML syntax and the graphics package in Flash Builder 4 to create a rectangle using the new Spark graphic packages. This is part of the new fx package for declarative graphics. You can use Rect or Ellipse to make most shapes. A circle is a specialized type of ellipse with a constant radius, a line is a Rect with a very small value for one of the thicknesses, and a square is a Rect with 4 equal sides. As with all of these tutorials, if you want the source, email me: dnickull at adobe dot com.

Tuesday, November 03, 2009

Best Duane's World Episode ever

Thanks to the great acting of Marc Thiele, Serge Jespers and Tom Krcha, this turned out to be a great episode. The code and tunes bits involve Marc's German Metal band Spoiler (well worth checking out) as well as Flex 4 Data Paging using PHP on the back end.

Monday, November 02, 2009

Fastest Broadband Service in the UK?

Ahh – life as an evangelist. Conferences, fun, parties, music, snowboarding, code camps, cutting edge software *bla-bla-bla* not enough words for the fun I have in my life. Lately, I’ve been working in the UK quite a bit and want to get all the comforts of home. I’ll be there again Nov 7-11, right after my stint at SAP in Walldorf. As an Adobe Evangelist, working remotely is hard. I often forget to bring files with me or download software from a high bandwidth site. Last Thursday while waiting at the airport, it really sunk in. You can’t just depend on most Internet companies to provide a good quality of service. Fifteen minutes to upload a simple blog post really sucks. When you forget the latest build of LiveCycle ES and try it over a normal wireless while VPN’d, forget it! At over 2GB, it just doesn’t work.

When I travel for Adobe, I expect some minimal comforts. Good hotel, good food, good car (if applicable) and more. Good Internet is the least I expect so I set out on a quest to find the best broadband in the UK. Finding a good high bandwidth hotspot is hard though. Nevertheless, my googling fetched an availability checker. All you do is hit in your postal/zip code and get an immediate response with the best deals and offers for broadband service for individual ISPs. The availability checker coughed up a list of multiple, fast broadband connections, prices, terms etc. I checked out a broadband comparison between ISPs, read a couple of reviews. Finally found one that suits my needs (namely does not compromise on the speed).

If you live in the UK or are passing through for a couple of days, you may want to try the broadband availability checker.

Monday, October 26, 2009

Nokia Sponsors "Web Professional Minute" with me



Here is a very short interview I did with Bill Cullifer (always a treat to work with him!) during the recent Adobe MAX event in Los Angeles, CA. The entire interview can be heard or downloaded here. Thank you once again Bill!

Saturday, October 24, 2009

A tribute to my Great Uncle - one of the smartest people ever!

This is reprinted from the memorandum article from UCLA. Kenneth MacKenzie was my great Uncle and one of the world's greatest scientists. He came from very humble beginnings and taught himself a lot of what he knew. I plan to write a punk rock song about him as he was far more punk that Blink 182 ever will be.

Kenneth Ross MacKenzie
Professor of Physics and Astronomy, Emeritus
Los Angeles
1912–2002

Kenneth Ross MacKenzie, who made contributions to nuclear physics, particle accelerators and plasma physics, died July 3, 2002 at age 90, following complications resulting from a series of small strokes, at his home in Los Angeles, California.

Ken was born in Portland, Oregon. The family moved to Victoria, British Columbia when he was 10 years old. He received bachelor’s and master’s degrees from the University of British Columbia, and began further graduate study at the University of California, Berkeley, in 1937.

The longstanding vacancy in the periodic table at element 85 ended in 1940. Carson, MacKenzie and Segre, in the Physical Review, reported "Artificially Radioactive Element 85". They bombarded Bismuth-209 with alpha particles to produce what was suspected to be element 85-211. Physical, chemical and even physiological evidence confirmed the assignment. After a reminder to do so, in a 1947 Nature article, they named the element "Astatine", which means unstable in Greek. All 31 of the isotopes of Astatine are unstable.

When Ken began working in the Radiation Laboratory, the 60-inch cyclotron was nearing completion. He became involved with the radiofrequency (RF) system which produces the D-voltage. With this beginning he became an authority on RF systems. He made a major contribution to the design of the system for the 184-inch cyclotron which was completed in 1947. It was the first machine capable of producing mesons. He also made significant contributions to the system for TRIUMF, the meson factory which was completed in 1974. RF systems can be temperamental. Ken had an uncanny knack in getting them to perform properly.

Ken contributed to the development of cyclotrons from day one. He was in Berkeley when the first tests of large-current Uranium mass spectrometry were made in late 1941. He participated in the full scale tests which were made in the recently completed 184-inch magnet, beginning in mid-1942. An accelerating voltage had to be held constant with great precision. The system developed, involving RF signals, is described in a chapter which he contributed to a book in the National Nuclear Energy Series, Manhattan Project. Ken also went to Oak Ridge where he participated in the process of getting the production plant into operation.

In 1964 Ken wrote a paper titled "Space Charge Effects and Cyclotron Beam Enhancement." Cyclotrons had been in operation some thirty years and this effect had been overlooked. Near the center of a cyclotron there can be appreciable loss of particles which are near the surface of the circulating current due to repulsion by those particles within the body of the beam. Once the effect was recognized, steps could be taken to reduce it. As a result, several large synchrocyclotron laboratories were able to increase their research output.

McMillan and Veksler, during World War II, predicted means of increasing the upper energy limit of cyclotrons. The first test of the proposal was made in Berkeley in 1946. The 37-inch magnet was modified for the test. Ken participated, not surprisingly, in the design of the RF system, which now involved frequency modulation. The prediction was confirmed.


After World War II, UCLA was interested in establishing a program in nuclear physics. It was decided to move the 37-inch frequency-modulated cyclotron to UCLA to begin the new program. After a year at the University of British Columbia, Ken joined the UCLA faculty in 1947. Over the next 10 years he and his students performed positron-electron scattering experiments, stopping power measurements, precision range-energy relationships and a final increase of the "37-inch" energy to 20 Mev protons.

In about 1960, Ken initiated the UCLA Department of Physics program in experimental plasma physics. Over the next 15 years, with various colleagues, he published some 20 papers in this field, many involving various aspects of large quiescent plasmas. Early on, Ken and his students lined the walls of a vacuum chamber with permanent magnets of alternating polarity to suppress plasma electron losses. "MacKenzie buckets" are now universally used as plasma sources. He initiated an introductory undergraduate course in plasma physics and an accompanying laboratory (which used a restaurant size cooking pot as an ion bucket). He invented simple physical pictures for a number of plasma wave phenomena usually described in complex mathematical terms.

Ken can be given much credit for the impressive status of experimental plasma physics at UCLA today. Studies of plasmas in the ionosphere (Alfred Wong); the physically largest Electric Tokomak (directed by one of Ken's students, Robert Taylor); and physically large plasmas for wave studies (Reiner Stenzel and Walter Gekelman) are examples of important work in progress.

For a period of about two years Ken was the president of a small company, Meva Corp, which was formed to build cyclotrons. After producing one for an undergraduate laboratory at Pomona College, the company was sold to Hughes Aircraft.

After retirement, Ken continued a long standing interest in Special and General Relativity. Some results are described in an unpublished monograph titled Einstein's General Relativity in Three Dimensions. He also wrestled with the dark matter enigma.

Ken made very significant contributions to the Department. In a broad sense, being one of eight new faculty appointments following World War II, he participated actively and fully in every aspect of the Department's development. Over the years he saw to it that the electricity and magnetism laboratories were kept up to date. He introduced the plasma physics curriculum. He took the course in “Physics for Non-Science Majors” seriously, devoting a great effort to make special relativity understandable. In the mid-70s he served as chairman.

What kind of a physicist was he? He could of course use mathematics to formulate and solve problems. Beyond that, he could see through the most complex situations to their conceptualization and solution. As a person, he was gentle, kind, understanding, pleasant and modest to a fault. He rarely, if ever, raised his voice. He had a considerable range of interests outside of physics, both physical and intellectual. Verna, his second wife whom he married in 1981, gave him great care during his decline. Other survivors are his children, Robert, Maryann and Wallace. They miss him dearly as do all who knew him well.