Total Pageviews

Wednesday, April 20, 2011

Hope

Hope is the sun that shines our life. Hope is the candle that lights our paths.
I dedicate those words to a special friend, who lives difficult times. Don't be hopeless. Without Hope there's no future. I Hope you find your way and always remember that there's a friend who will always stand by you. That friend is UnHappy. I Hope he will be Happy (as you always said) Someday.
Yours UnHappy

Monday, April 11, 2011

Build Your Flexible Middle Tiers Application - Part 1


In This part we will introduce the Middle-Tiers Architecture and how to use this Architecture to build a flexible Sample Application, and introduce the different technologies to build this application.

1. Middle-Tiers Architecture
Middle-Tiers Architecture is a client-server architecture in which the presentation, the application processing, and the data man
agement are logically separate processes. Also called N-tier application architecture provides a model for developers to create a flexible and reusable application.
Also Known as Three-tier architecture, it has the following three tiers:
Presentation tier :
This is the topmost level of the application. The presentation tier displays information related to such services. It communicates with other tiers by outputting results to the browser/client tier and all other tiers in the network.
Application tier (business logic, logic tier, data access tier, or middle tier) :
The logic tier is pulled out from the presentation tier and, as its own layer, it controls an application’s functionality by performing detailed processing.

Data tier
:
This tier consists of database servers. Here information is stored and retrieved. This tier keeps data neutral and independent from application servers or business logic. Giving data its own tier also improves scalability and performance.






















2. Technologies to build our Sample Application
- For the Presentation layer we will use Flex 4. Later on in the next parts we will learn how we can develop in flex and what softwares we can use to do so.
- For the Business logic Layer we will use Java and eclipse, i am not going to do courses on Java but just few things to setup the environment in eclipse.
- For the Database Layer we will use Oracle 10g XE witch i recommend it but if you are not familiar with it you can use whatever database you like.
Is That it ??
The answer is no. there are more few software and technologies that we will use. So for the interaction between the Presentation and the Business logic Layers i recommend to use Web services. So we will need Apache CXF to generate our web services (We will see That later on). I said i recommend cause i will use it in the sample application but i should mention that for communication between Flex and Java Adobe has introduce BlazeDS technology witch we can see it after creating our sample application and modify it to work with BlazeDS. And For the communication between the business logic and the Database layers i will use Hibernate for the moment and then try to improve the application by using the Spring JPA.
Now let's talk about servers. What servers ??? The servers that will host the application
In this application we will need two server Apache Web Server and Apache Tomcat Server.
The Apache Web Server known as httpd Server, is a HTTP Server. This server will hosts the presentation layer (The Flex Appalication).
The Apache Tomcat Server is the application server that will hosts the business logic layer application (the Java application).
For the deployment of the project I will use maven and continuum so you can have an idea about how to build a project with maven.
So in next part of this application we will see how to set up our environment to use this technologies both in Windows (witch i hate but i know that most of like :/) and linux ubuntu :).
I hope you will like this and waiting for any questions that come up in your mind.

Sunday, April 3, 2011

Talking about a revolution

After 25 years, i can now write read and say what i want freely without worries. It was a revolution it was our revolution, we finally had the chance to feel the freedom. I want to dedicate Tracy Chapman's song Talking About A revolution for all the revolutionary persons in this world.

Don't you know
Their talkin' about a revolution
It sound like a whisper
Don't you know
They're talkin' about a revolution
It's sounds like a whisper

While they're standing in the welfare lines
Crying at the doorsteps of those armies of salvation
Wasting time in the unemployment lines
Sitting around waiting for a promotion

Don't you know
Their talkin' about a revolution
It sound like a whisper

Poor people gonna rise up
And get their share
Poor people gonna rise up
And take what's theirs

Don't you know
You better run, run, run...(+9)
Oh I said you better
Run, run, run...(+9)

And finally the tables are starting to turn
Talkin'about revolution

Yes finally the tables are starting to turn
Talkin'about revolution oh no

While they're standing in the welfare lines
Crying at the doorsteps of those armies of salvation
Wasting time in the unemployment lines
Sitting around waiting for a promotion

Don't you know
Their talkin' about a revolution
It sound like a whisper

And finally the tables are starting to turn
Talkin'about revolution

Yes finally the tables are starting to turn
Talkin'about revolution oh no
Talkin'about revolution oh no
Talkin'about revolution oh no

http://www.youtube.com/watch?v=SKYWOwWAguk&NR=1

My first Message

Hi everybody this is my first blog. I will share in this blog all my knowledge about Softwares and development (witch is my specialty), Music (Trumpet of course), literature and every thing that i think may help others thank you for visiting.

Salut tous le monde ceci est mon premier blog. Je vais essayer ici de partager mes connaissances dans les domaine de logiciels et developpement (ma spécialité), la music (Trompette bien sure), littérature et tous ce que je crois qu'il peut aider les autres. Merci de votre visite.