A propos Gökhan Ozar

Gökhan Ozar is an IT professional fluent in English, French and Turkish, with more than 9 years of IT experience including both hands-on and outsourcing expertise in the areas of application development, database design, data analysis, project management, systems implementation, training, support and delegation of support. Gökhan Ozar can easily translate business needs into technology requirements that support the company’s objectives and manage projects from needs analysis and requirements definition to platform and vendor selection, implementation, and training.

Nouveau sur HTML 5? Premières étapes …

Si vous avezd’expérience avec les précédentes versions de HTMLnotamment la version 4.01 mais vous êtes un nouvel arrivant en HTML 5, voici les premières choses que vous devez savoir. Alors, quoi de neuf avec le HTML 5 ?

1. La définition doctype au dessus de la page

La définiton doctype pour la HTML 4.01 était quelque chose de semblable à ce qui suit

<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">

La doctype en HTML 5 est tout simplement :

<!doctype html>

2. La balise meta content est aussisimplifiée

Avant HTML 4

<meta http-equiv="content-type" content="text/html; charset=UTF-8">

Aprés HTML 5

<meta charset="utf-8">

Tous les navigateurs, anciens et nouveaux, déjà comprennent bien cette description meta, à ma connaissance, de sorte que vous pouvez l’utiliser sur n’importe quelle page et ça marche !

3. La balise <link> dedans l’élément <head>

Avant HTML 5 ce qui était tel que

<link type="text/css" rel="stylesheet" href="style.css">

est maintenant

<link rel="stylesheet" href="style.css">

4. La balise <script> sans l’attribut type attribute en cas de JavaScript

Avec HTML5, JavaScript est désormais la norme et le langage de script par défaut, donc vous pouvez supprimer l’attribut de type de vos balises de script. Voici ce que la nouvelle balise de script ressemble sans l’attribut type:

<script src="betik.js"></script>

ou bien si vous préférez taper le code en ligne au lieu d’un fichier externe js :

<script>
   var harikasin = true;
</script>

Un Tutoriel Simple de JSF avec PrimeFaces et le Traitement des objets JSON en Java

The following tutorial is an example of parsing JSON objects and displaying them on a web page using JSF 2.1 and PrimeFaces 2.2 which is a rich-component framework for JSF adding AJAX and Web 2.0 capabilities to your web application.

What you need for this tutorial

Oracle JDK 1.6 or later
Netbeans 7.0 or later

The following tutorial is an example of parsing JSON objects and displaying them on a web page using JSF 2.1 and PrimeFaces 2.2 which is a rich-component framework for JSF adding AJAX and Web 2.0 capabilities to your web application.

What you need for this tutorial

Oracle JDK 1.6 or later
Netbeans 7.0 or later

[adsenseyu1]

Bu yazımda döviz kurları bilgi akışı içeren bir JSON nesnesini işleyip, bir web sayfası üzerinde JSF 2.1 framework’ü ve JSF için bir zengin bileşen kütüphanesi olan PrimeFaces 2.2 kullanarak AJAX ve Web 2.0 özellikleri ile nasıl görünteleyebileceğimizi göreceğiz.

Bu öğretiyi uygulamak için nelere ihtiyacınız var

  • Oracle JDK 1.6 veya sonraki bir sürümü
  • Netbeans 7.0 veya daha yeni bir sürümü (farklı bir editör ve geliştirme ortamı kullanmayı tercih ederseniz, Gerekli kütüphane ve bileşenlerin tümünü manuel olarak projeye dahil etmeniz gerekebilir. Bkz. sonraki bölüm)
  • Tomcat 7

Kullanılan teknoloji ve kütüphaneler

  • JSF 2.1 (Mojarra 2 kütüphaneleri yani jsf-api.jar, jsf-impl.jar, jstl.jar ve standard.jar)
  • PrimeFaces 2.2.1
  • JSON (Java için)
  • commons-logging-1.1.1.jar
  • log4j-1.2.16.jar
  • httpcore-4.1.4.jar
  • httpclient-4.1.3.jar

Projeyi JSF 2 ve PrimeFaces desteği dahil olacak şekilde hazırlama

Netbeans’i açın ve aşağıdaki adımları sırayla izleyin:
Lire la suite

Créer un Blog avec JBoss Seam, Hibernate JPA et JSF puis Déploiment sur Tomcat dans le Cloud – Partie III

Seam Tomcat Deployment

In this part III of the tutorial, we’ll build the entity classes from the database we created in Part I and configure the Seam project we created in Part II so as to make it fully compatible with Apache Tomcat.

Creating The Model Layer

We’ll use Hibernate‘s reverse engineering tool (hbm2java) embedded in Seam-gen to create the entity classes from the database we created in part 1.

Seam Generate Entities

Figure 3.1 - Generating entities from database in JBoss Seam

Right-click the project blog in project explorer and select New > Seam Generate Entities.

Lire la suite

Créer un Blog avec JBoss Seam, Hibernate JPA et JSF puis Déploiment sur Tomcat dans le Cloud – Partie I

Tired of simple hello world tutorials? Here’s an intermediate-level tutorial in which we’re going to make a blog cms application using JBoss Seam incorporating JSF 1.2 + Facelets, Hibernate JPA 1.0 and we’ll deploy it to Tomcat. Lire la suite