Inheriting the LiveCycle ES container context in a custom component

Earlier this week, I was working on one of the samples that we will be showing at MAX this year. The idea is to show people how to create a custom component in Java and then deploy it into the LiveCycle ES service container. The sample I needed to create has to be simple and not have any dependencies  on internet access (this is a lab exercise and connectivity at large events is often spotty at best). Anyway, I decided to create a custom component that calls the JobManager API to query what instances might be in the LiveCycle ES server queue.

Just like any other service, I needed to get a handle on the current execution context so that I would use the same security context and connection factory already instantiated within the container. Basically, I need to get the exact same security context of the process that will be calling my component and use it to call JobManager as the calling user might not have permissions to query the LC ES queue. We can’t be bypassing that now can we?

Anyway, after poking around for a while… I could not find any samples or documentation on it. So I talked to some of my resources (thanks Brad) and got the answer. 

JobManager jm = new JobManager(ServiceClientFactory.createInstance());

In the code above, I simply create a new JobManager object and in the constructor arguments, use the ServiceClientFactory.createInstance() call. This will attempt to locate the container’s context and pass it in the the ServiceClientFactory. From there, I can call any JobManager operation knowing that I will use the current user context and not bypass any security rules.


Long title for a simple solution 🙂

3 new Solution Accelerators for LiveCycle ES

image The solution accelerator team today announced the release of 3 new solution accelerators for LiveCycle Enterprise Suite.  The solution accelerators are designed to be extended and customized by partners leading to reduced development time and increased quality.  These accelerators are packaged with a set of production-ready building blocks that consist of reusable components and technical guides. The building blocks may be used within the context of a solution accelerator or form the basis for developing new solutions.

Read more on Greg’s blog

Announcing the first ever LiveCycle ES Developer Contest

imageMake sure you are sitting down, this is going to blow you away… As a follow on to yesterday’s post. I am very excited about kicking off the first ever LiveCycle ES developer challenge as part of the ES Next prerelease program. I actually have two goals for doing this:

  1. Drive more developers to try the beta build of the next release of LiveCycle ES and experience how easily enterprise applications using Flex powered by LiveCyle ES services
  2. Provide a platform for LiveCycle ES developers to showcase their innovation and creativity  

I strongly recommend that you sign up for the LiveCycle ES Next prerelease immediately. Once you have an account, you will have access to the latest build, documentation, feature spotlights, user forums, etc.

Then, while you are enjoying a nice cold beer on your deck this summer, build and submit the coolest LC ES application and get a chance to win a complimentary pass to MAX 2009, Creative Suite 4 Master Collection or Acrobat Professional Extended.

Read all about the contest here…

Adobe LiveCycle ES NEXT Beta Available Today.

Adobe is pleased to announce that the next version of LiveCycle ES beta is now available. This beta release is made available so that you can start testing your applications on the new version as well as enable you to explore the new features and numerous improvements we have made. However, like any other beta, it is not recommended for production use.

What’s new in the LiveCycle ES Next?

The most important changes have been made around usability of LiveCycle Workbench ES as well as developer productivity. Workbench now supports the concept of a LiveCycle Application with check-in/check-out and deploy features. Other major improvements we are working on are:

  • Task wizards that will make the development and deployment  of LiveCycle ES applications more intuitive
  • Graphical UI which provides a drag and drop interface for building and managing DDX files used with LiveCycle ES

You won’t believe how easy building a LiveCycle ES application has become.

Under the covers, the next version of LiveCycle ES introduces a much enhanced turnkey install as well as an updated support matrix for platforms, application servers and databases.  Most of the LiveCycle ES modules have been also enhanced. For example, LiveCycle ES is now able to generate PDF portfolios on the server.

Help us gather bugs this summer!

In order to reward you for your valiant efforts in helping us improve the quality and usability of LiveCycle ES Next, starting Monday July 20th we will be awarding one copy of Adobe Acrobat Professional Extended per week to the individual that has logged the most issues on the prerelease site. 

Build the coolest LiveCycle ES NEXT application and win!

Take some time during the summer months to build the most interesting application using the next version of LiveCycle ES and win some exciting prizes. Watch the General Announcements forum on for the official announcement.

Sign up now!!!

Check out the next LiveCycle ES and Flash Platform eSeminar

Join Greg Wilson as he presents a couple of eSeminars on how LiveCycle ES and the Flash platform can be used together to create leading edge applications for the enterprise. I have presented this session in the past and there is some very valuable information covered.

The next session is scheduled for this week and another one is scheduled for August.

Thursday, July 9, 2009 11:00 AM PT
Thursday, August 27, 2009 11:00 AM PT

Register here:

Flash Catalyst ROCKS

image If you have not yet gotten your hands on the beta of Flash Catalyst, what are you waiting for?!?!?! I think this is one of the coolest pieces of technology I have seen in a long time! OK, you need to take that with a grain of salt coming from someone on the enterprise software side 🙂

The bottom line is that anything that makes it easy for a design challenged person like me to import visual comps and be able to implement the code behind them – I am all for it. As a matter of fact, I actually had to speak about FC recently at a user conference here in Ottawa.

I presented to the Ottawa Flash User Group on Wednesday, June 3. There was about 80 people in the room at the Ottawa Adobe location. I had a 1 hour slot from 7:45 pm to 8:45 pm. My session was after the pizza break – so I needed to wake them up from the cheese educed coma. I used the default UG tour presentation. However, I skipped a lot of the detail slides on Flash Catalyst features since I would cover them in the demo. Everyone was very receptive to the Flash Builder renaming. They actually agreed that Flex Builder / Flex SDK was a source of confusion. I then dazzled them with the Congress demo. I did the whole thing starting from Illustrator to Flash Catalyst to Flex Builder + ColdFusion. We actually had to mop the floor of saliva and jaw marks from when they hit the floor ;). The session was a great success. A lot of "OMG – this is going to put me out of a job" and "What you just did in 2 minutes (data binding to list and showing details form as Master/Detail record) I do all day in my job, this is going to be awesome!"

MORE BREAKING NEWS: Adobe LiveCycle Cafe now available

Wonder how everyone in the LiveCycle community is in the know???? Well now you have access to the secret weapon of the enterprise “in-crowd” 🙂

Adobe LiveCycle Cafe is a web-connected desktop application – built on AIR of course. It provides you with real time access to all of the latest news, refined searches, live chat with the experts and more. 


Get Adobe LiveCycle Cafe now from DevNet.

See you in the cafe…

MAX 2009 Awards: Get your nominations in


OK people – with the drive for more Enterprise content, we also need to make a dent in the MAX Awards! This is a great opportunity to get your wicked cool LiveCycle ES / Flex applications some visibility and recognition.

submit your nominations here:

LiveCycle@MAX bundle available

image I have to admit I am really excited about MAX this year. We have been able to secure dedicated enterprise rooms with and a track with some awesome sessions. And I am not just talking about my sessions 🙂

The MAX 2009 site is now live. Under the “Session and Speakers” section, you will find a LiveCycle@MAX bundle option.  For those of you that are new to LiveCycle ES or need a refresher, I strongly recommend this bundle. It include a 1.5 day preconference lab titled LiveCycle ES: Building Rich Engaging Applications. In this lab, you will gain a baseline level knowledge of everything from the Adobe Flash Platform to LiveCycle ES Server technologies. Having worked on some of the content in this session, I can assure you that it’s a very solid base that will enable you to get the most out of the high quality sessions during the event.

The LiveCycle@MAX bundle pass includes:

  • 1.5 days LiveCycle ES: Building Rich Engaging Applications preconference lab
  • A full conference pass which allows access to all:
    • MAX 2009 sessions and labs on Monday, Tuesday and Wednesday (October 5-7)
    • MAX keynotes, evening events, the MAX Store and all activities within the Community Pavilion
    • MAX-provided meals and breaks

We really have some valuable and mind blowing content to share this year at MAX… DON’T MISS IT!

BREAKING NEWS: Tour de LiveCycle now available.

imageGetting the word out on what is LiveCycle ES has just been kicked into high gear! We just released the next generation of communication vehicles to introduce the world to Adobe’s enterprise software (aka the best kept secret 🙂 )- LiveCycle ES. Based on the success of Tour de Flex, we decided to leverage its approach and architecture built on Adobe AIR to deliver over 1600 pages of rich content and samples.

For those of you wanting to know more about how LiveCycle ES provides value to your vertical, how LiveCycle ES can fit into your IT stack, or how to administer and build your own LiveCycle ES applications, Tour de LiveCycle is the perfect place to start. Tour de LiveCycle is less than 1.5 Megs. You can even fit it on a memory stick. Have you ever tried to explain to your neighbor or family member what LiveCycle ES is? Now you have a perfect solution!!!

In addition to providing all of this valuable content, Tour de LiveCycle also provides you with an impressive quick reference to all of the services, tools and APIs you need.

You can get Tour de LiveCycle here: