general

binary-text

HPEL – A fast binary logging for WebSphere v8

Troubleshooting Java EE apps running on WebSphere just got a bit easier with WebSphere v8′s new binary logging and tracing mechanism: HPEL (High Performance Extensible Logging).
HPEL provides logging/tracing run-time performance boost (x3.5-x5 claimed) increasing the chances that you’ll be able to turn on tracing on a production system.
HPEL comes with two offline viewing tools: A crafty command-line tool for log analysis, and a web based traces viewer on the Web admin console (handy for remote servers).

The command line utility has a tail function and can filter by: Logger/Thread ID/Time/Server startup instance/etc. Which is a good enough reason for me to get rid of my (slow performing) custom Python based filtering scripts.

Good old legacy text based logs are still supported but are recommended for development mode only.

hi-256-2-d47bd4b1848d98268cb94c21e7f3a256b36b8ae7

10 things I like about Android development

  1. Java – Write in Java on both the Client and Server sides. Simplifies development and presents a low learning curve for newcomers.
  2. Paid apps culture - Unlike when using web apps, mobile app users we’re tamed to pay for the apps they like (Thank you Apple for cracking the ice). Developing for Android might be the first time that you’ll sell a piece of software directly to your users (it is my first time, and I’ve been programming since 1996).
  3. TTD – When creating a new Android Eclipse project it auto suggest to create matching test project. Proves to show that the Eclipse perspective designer had TTD in mind.
  4. API Demos – Good samples project to copy code segments from. Bundled with the SDK.
  5. No single point of entry - No single main() function. Your application can have multiple entry points (Activities), which can be used to service the user’s Intents. Different from what I’m used to.
  6. Construct UI using XML - specifying UI elements using a markup language makes more sense than doing it programmatically (attention Swing).
  7. Multiple App markets – More choices for us developers.
  8. Coping with multiple device resolutions – using density independent pixels worked well for my modest needs.
  9. App Inventor - Ridiculously easy to build your first app. Go try it.
  10. What’s your 10th? Comment if you have one.

My first App:

My first app is the Weight Watchers Points Tracker (diet related), that I’ve initially created for my own usage, then later posted to the Android Market. Surprisingly it has been doing pretty good (>10K installations). I’ll need to see what comes next…

baby

New Java blog out there

A new baby blog was born: Java Tech Sharing.
Proud father: Guy Moshkovich.

I recommend adding to your RSS/Atom reader.

Increasing the site’s posting rate – new paradigm

I’ve been promising myself to post and publish much more frequent than the current rate of publishing.

Except from reserving more time for the actual posts authoring. I’m also counting on changing the nature of the post as a primary means of increasing the posts rate to once a week or more. From now on, I’ll publish stories from my day-to-day work as a software developer, interesting technical things I come across, questions that I don’t always have an answer for, general discussion, etc. The post will be less educative, less articles like, less accurate, with less checked facts, but on the other hand, much more real life related, much more up-to-date, and presented in an open discussion inviting format.

So, I’ll be writting to you soon as promised :)