Java

Windows Arabic Encoding Cp1256 &#XXX;

in this post I will address the Arabic encoding problems.

any one may face one or more of the following scenarios:

  1. Retrieving Arabic data from database and wanna display it in a web page correctly.­
  2. Getting encoded Arabic data from web page and reading it correctly.

for the first Scenario  Retrieving Arabic data from database and wanna display it in a web page correctly.

Building, Running, and Integrating AndroMDA sample custom cartridge (deployment-cartridge) into your andromda application

­

­In this post I will try to make life with AndroMDA custom cartridge easier by guiding you step by step to Build, Run, and Integrate the sample custom cartridge (deployment-cartridge) into your andromda application.

most of the problems that any newbie may face when he decide to develop his own custom cartridge are:

Spring Service Layer caching

sometimes you may want to cache some information to enhance the performance by minimizing repeated hits to the database.

there are two ways you can take any one of them or take them both:

Adjusting OC4J configuration to support Arabic

for adjusting OC4J configuration to support Arabic do the following:

in the OC4J Server Properties screen in the Command Line Options block add the red options to your Java Options as follows:

{JSF, JavaScript} controlling invocation order

{JSF, JavaScript} controlling invocation order

I put JSF and JavaScript in a set as the order in the set is not important, and in this post I will speak about the four types of invocation in JSF web application which are:

  1. JavaScript Call.
  2. JSF Call.
  3. JavaScript call, followed by JSF call.
  4. JSF call, followed by JavaScript call.

I will give a simple illustration of the usage of each one of the above a long with how you can achieve it.

Prefuse visualization toolkit

in my current project which is EPS (Electronic Procedure Systems) I need to visualize all the possible paths that any procedure may pass throw, beside visualizing the actual path the application (procedure instance ) pass throw.

 I have two options either building it from scratch, or using any existing visualization toolkit, the later option sounds good but you have to invest a good period of time before reaching the correct / best visualization toolkit that will satisfy your needs.

SSO CAS Rocks with Acegi

Single Sign On CAS Acegi Configuration

Overview:

taking the definition from Acegi Documentation

SSL creation. Deletion, Removing the forgotten keystore passowrd

you can use the following commands to delete, generate, import, export SSL certificates :

How to get Hibernate SessionFactory inside the ServiceImpl ?

­­

Problem:

I have read many posts on andromda forum about How to obtain Hibernat sessionFactory and I tried two approaches which ddn't work with me then I make some solution wihch I don't know if it is dirty solution or not but at least it works with me so I guess it is not ;)

Interviews should be about How to search(google) for some problem.

Interviews should be about How to search(google) for some problem.

I guess Interviewers should only measure how to search (google) for a solution and not be about something else.

All interviewers (including me at some point of time) ask the following type of questions for the person who wants the job:

  1. Ask him IQ or some puzzel questions trying to measure how smart is he/she.
  2. Ask him some Database question measuring his abilities to write queries.
  3. Ask him some Design problem to see how he can think in higher level.

Powered by Drupal - Design by artinet