• Share
  • ?
  • Profiles ▼
  • Communities ▼
  • Apps ▼

Blogs

  • My Blogs
  • Public Blogs
  • My Updates

Hazem Saleh

  • Log in to participate

About this blog

Technical Blog about common technical issues
  • Facebook
  • Twitter
  • Google
  • LinkedIn
  • RSS

Archive

  • May 2016
  • August 2015
  • April 2015
  • January 2015
  • November 2014
  • May 2014
  • April 2014
  • March 2014
  • January 2014
  • September 2013
  • August 2013
  • July 2013
  • April 2013
  • March 2013
  • February 2013
  • January 2013
  • December 2012
  • November 2012
  • September 2012
  • August 2012
  • July 2012
  • June 2012
  • May 2012
  • April 2012
  • March 2012
  • February 2012
  • January 2012
  • December 2011
  • November 2011
  • September 2011
  • August 2011
  • July 2011
  • June 2011
  • May 2011
  • February 2011
  • January 2011
  • December 2010
  • November 2010
  • October 2010
  • July 2010
  • June 2010
  • May 2010
  • April 2010
  • March 2010
  • February 2010
  • January 2010
  • December 2009
  • November 2009
  • October 2009
  • September 2009

Tags

All posts
  • Sort by:
  • Date ▼
  • Title
  • Likes
  • Comments
  • Views

The effective Java logout servlet code

Hazem Saleh (IBM) 2700027XCV | | Visits (10874)

Tweet
The invalidate() method of the javax.servlet.http.HttpSession may not achieve the complete user logout in some browsers. In this post, I'm discussing how to write an effective logout code in the Java Servlets: http://www.technicaladvices.com/2012/07/08/the-effective-java-logout-servlet-code/

Tags:  effective logout httpsession invalidate caching java ie servlets

Getting the Linux version and distribution that you are using

Hazem Saleh (IBM) 2700027XCV | | Visits (4367)

Tweet
Sometimes, you may not have the information of the Linux server that you are deploying on. In this post, I illustrate how to get the version and the distribution information of the Linux server you are working on: http://www.technicaladvices.com/2012/06/20/getting-the-linux-version-and-distributon-that-you-are-using/   I wish it can be helpful.

Tags:  command etc version servers distributon linux

Developing Weather Application using Dojo Mobile

Hazem Saleh (IBM) 2700027XCV | | Visits (5119)

Tweet
Dojo mobile (dojox/mobile) is one of the most powerful JavaScript frameworks that enable you to build cross mobiles web applications. It does not only contain mobile components but also it mimics the interface of the different mobile devices. Adding to this it responds to the mobile orientations. In this article, I will illustrate how to use the framework for building a weather application on the iPhone mobile: Read the full article here

Tags:  dojo mobile ajax dojox.mobile.view html5 android dojox blackberry iphone

“Efficient JavaScript unit testing” video session in CONFESS 2012

Hazem Saleh (IBM) 2700027XCV | | Visits (5802)

Tweet
This video provides a presentation about how to make efficient JavaScript unit testing. I presented it in the CON-FESS 2012 international conference which was held in Leogang, Austria. I wish it can be useful.

Tags:  unit austria confess javascript hazem saleh presentation testing jstestdriver leogang confess_2012 video session

DB2 calling REORG command from JDBC

Hazem Saleh (IBM) 2700027XCV | | Visits (8767)

Tweet
Sometimes, you need to run the DB2 REORG command from the JDBC code. This post shows you how to do this task: http://www.technicaladvices.com/2012/05/15/db2-calling-reorg-command-from-jdbc/

Tags:  reorg table column db2 sysproc.admin_cmd drop statement alter jdbc

"Efficient JavaScript unit testing" presentation in CONFESS 2012

Hazem Saleh (IBM) 2700027XCV | | Visits (5166)

Tweet
I just got back from the International technical conference CONFESS 2012 which was held in Leogang, Austria. The conference was very cool, the hotel and the city were fantastic, the quality of the sessions and the speakers were great. Now, I got finally some free time to share with you my presentation about my efficient JavaScript unit testing. I hope it will be useful for you. Once I get the video session, I will definitely share it with you as well. Have a nice time.

Tags:  confess_2012 session unit testing javascript confess hazem jstestdriver presentation saleh austria leogang

JsTestDriver integration with Hudson

Hazem Saleh (IBM) 2700027XCV | | Visits (6316)

Tweet
JsTestDriver can be integrated easily with continuous integration tools. In this post, I will illustrate how to integrate JsTestDriver with Hudson: http://www.technicaladvices.com/2012/05/05/jstestdriver-integration-with-hudson/

Tags:  unit integration ie windows firefox javascript hudson safari jstestdriver testing

Converting the JsTestDriver coverage files to HTML Reports

Hazem Saleh (IBM) 2700027XCV | | Visits (6101)

Tweet
In this post, I will show you the detailed steps that are required to convert the JsTestDriver LCOV coverage files to HTML reports in Linux Redhat environment: http://www.technicaladvices.com/2012/05/02/converting-the-jstestdriver-coverage-files-to-html-reports/

Tags:  function code jstestdriver linux redhat reports visualizer genhtml lcov rpm coverage line html branch

Resolution of genhtml: ERROR: cannot create directory !

Hazem Saleh (IBM) 2700027XCV | | Visits (5561)

Tweet
When using the LCOV Visualizer tool to generate the HTML reports from the JsTestDriver lcov coverage files, you may face this error "genhtml: ERROR: cannot create directory !". In this post, I illustrate how to fix this error: http://www.technicaladvices.com/2012/04/25/resolution-of-genhtml-error-cannot-create-directory/

Tags:  genhtml jstestdriver linux cannot visualizer ! genhtml: lcov create directory reports error: redhat

Creating a Mashup Dojo Widget

Hazem Saleh (IBM) 2700027XCV | | Visits (6069)

Tweet
I just published an article about creating Custom Dojo component in Wazi. This article illustrates how to create a Dojo mashup component. The Dojo mashup component utilizes the Google maps API V3 to display the locations on a map. Read the full article in Wazi .

Tags:  custom attach dojo google maps point widget mashup component

Modern Web Architecture: The HTML5 Web Storage

Hazem Saleh (IBM) 2700027XCV | | Visits (6040)

Tweet
One of the most important features of HTML5 is the Web Storage feature. Using the Web Storage feature, the client state can be saved on the browser level without consuming the network bandwidth or the server memory. The Web Storage increases the scalability of the web applications on the server level and on the network level. In this article, I will show you how to work with the HTML5 Web Storage feature: http://www.technicaladvices.com/2012/04/12/modern-web-architecture-the-html5-web-storage/ .

Tags:  architecture scalability ie8 opera firefox localstorage modern javascript storage safari sessionstorage web html5 chrome

Testing JavaScript code using Jasmine (Kickstart)

Hazem Saleh (IBM) 2700027XCV | | Visits (4734)

Tweet
Jasmine is one of the JavaScript unit testing frameworks. It has a nice advantage that its syntax is readable and a very human friendly. In this post, I will give you a kickstart to help you start working with Jasmine. Read more ...

Tags:  kickstart unit describe testing jasmine javascript

Java getting the class path in the runtime

Hazem Saleh (IBM) 2700027XCV | | Visits (5757)

Tweet
In some cases, you may need to know for debugging purposes from where a specific class is loaded. You may need to know which jar is containing a specific class. Thanks to the ProtectionDomain, you can get this information. Read More ...

Tags:  java classpath protectiondomain

Detecting the Page Leave event in JavaScript

Hazem Saleh (IBM) 2700027XCV | | Visits (7624)

Tweet
You may need to detect if the user is leaving your web page for displaying a warning message to the user mentioning that (s)he may not leave the page and the form is containing data filled by him/her. To be able to detect this event in JavaScript, you need to deal with the "onbeforeunload" event. The following example explains the idea: Read more ...

Tags:  ie onbeforeunload javascript firefox safari leave page

"Ajax Status Zero" Resolution

Hazem Saleh (IBM) 2700027XCV | | Visits (5636)

Tweet
"Ajax status is zero" is one of the hardest errors to debug especially when the Ajax readyState is 4. This post illustrates what is meant by Ajax status zero and proposes a way to solve it: http://www.technicaladvices.com/2012/03/14/ajax-status-zero-resolution/ .

Tags:  ajax firefox jstestdriver 0 cross access-control-allow-orig... domain javascript zero status resolution
  • Show:
  • 10
  • 20
  • 30
  • Previous
  • Next
1 2 3 4 5 6 7 8 9 10