Online training and a discount coupon for next weeks Flex seminar in NYC

If you are into enterprise development Flex, don ‘t miss this one day technical event Enterprise Flex Symposium that will take place on August 19 in New York City.

You ‘ll see six presentations covering different areas of developing enterprise Flex applications.

As a reader of my personal blog, you are entitled to 50% discount. Just enter the discount code flex3halfprice at the registration page.

For those people who ‘d like to learn Flex, I ‘ll be running live online training course on the week of August 25. See details at this page . You can be located anywhere in the world, as long as you are connected to the Internet.

Yakov Fain

Working with LiveCycle Enterprise Suite 8.2

I “d like to share with you my experience of working with LiveCycle ES 8.2. This version has been released in July of 2008. The letters ES stand for Enterprise Suite. This tiger can do a lot of things.

LiveCycle ES server is deployed under a J2EE server of your choice utilizing EJB and Java servlet containers. Its metadata repository is stored in a DBMS. But all this is hidden from people developing business processes. It includes Eclipse based IDE called LiveCycle Workbench that allows them to create and configure business processes using graphic designer. For example, you can design a process of applying for a mortgage as shown below. You connect users and processes by dragging line between the boxes ndash; these connections are called activities, i.e. Approve, Reject.

Depending on the results of execution of each of the sub-processes hidden behind these boxes, the process goes into appropriate state and performs various activities.

The user interaction can be configured with minimal or no coding at all. For example, you can design a PDF form using LiveCycle Designer. A form is an interactive PDF file ndash; the user fills out a mortgage application, and presses the button Submit on the form, which automatically sends an email to one of the approving officers based on the requested mortgage amount. Email end points are also configurable. By the way, a process can be automatically invoked just by sending an email.

If you don “t like the user interface based on PDF forms, you can configure it as HTML or Flex-based UI. Again, you don “t have to program in Flex, the UI is auto-generated ndash; just configure so called form guides with inclusion of audio/video fragments if needed. If you don “t want to deal with these code generators, write Flex code yourself, and using API invoke the sub-processes in your own code.

The same form designed in LiveCycle Designer can be rendered to the user either as PDF or as HTML or inside Flash player. You can create custom renderers too. The augmenter service allows to enable PDF forms for online and offline use of PDF forms.

Interaction with the database is also as simple as adding yet another box to the process in the Workbench. On the property sheet configure the JDBC driver for your DBMS and enter an SQL statement. The rest is the same ndash; the plumbing between the boxes is done via input/output variables. The results of one box execution goes into a set of output variables through which the data is poured into another box via its set of matching input variables.

Another interesting feature of LiveCycle is the rights management service. You can configure document protection on various levels ndash; for a user or for a group. You can restrict access to the entire document or just not allow copy/paste its text. And this can be done not only with PDFs, but also with Microsoft Office documents (.doc, .docx, .xslx, .xsl, and others).

An HTML based administrative UI offer you pretty intuitive administration and configuration of processes.

I just mentioned some features of this powerful enterprise platform, but there is more: designing processes with events, branching out a process with so-called gateways (i.e. more than one person has to approve an application), digital signatures in your PDF forms, embedding bar codes in your PDF forms to name a few.

Even though LiveCycle is a good product, it has room for improvement, that “s for sure.

LiveCycle Workbench is slooow. If in the past I was complaining about Flex Builder, LiveCycle Workbench is even slower. The startup of the server is slow. Adobe offers several turnkey downloads of preconfigured LiveCycle ES 8.2 with JBoss, WebLogic and some other J2EE servers. I “m running LiveCycle on a server with 3Gb RAM and 2.8Ghz CPU, but restarting JBoss that runs LiveCycle ES can take 20 minutes.

The user interface of LiveCycle development tools is not great. I “m surprised that Adobe, the company that creates excellent tools for designers, lags behind in the area of tools for developers. The Workbench has quite a few things that cry for a good UI designer.

But despite these annoyances, LiveCycle ES is a very serious platform that helps in creating and managing long and short running business processes. If you need to automate a business process such as new account offering, secure work with customer documents or an internal business workflow you can either configure it using a commercial BMP tool or build it yourself. Based on our company “s experience, manual programming of just one activity like arranging and processing of user email notifications with attached documents can easily take a couple of months of for a senior developer. With LyveCycle it can be done within a day.

The good part about LiveCycle ES is that you don “t have to use it as is. You can manually program your own front end in Flex that will invoke the processes, but reuse the other functionality that is readily available from LiveCycle ES 8.2. Application developers will be more productive, if equipped with quad CPU machines and 4Gb of RAM. I know that the LiveCycle Enterprise Suite is expensive, but try to negotiate a deal and purchase only those components that you need rather than buying the entire package.

If you “d like to see a demo of an application created with LiveCycle, attend a one day Enterprise Flex Symposium on August 19, 2008 in New York City. We are including a chapter on using LiveCycle in the upcoming book “Enterprise Application Development with Flex ” that will be published next Spring by OReilly.

Overall, I like the product. Give it a shot a see for yourself.

Budget Travel and Budget Cars

Haven “t been sleeping in a tent for four years. Last time it was several years ago in the Pocono mountains when we went fishing. They gave us a spot for setting up a tent, and I was pleasantly surprised finding a electric and cable TV wires sticking from the ground. America! There was a pond with a fish and we were told that all caught fish should be put back in the pond. Yeah, right!

But this weekend we went to a different campground ndash; it was in the woods right by the ocean. No TV or electricity this time. Posted sign reads that alcohol is not allowed here. Had to hide our beer bottles during lunch time. Kind of stupid. Why did I even go to such a place? Our friends (they are bikers) discovered it a couple of years ago and spend most of their Summer weekends there. This camp is located in a trendy area ndash; 10 minutes drive from a place with lots of fancy stores and restaurants. So they kill three birds with one stone ndash; ocean, sports, good restaurants and crowd. Booking a hotel in this area starts from $400 a night on weekends.

We decided to get out of our house for this weekend too, otherwise we “d be spending it just as any other day doing stuff around the house. For example, my wife likes it clean. Finding a cleaning lady is not easy in our area. ..

After a short three hour drive we arrived to a gorgeous park-like area, and I said, “Honey, if we did not come here, I “d be mopping floor in the kitchen at home now! rdquo; After setting up the tents we ate, and all of a sudden it started raining. We ‘ve jumped inside our tent (borrowed from someone) and quickly fell asleep for an hour or so. We woke up because the water was dripping through the tent. The next 20 minutes I spent with paper towels trying to get the water out from the tent floor. Hm… Mopping the kitchen floor was replaced with mopping the tent “s one. Mom used to tell me when I was a kid, “Try not to borrow, have your own rdquo;. Mom was right. Will definitely purchase a tent later this month.

The rain was over, the air was fresh and we went to a nearby city for a cup of coffee, followed by a promenade and a dinner in a good restaurant.

Here “s the picture of my wife Natasha and our friend Irene.

I “m not going to tell you who is who on this photo and the name of the city. In the near future, you “ll be able to run a program and identify not only the place but even people shown on the photo. Have you heard of semantic Web? Watch this presentation . By doing comparative analysis with other photos published on the Web your can recreate the image of Notre Dame de Paris from the image of a small piece of the wall. People are happy to publish their images on the Web.

Several years from now, expect some of them screaming about violation of privacy. Sure, just by looking at an anonymous photo on Flickr, you “ll be able to see the name and address of the person and trace his or her movement around the world.

I rarely use the word “cool rdquo;, but this demo was more than cool, wasn “t it? First social engineering sites like Facebook or myspace made the job of FBI and CIA a lot easier, but it will get even better when these image analytic programs will become available.

On Sunday morning, we went to the beach. I remember a phrase from my school English text book: “The weather is beautiful today, isn “t it? rdquo; This was really the case and we ‘ve spent it on the beach and then ate some lobsters at the lobster ‘s farm.

On the way home, my wife dropped me off at JFK ndash; had to catch a flight to Tampa, FL on business.

This was my essay called “What did I do over the weekend rdquo; and I was not planning to write anything else, but hellip;

On the arrival I went to Budget Rent ndash;a-Car. Last week, I “ve been reading that car rental companies are not doing great because of the high prices on gas, but I did not know that it “s that bad. In the past, getting the process of picking up a car was a 5 min deal ndash; put your initials declining all extra insurances, and get the key. Now it turned into a high sales pressure process.

Here “s how it went (I pre-paid $219 for mid-size car for a week). The woman over the counter asked me:

“Do you need GPS in the car? rdquo;

“No, thanks rdquo;

“Do you need full coverage insurance for just $24.95 a day? rdquo;

“No, thank you rdquo;

“For just $20 a day we can upgrade the car to convertible rdquo;

“No, thanks ndash; who needs a convertible in Florida in August? rdquo;

“Do you need liability insurance for $14.95 a day rdquo;

“No thanks. What kinds of cars do you have in the mid-size category? rdquo;

“Chrysler PT Cruiser rdquo;

This was a lie. The Internet advertised Chrysler Seabring or the like, which is a lot larger rdquo;

“What “s your airline? rdquo;

“Oh, with this airline I can upgrade you to a convertible or Chrysler Seabring for $15 a day rdquo;

“I don “t need it rdquo;

“Do you want to prepay for gas, and in this case you can return your car without the need to fill the tank. We “ll fill it for you ndash; our price now is $3.85 a gallon, which is cheaper than at any gas station rdquo;

“I don “t believe this. Usually rental cars charge a lot more for the gas rdquo;

“No, it “s $3.85 for a gallon rdquo;

“OK. rdquo;

“Are you sure you don “t want to upgrade to a convertible rdquo;

“No, I want to get out of here asap rdquo;

She prints the rental doc, and I see that she added $68 to the initial price.

“What “s this? rdquo;

“You “ve agreed to prepay for the gas, so you can return the car with the tank as empty as you can. rdquo;

How do you like that? If on the moment of return you “ll have a half or three quarter of the tank full, you already prepaid $68 for the rest. What a deal! I got an idea. I can sucked out the remaining gas into a canister and take it with me. I “m not sure though if the airline will allow me to board the plane with the canister of gas. Nay, too risky.

“No, I don “t want this pre-paid gas deal. Redo the whole thing ndash; I “ll return you the car full of gas rdquo;.

When I went to the parking lot to pick up the car, it was Chrysler Seabring. She was playing all these games knowing that I “m entitled to Seabring and she had one.

Budget Rent-a-Car is full of shit.

Good night.

A bass guitarist in a synagogue

I spent this weekend attending a wedding in the capital of the New York state. Raise your hand if you know what “s the capital of this state. Nope. Not New York. Nope. Not Brooklyn. It “s Albany, stupid!

An easy three hour drive, and we are in Hilton Garden Inn hotel at 4PM. $109 per night is cheap. Internet is free. The morning after, I was surprised to see two taxes in my bill: a room tax and a bed tax. I wonder when they “ll introduce the shower, TV, A/C, table, chair, lamp, mirror and painting-on-the wall taxes? My advice: when you check into a hotel, ask upfront if they charge bed tax. If so, just ask them to take the bed out of the room (keep a sleeping bag in the trunk of your car ndash; it doesn “t take much space).

The wedding ceremony started at 7PM in a synagogue, which was a modern-looking airy building of unusual form with a lot of glass and light. Eventually, I found out that it was built more than 50 years ago. The mother of the groom died many years ago of heart attack, so they made a donation to the American Heart Foundation. Here “s another interesting donation: a tree will be planted in Israel in honor of every guest who attended the wedding.

After a short ceremony, we “ve proceeded to the reception (it was in the same building ). The bartender had a battery of various liquor and wine bottles, but I was trying (unsuccessfully) to spot some cognac. Here “s piece of advice ndash; never be afraid to ask. Don “t trust your eyes. After a short research and consulting with a senior bartender, the guy found a bottle of Hennessy XO, and I was sipping it till the rest of the evening. Being a nice guy, I shared this valuable info with my friend, which made him happy too. We are not drinkers, but it feels so good to have something that other people don “t.

The dinner time. We went to yet another large hall with well decorated tables, a stage and a dancing floor. I took off my tuxedo jacket ndash; it was about time to start unwinding. The joy of my little Hennessy secret was over ndash; this time it was offered to everyone. Oh, well. I need to be positive ndash; I enjoyed an hour of belonging to a privileged club of anonymous cognac drinkers. Thank you, Lord for this.

The music band was the next highlight of the evening. They “ve been playing rock, pop and folk music in English, Yiddish, Greek, Russian, Romanian, Spanish and Italian languages. The base guitarist was an overdressed fifty-year old lady. It was fun watching her. She didn “t move on stage (even while playing The Beatles cover Rock “n “Roll Music), she smiled all evening and her fingers hit the strings effortlessly or so it seemed to me. She was a great musician. Here she is:

On Sunday afternoon we went back home. During this trip, I had two ladies in the car, and to keep them quiet, I “ve downloaded from the Internet a number of short podcasts where professional authors read articles on various interesting topics and recorded them on a CD . This was a good idea. The most popular podcasts were “Can a man and a woman be friends? rdquo; and “What to do to have your wife leave yourself rdquo;. When I was trying to comment these podcasts, they were asking me to keep quiet ndash; can you believe this! If you are planning a long car trip, this little trick will make your journey more fun.

Overall, it was nice, relaxing and well organized weekend.

Amerikanskie Budni (in Russian)

В этих подкастах я рассказываю о своих американских буднях (и праздниках).Записи в формате mp3. Качайте на PC, iPods, iPhones, и другие устройства. Если хотите слушать в машине или на обычном плейере, загрузите iTunes , создайте новый Play List (кнопка + слева внизу), drag/drop mp3 файлы в этот Play List и нажмите кнопку Burn справа внизу – ваш чистый диск превратится в обычный аудио CD.

Моя лента подкастов находится на сайте российских подкастеров, где я зарегистрирован как будам, что значит будни Америки.

Quitting twitting

In early June I decided to join twitter.com. For those who haven “t heard about this yet another social-engineering site, I “ll explain what it is. The concept is extremely simple. They give you a text field to enter a short answer (only 140 characters allowed) to the question “What are you doing? rdquo;. If you enter something in this box and post it, it “s twitting.

First, I was surprised ndash; who cares what am I doing? The thing is that people can follow you and you can follow other people. You can search for people to follow, then you see who are they following and add some of them to your list too. Whenever one of them twits, you get it in your list.

To make your twitting easier, you can use all kinds of mobile devices in addition to your PC. Some entrepreneurs write special desktop widgets, so you get notified when someone from people you follow twits.

I “ve written a couple of first messages, and it wasn ‘t too exciting. But then, somehow someone started following me. Wow! I started to feel some responsibility ndash; if someone care, I need to provide them with updates. Within a month or so, I started following ten people and eighteen people are following me. But then, I started to lose my interest for the following reasons (in the order of importance):

1. As any social engineering site it eats my time. Every now and then I visit this Web site to see what are the latest twits from my gang. What do I get back? Nothing, really.

2. Twitter.com is the most unreliable social site I “ve seen so far. It “s been written using Ruby on Rails and is bad PR for this framework. Every day you get the message on twitter.com saying that it “s over capacity. This ROR thingy just doesn “t scale when gets some serious hits.

3. I was surprised to figure out that some big guys are hiring other people to tweet. Just do a simple math ndash; if you “re following two thousand people and two thousand people are following you, during the day you can “t technically be doing anything but twitting, eating, shitting, and (maybe) fking. No time for working.

4. Some people are hiring teams to twit. Mr. Barak Obama is followed by more that forty thousand people and is following about the same number of other people. C “mon, this is BS. If (God forbid) he “s going to be elected, we “re going to have the first twitting President. Actually, I “m pretty sure he “ll stop twitting as soon as he gets into the office.

5. People just twit for the sake of twitting. Nothing interesting.

“I “m now at the following address rdquo;. So? Is this a hope that a beautiful long-legged blonde who “s following you is also in the area and is ready to give you a quicky?

“I “m going to bed now rdquo; It “s good to know. Thank you very much that you are not warning me when you are about to take a leak.

6. Some people just copy paste links of the sites they ran into and liked. Or the latest news. These suck the most of your time. You click on that link and start reading or watching hellip; Speaking of links hellip; Thanks to twitter I got to know about the sites like tinyurl.com. They take a long url and convert it into a shorter one, which is a life saver when you have only 140 characters but the important link you want to publish is about 100 chars.

To sum up, I “m not going to twit anymore. Twitter is yet another lonely heart club for people who need someone to communicate with. There is nothing wrong with this in the society where about a half of the population suffers of one or another form of depression. I need to get out of this place. Will I come back? Maybe. Just maybe. But if you were thinking of following me, don “t bother.

Combined Flex and Java training

Typically, when you are looking for a job as a Flex developer, knowing just Flex is not enough. A quick search using keywords Flex Java on dice.com returns more than 450 jobs. What if you are not familiar with any of these programming environments? What if you are a Web designer planning to better understand what “s happening after the user clicks on that button? If you are a development manager who needs to manage a team of Java and Flex developers, it “s good to better understand their lingo too.

We “ve designed a five-day training class that will fill this gap in your skill set. The first two days is an into to Java and basics of creating of Java Web applications. The next three days is about learning Flex and how to make it communicating with Java on the server side.

I “ll be teaching this public training in Edison, NJ on the first week of September (details at http://www.eventbrite.com/event/144267508 )

If you “d like to have this training delivered in your organization, please get in touch with me via email: yfain at faratasystems.com.

If you are interested in just Flex training, check the current schedule of classes at th eleft sidebar at http://flexblog.faratasystems.com .

Our Mercedes Benz project went live and looks cool!

I “m happy to spread the news ndash; mbusa.com is live! It looks gorgeous, and I “m very proud to be a part of the team that was working on this project (Farata Systems was leading this project on the Flex side). This is Flex 3 application, and we had to be very creative to make sure that this it doesn “t feel heavy even though it had about two hundred views and dozens of megabytes of beautiful graphics.

As much as I ‘m trying not to get too attached to any software, I feel proud that we were a part of the team that was able to create this work of art. There is a couple of bugs here and there, there are some other improvements to be made, but overall, it “s a work of art.

This blog is not an official press release, and we hope to write with MBUSA folks joint whitepaper explaining technical details of this large-scale consumer facing Flex application. My big thanks to all members of MBUSA team that worked on this project. Special thanks to Farata “s own great software developer Valery Silaev! It was a top notch performance!

For me, it was a very interesting experience, because I joined this project right after completing another one (Flex, LCDS, and Java) for a foreign exchange trading company. That was absolutely different Flex. That project had a trader “s screen and a couple of others, no shiny automobiles or videos. But the main challenge there was to enhance Flex communication protocols to improve reliability in message delivery and add quality of service information to packets travelling along the RTMP channels. On this project I was working with our own Mr. Anatole Tartakovsky who was simply unstoppable. And Flex proved to be well designed, and allowed us to bend it a little bit to accommodate the needs of this application.

After completing a number of different enterprise-grade projects, I can attest that Flex framework is a great product for wide variety of rich Internet applications.

Stay positive, read WSJ!

My new pet is Wall Street Journal. Yep, I subscribed to this newspaper. Your first reaction is “Yakov decided to play stock market rdquo;? Wrong. I “ve been through THAT craze eight years ago when everyone was a day trader. I was even studying technical analysis and wrote some formulas.

I paid my price, and during the last seven years I “m not interested in stock market. If I have a couple of extra bucks, I purchase some Index fund or a CD. Return is not too impressive, but at least I stay on the positive territory and really don “t care. The stock market is in the toilet, that “s fine. It “ll go up again. This is America.

For the last couple of years a friend of mine was telling me interesting stories he read in WSJ. These stories had nothing to do with finances. They were just well researched articles about life and people.

A month ago I “ve subscribed to WSJ online and paper editions and I don “t regret it a bid. The section with the stock market data goes to garbage right away, and then I skim through the rest of the paper. I always find there something worth reading.

Yesterday, they had an article with advices to people who have to sell their houses in this shitty market. I “m not selling mine, but I love the way it started “So you say you ‘re selling your house? Hey, it could be worse. You could be selling a Hummer. ”

Not too many words, but it carries loads of information. And most importantly, this is an excellent example of how to remain optimistic even when you find yourself in a really bad situation. Expect no less from America.

Yesterday, I was talking to my friend who lives in Israel. He was worried, “We hear all the time that the USA is in deep crisis now, is it so? rdquo; It would be less funny if he “d be living in France, GB or Italy hellip; I told him that Israel can rest assured that America is doing fine now and will be even better in the future. It “s always up and down, but the amplitude is reasonable.

Most of the countries in the world would love to have such “bad rdquo; economy as we are experiencing now. All this noise about high gasoline prices will calm down soon. People will get used to it. Europe, India and even in Russia run on such expensive fuel for years and they got used to it.

Americans will adjust their driving habits too. We used to live in a development where all mailboxes were located in a central place, which could be as far as 300 feet away. Some people would start the car and drive to get the mail. OK, now they “ll walk.

So let “s stay positive. Don “t worry, be happy!