Banana bacon omelette

I like to cook, and for lunch, it’s easy to cook up an omelette with pretty much anything you happen to have in the fridge: leftover mushrooms, onions, tomatoes, cheese; anything goes.

Today I happened to have bacon and bananas at home, so why not make a banana bacon omelette? Here’s the recipe.

  • 3 bacon strips
  • Half a banana
  • Goat cheese, e.g. Chevre
  • Hot chili sauce
  • 3 eggs

Cook the bacon so it’s crispy. The easiest way is to bake them in the oven. Put the strips on an oven-safe plate in the cold oven and set the oven on 400 F (200 C). Check the bacon when the oven has reached its temperature. If you want them really crispy, they typically need a few more minutes.

Cut the banana into slices on an oven-safe plate and let it sit in the oven for a few minutes. Use the Broil setting if you’re oven has it, otherwise just turn up the heat to high. Heating the banana gives it more taste.

Beat the eggs with a bit of water (helps make the omelette fluffy) and some cayenne  pepper. No salt yet, it comes later (makes the eggs taste better). Melt a tablespoon of unsalted butter in a frying pan on low heat. When the butter starts to get a bit darker, add the eggs and mix with the melted butter. To make the omelette fluffy, put a lid over the frying pan for a couple of minutes.

When the omelette starts to get firm, sprinkle it with salt. Add some goat cheese and a little bit of chili sauce on half the omelette, and then cover with the banana and bacon. Use a spatula to lift the uncovered part of the omelette to check the color. When it has turned slightly golden, fold it over the covered half with the spatula. Let it sit for another half a minute and then move it to a large plate.

Mmmm… Yummy!

Falling in line…

I had to move my site to a new host, because my previous hosting company suddenly shut down.

After years of neglect, I decided to take it as an opportunity to update the site as well, but I didn’t feel like doing yet another custom, JSP-based website. Like so many others, I used WordPress instead. The greatest thing about WP is that there are so many plugins and other contributions available. Almost no matter what you want to do, there is a way to do it without having to write a lot of code. In most cases you don’t have to edit a single file.

Coming from a Java background, having helped develop the Servlets, JSP and JSF specifications, I can’t help but wonder why nothing like WordPress evolved based on those technologies. Or have I missed something? I know there are plenty of Java-based CMS’s, but I’m not aware of any that has a sizable community…

For this site I use just the basics: a Twenty Eleven child theme, with some CSS tweaks and custom header and footer templates, plus the Shortcode Exec PHP (for shortcuts that get the base URIs for things like images and other files) and the WP Captcha Free plugins (to see if it really gets rid of spam posts without forcing visitors to enter a captcha). I imported some of the posts from my old sites using the RSS Importer plugin. On another site I also use the Types plugin to create custom types with parent – child relationships.

That will have to do for now, but maybe I’ll play around with some more stuff later on.

Back to web applications again

After years of trying to get a new company off the ground and consulting gigs, mostly focusing on GUI Swing development, I have started to pay attention to web application development again. But this time around, I’m interested in what can be done on the client-side. It’s amazing how much cool JavaScript code is available, and how well it works across modern browsers. Combined with public APIs for services, like the Google Maps API, it’s not all that hard to offer information to your site vistors that would have been far too complex or expensive just a few years ago.

To learn more about these technologies, I’ve set up a website about Hermosa Beach, where I’ve lived since 1994. It contains information about the city and what’s going on, pictures, slideshows and reference lists with maps for hotels, restaurants, clubs, etc. It’s a work in progress and I’ll add more features as time permits. Check it out if you want to see what I’m up to nowadays.

How do I run the JSF examples with JBoss?

While JBoss uses Tomcat as its web container internally, installation of a web application and configuring simple authentication differ from how it’s done for a stand-alone Tomcat (which is what the book describes). In addition, JBoss bundles the MyFaces JSF implementation libraries, casuing a conflict with the JSF RI libraries included with the book example application. So, how do I resolve these differences so I can run the JSF book examples with JBoss.
Pete Bennett at JBoss/Red Hat has been kind enough to provide an answer to this question, available here:

Customizing JSF messages

An article I wrote for Oracle’s Technology Network is now available online. The article provides some general advice on web application interface development and describes how you can use generic attributes and a PhaseListener to customize the standard JSF error messages in a very flexible way.