<?xml version='1.0' encoding='UTF-8'?><?xml-stylesheet href="http://www.blogger.com/styles/atom.css" type="text/css"?><feed xmlns='http://www.w3.org/2005/Atom' xmlns:openSearch='http://a9.com/-/spec/opensearchrss/1.0/' xmlns:georss='http://www.georss.org/georss' xmlns:gd='http://schemas.google.com/g/2005' xmlns:thr='http://purl.org/syndication/thread/1.0'><id>tag:blogger.com,1999:blog-1913561183536601493</id><updated>2011-05-03T00:07:42.570-07:00</updated><category term='SQL Insert'/><category term='JDeveloper'/><category term='ORACLE'/><category term='Package'/><category term='Collections'/><category term='JAVA J2EE'/><category term='ResaultSet'/><category term='Programmation'/><category term='SQL'/><category term='JAVA'/><category term='Connection'/><category term='ArrayList'/><category term='Web Services'/><category term='Hibernate'/><category term='Refléxivité'/><category term='XML'/><category term='Procedure PL/SQL'/><category term='Généricité'/><category term='REF CURSOR'/><category term='JDBC'/><title type='text'>Programmation JAVA</title><subtitle type='html'></subtitle><link rel='http://schemas.google.com/g/2005#feed' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/posts/default'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default?max-results=100'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/'/><link rel='hub' href='http://pubsubhubbub.appspot.com/'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><generator version='7.00' uri='http://www.blogger.com'>Blogger</generator><openSearch:totalResults>15</openSearch:totalResults><openSearch:startIndex>1</openSearch:startIndex><openSearch:itemsPerPage>100</openSearch:itemsPerPage><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-5426939489895825783</id><published>2009-02-17T06:42:00.000-08:00</published><updated>2009-02-17T06:48:22.800-08:00</updated><title type='text'>Oracle Fusion Middleware</title><content type='html'>Je viens de créer un site sur le sujet Oracle Fusion Middleware et Oracle Application Development FrameWork : &lt;a href="http://www.oracle-adf.com/"&gt;www.oracle-adf.com&lt;/a&gt;.&lt;br /&gt;Objectif : Présenter mes offres formations et la documentation autour de ces outils.&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-5426939489895825783?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/5426939489895825783/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=5426939489895825783' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/5426939489895825783'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/5426939489895825783'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2009/02/oracle-fusion-middleware.html' title='Oracle Fusion Middleware'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-1173472119243987227</id><published>2008-12-13T14:26:00.000-08:00</published><updated>2008-12-13T14:40:15.677-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='ArrayList'/><title type='text'>Java Collection ArrayList</title><content type='html'>Ci-dessous un exemple qui permet de récuppérer une liste de services d'une société (Service Informatique, Communication, ...) d'une base de données, et met cette liste dans une collection de type ArrayList.&lt;div&gt;Cet exemple intègre trois classes : &lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Class Service : composée seulement des attributs de Service :&lt;br /&gt;&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;public class Service {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;String codeService;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;String libelleService;&lt;/div&gt;&lt;div&gt;}&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Class SelectServices : Permet de se connecter à la base de données ( Méthode connect), et de charger le contenu de la table Service de la base de données dans une ArrayList (Méthode ExtractionServices) : &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;import java.sql.CallableStatement;&lt;/div&gt;&lt;div&gt;import java.sql.SQLException;&lt;/div&gt;&lt;div&gt;import java.sql.*;&lt;/div&gt;&lt;div&gt;import java.util.*;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;public class SelectServices {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Connection conn;&lt;/div&gt;&lt;div&gt;    public void connect() {&lt;/div&gt;&lt;div&gt;        try&lt;/div&gt;&lt;div&gt;        {   &lt;/div&gt;&lt;div&gt;        &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;DriverManager.registerDriver(new com.mysql.jdbc.Driver ());&lt;/div&gt;&lt;div&gt;           conn = DriverManager.getConnection&lt;/div&gt;&lt;div&gt;                         ("jdbc:mysql://localhost:3306/test", "root", "root");              &lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;        catch(SQLException sqle){&lt;/div&gt;&lt;div&gt;        System.out.println(sqle.toString());&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;        finally{&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    public List&lt;service&gt; ExtractionServices() {&lt;/div&gt;&lt;div&gt;    &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;List&lt;service&gt; listeServices = new ArrayList&lt;service&gt;();&lt;/div&gt;&lt;div&gt;    &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;Service service;&lt;/div&gt;&lt;div&gt;        try {&lt;/div&gt;&lt;div&gt;            this.connect();&lt;/div&gt;&lt;div&gt;            CallableStatement SelectSRV = &lt;/div&gt;&lt;div&gt;                this.conn.prepareCall("SELECT CODE, LIBELLE FROM SERVICE");&lt;/div&gt;&lt;div&gt;            ResultSet rs = SelectSRV.executeQuery();&lt;/div&gt;&lt;div&gt;            while (rs.next()) {&lt;/div&gt;&lt;div&gt;            &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;// Allimentation ArrayList listeServices&lt;/div&gt;&lt;div&gt;            &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;service = new Service();&lt;/div&gt;&lt;div&gt;            &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;service.codeService = rs.getString("CODE");&lt;/div&gt;&lt;div&gt;            &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;service.libelleService = rs.getString("LIBELLE");&lt;/div&gt;&lt;div&gt;            &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;listeServices.add(service);          &lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;            rs.close();&lt;/div&gt;&lt;div&gt;            SelectSRV.close();&lt;/div&gt;&lt;div&gt;            //return ListProjets;&lt;/div&gt;&lt;div&gt;            this.conn.close();&lt;/div&gt;&lt;div&gt;        } catch (SQLException sqle) {&lt;/div&gt;&lt;div&gt;            System.out.println(sqle.toString());&lt;/div&gt;&lt;div&gt;        } finally {&lt;/div&gt;&lt;div&gt;        }&lt;/div&gt;&lt;div&gt;        return listeServices;&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;ul&gt;&lt;li&gt;Classe Appel : Classe permettant de tester si la collection est bien allimentée : &lt;/li&gt;&lt;/ul&gt;&lt;div&gt;import java.util.*;&lt;/div&gt;&lt;div&gt;public class Appel {&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;public static void main(String args[]) {&lt;/div&gt;&lt;div&gt;        SelectServices S = new SelectServices();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;List&lt;service&gt; LS = new ArrayList&lt;service&gt;(); &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;LS = S.ExtractionServices();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;Iterator&lt;service&gt; it = LS.iterator();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;while (it.hasNext()) &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;{&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;  Service service = it.next();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;  System.out.println(service.libelleService);&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;  &lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt;  &lt;/span&gt;LS = new LinkedList&lt;service&gt;();&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-tab-span" style="white-space:pre"&gt; &lt;/span&gt;}&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-1173472119243987227?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/1173472119243987227/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=1173472119243987227' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/1173472119243987227'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/1173472119243987227'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/12/java-collection-arraylist.html' title='Java Collection ArrayList'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-9180346778430446857</id><published>2008-12-10T14:10:00.000-08:00</published><updated>2008-12-10T14:13:53.923-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Hibernate'/><title type='text'>Hibernate presentation</title><content type='html'>&lt;div&gt;J'ai trouvé une documentation claire et complète sur Hibernate à l'adresse : &lt;/div&gt;&lt;a href="http://www.hibernate.org/hib_docs/v3/reference/fr-FR/html/index.html"&gt;http://www.hibernate.org/hib_docs/v3/reference/fr-FR/html/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-9180346778430446857?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/9180346778430446857/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=9180346778430446857' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/9180346778430446857'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/9180346778430446857'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/12/hibernate-presentation.html' title='Hibernate presentation'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-2126982987715198466</id><published>2008-11-27T05:40:00.000-08:00</published><updated>2008-11-27T05:55:47.515-08:00</updated><title type='text'>registerOutParameter OracleTypes CURSOR</title><content type='html'>Dans Oracle Developer 11g, l'appel : &lt;br /&gt;&lt;span style="color:#ff0000;"&gt;&lt;strong&gt;registerOutParameter(2,oracle.jdbc.driver.OracleTypes.CURSOR)&lt;/strong&gt;&lt;/span&gt;&lt;br /&gt;génère une erreur, alors que dans JDeveloper 10g il s'exécute, et permet d'enregistrer un paramètre OUT de type CURSOR.&lt;br /&gt;&lt;br /&gt;Lorsque je remplace dans JDeveloper 11g oracle.jdbc.driver.OracleTypes.CURSOR par -10 : &lt;br /&gt;&lt;strong&gt;&lt;span style="color:#009900;"&gt;registerOutParameter(2,-10)&lt;/span&gt;&lt;/strong&gt; &lt;br /&gt;ça marche !!!&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-2126982987715198466?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/2126982987715198466/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=2126982987715198466' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/2126982987715198466'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/2126982987715198466'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/11/registeroutparameter-oracletypes-cursor.html' title='registerOutParameter OracleTypes CURSOR'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-2301325232533678046</id><published>2008-11-25T07:47:00.000-08:00</published><updated>2008-11-25T07:48:42.805-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE'/><category scheme='http://www.blogger.com/atom/ns#' term='REF CURSOR'/><category scheme='http://www.blogger.com/atom/ns#' term='ResaultSet'/><title type='text'>JAVA PL SQL REF CURSOR</title><content type='html'>&lt;div&gt;&lt;span class="Apple-style-span" style="font-weight: bold;"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;Objectif&lt;/span&gt;&lt;/span&gt; : Dans une méthode JAVA, appeler une procédure stockée qui retourne un REF CURSOR.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Procédure stockée :&lt;/div&gt;&lt;div&gt;La procédure stockée SELECT PROJET retourne un curseur :&lt;/div&gt;&lt;div&gt;PROCEDURE SELECT_PROJETS&lt;/div&gt;&lt;div&gt;    (LISTE_PROJETS OUT CURSEUR_PROJETS);&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;La classe java qui lit les données à partir du curseur :&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;import java.sql.*;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;public class TEST2 {&lt;/div&gt;&lt;div&gt;    public TEST2() {&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;    public static void main(String[] args) {&lt;/div&gt;&lt;div&gt;            try&lt;/div&gt;&lt;div&gt;            {&lt;/div&gt;&lt;div&gt;             &lt;/div&gt;&lt;div&gt;                ConnectionDB cnxDB = new ConnectionDB();&lt;/div&gt;&lt;div&gt;                cnxDB.connect();&lt;/div&gt;&lt;div&gt;                    &lt;/div&gt;&lt;div&gt;                DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver());&lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;               CallableStatement SelectProjects = cnxDB.conn.prepareCall("{call PKG_SERVICE.EMPLOYES_SERVICE(?,?)}");         &lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                SelectProjects.setString(1,"INFO");&lt;/div&gt;&lt;div&gt;                &lt;/div&gt;&lt;div&gt;                SelectProjects.setFetchSize(100);&lt;/div&gt;&lt;div&gt;                SelectProjects.registerOutParameter(2,oracle.jdbc.driver.OracleTypes.CURSOR);&lt;/div&gt;&lt;div&gt;                SelectProjects.executeQuery();&lt;/div&gt;&lt;div&gt;                ResultSet rs = (ResultSet)SelectProjects.getObject(2);&lt;/div&gt;&lt;div&gt;//                SelectProjects = cnxDB.conn.prepareCall("{ call PKG_SERVICE.EMPLOYES_SERVICE(?) }");&lt;/div&gt;&lt;div&gt;               // SelectProjects.setString("P_CODE_SERVICE",args[0]);&lt;/div&gt;&lt;div&gt;               // SelectProjects.execute();&lt;/div&gt;&lt;div&gt;               while (rs.next())&lt;/div&gt;&lt;div&gt;               {&lt;/div&gt;&lt;div&gt;               &lt;/div&gt;&lt;div&gt;                System.out.print(rs.getString("NOM"));&lt;/div&gt;&lt;div&gt;                System.out.println(rs.getString("MAIL"));&lt;/div&gt;&lt;div&gt;               }&lt;/div&gt;&lt;div&gt;               rs.close();&lt;/div&gt;&lt;div&gt;             SelectProjects.close();&lt;/div&gt;&lt;div&gt;              //return ListProjets;&lt;/div&gt;&lt;div&gt;            }&lt;/div&gt;&lt;div&gt;            catch(SQLException sqle){&lt;/div&gt;&lt;div&gt;            System.out.println(sqle.toString());&lt;/div&gt;&lt;div&gt;          }&lt;/div&gt;&lt;div&gt;          finally{&lt;/div&gt;&lt;div&gt;                //return ListProjets;&lt;/div&gt;&lt;div&gt;          }&lt;/div&gt;&lt;div&gt;    }&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;}&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-2301325232533678046?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/2301325232533678046/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=2301325232533678046' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/2301325232533678046'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/2301325232533678046'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/11/java-pl-sql-ref-cursor.html' title='JAVA PL SQL REF CURSOR'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-4579479223867476036</id><published>2008-11-12T03:34:00.000-08:00</published><updated>2008-11-12T03:35:06.545-08:00</updated><title type='text'>ClassNotFoundException: oracle.jdbc.driver.OracleDriver</title><content type='html'>&lt;div&gt;Lors de l'accès à une base de données ORACLE, il est possible que le sysème ne retrouve pas la Classe OracleDriver, et affiche l'erreur :  java.lang.ClassNotFoundException: oracle.jdbc.driver.OracleDriver.&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;Dans ce cas, il faut ajouter dans la variable d'environnement CLASSPATH le fichier jar ojdbc14.jar. Ce fichier se trouve dans le répertoire JDeveloper :  jdevstudio10134\jdbc\lib\ojdbc14.jar.&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-4579479223867476036?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/4579479223867476036/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=4579479223867476036' title='1 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/4579479223867476036'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/4579479223867476036'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/11/classnotfoundexception.html' title='ClassNotFoundException: oracle.jdbc.driver.OracleDriver'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>1</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-459672740476200516</id><published>2008-11-12T01:05:00.000-08:00</published><updated>2008-11-12T03:28:38.971-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='SQL Insert'/><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE'/><category scheme='http://www.blogger.com/atom/ns#' term='Procedure PL/SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA J2EE'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><category scheme='http://www.blogger.com/atom/ns#' term='Package'/><title type='text'>JAVA J2EE Package Procedure PL SQL stockee</title><content type='html'>&lt;p style="margin-bottom: 0cm"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Notre objectif dans cette note est d'utiliser à partir d'une classe JAVA un package PL/SQL pour insérer des données dans une table ORACLE.&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Pour accéder à la base de données ORACLE, nous utiliserons la classe ConnectionDB décrite dans la note : &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;a href="http://java-programmation.blogspot.com/2008/11/jdeveloper-jdbc-thin-acces-base-de.html"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;http://java-programmation.blogspot.com/2008/11/jdeveloper-jdbc-thin-acces-base-de.html&lt;/span&gt;&lt;/a&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Objets ORACLE utilisés dans cet exemple :&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;ul&gt;&lt;li&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Utilisateur (Schéma)  : NFP121&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Table : SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Package stocké :   PKG_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;li&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Procédure stockée :  INSERT_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/li&gt;&lt;/ul&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style=" "&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Ci-dessous le code PL/SQL du package utilisé :&lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);  "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;create or replace PACKAGE "PKG_SERVICE" AS&lt;/span&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 255);  "&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;PROCEDURE INSERT_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(P_CODE IN VARCHAR2,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;P_LIBELLE IN VARCHAR2);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;PROCEDURE UPDATE_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(P_CODE IN VARCHAR2,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;P_LIBELLE IN VARCHAR2);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;END;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;create or replace PACKAGE BODY "PKG_SERVICE" AS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;PROCEDURE INSERT_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(P_CODE IN VARCHAR2,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;P_LIBELLE IN VARCHAR2)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;IS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;INSERT INTO SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(CODE, LIBELLE)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;VALUES&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(P_CODE, P_LIBELLE);&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;END INSERT_SERVICE;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;/span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt; &lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;PROCEDURE UPDATE_SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;(P_CODE IN VARCHAR2,&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;P_LIBELLE IN VARCHAR2)&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;    &lt;/span&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;IS&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;BEGIN&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;UPDATE SERVICE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;SET LIBELLE = P_LIBELLE&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;WHERE CODE = P_CODE;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;END UPDATE_SERVICE;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;END;&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span style="color:#0000ff;"&gt;&lt;span&gt;&lt;span class="Apple-style-span"  style="font-size:small;"&gt;/&lt;/span&gt;&lt;/span&gt;&lt;/span&gt;&lt;/p&gt; &lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span"  style="font-size:medium;"&gt;Le code de la classe JAVA qui utilise la procédure stockée INSERT_SERVICE :  &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;package gestionemployes;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;import java.sql.CallableStatement;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;import java.sql.SQLException;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;import java.sql.*;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153); "&gt;public class TEST1 {&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    public TEST1() {&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    }&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153); "&gt;  public static void main(String[] args) {  &lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    try{&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153); "&gt;        ConnectionDB cnxDB = new ConnectionDB();&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153); "&gt;        cnxDB.connect();&lt;/span&gt;&lt;br /&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153); "&gt;        CallableStatement ServiceInsertCall;     &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        ServiceInsertCall = cnxDB.conn.prepareCall("{ call PKG_SERVICE.INSERT_SERVICE(?, ?) }");&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153); "&gt;        ServiceInsertCall.setString("P_CODE",args[0]);       &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        ServiceInsertCall.setString("P_LIBELLE",args[1]);&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        ServiceInsertCall.execute();&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        System.out.println("Service insere");&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    }&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    catch(SQLException sqle){&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        System.out.println(sqle.toString());}   &lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    }&lt;/span&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;}&lt;/span&gt;&lt;/p&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Ci-dessous un document pdf décrivant comment créer les packages PL/SQL : &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;Les copies d'écrans de l'exécution du programme JAVA : &lt;/div&gt;&lt;div&gt; &lt;/div&gt;&lt;p&gt;&lt;/p&gt;&lt;p style="margin-bottom: 0cm"&gt;&lt;br /&gt;&lt;/p&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-459672740476200516?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/459672740476200516/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=459672740476200516' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/459672740476200516'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/459672740476200516'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/11/java-j2ee-package-procedure-pl-sql.html' title='JAVA J2EE Package Procedure PL SQL stockee'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-8592870268211912007</id><published>2008-11-11T03:09:00.000-08:00</published><updated>2008-11-11T03:22:38.671-08:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='ORACLE'/><category scheme='http://www.blogger.com/atom/ns#' term='JDBC'/><category scheme='http://www.blogger.com/atom/ns#' term='JDeveloper'/><category scheme='http://www.blogger.com/atom/ns#' term='Connection'/><category scheme='http://www.blogger.com/atom/ns#' term='SQL'/><title type='text'>JDeveloper JDBC thin Acces Base de donnees ORACLE</title><content type='html'>Ci-dessous une classe Java qui se connecte à une base de données ORACLE en utilisant le JDBC Thin.&lt;div&gt;&lt;ul&gt;&lt;li&gt;User ORACLE : NFP121&lt;/li&gt;&lt;li&gt;Mot de passe : nfp121&lt;/li&gt;&lt;li&gt;Port d'accès au serveur ORACLE : 1521&lt;/li&gt;&lt;/ul&gt;La classe JAVA s'appelle ConnectionDB. Pour pouvoir compiler cette classe dans JDeveloper, il faut : &lt;/div&gt;&lt;div&gt;&lt;ol&gt;&lt;li&gt;Ouvrir les propriété du projet qui contient la classe, dans cet exemple c'est "GestionEmployes" : Clique droit sur le projet, puis choisir propriétés du projet.&lt;/li&gt;&lt;li&gt;Dans le menu gauche, choisir "Librairie".&lt;/li&gt;&lt;li&gt;Ajouter "ORACLE Driver" dans les librairies du projet.&lt;/li&gt;&lt;/ol&gt;&lt;/div&gt;&lt;div&gt;Ci-dessous le code de la classe ConnectionDB : &lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;package gestionemployes;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;import java.sql.Connection;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;import java.sql.DriverManager;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;import java.sql.SQLException;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;public class ConnectionDB {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    public Connection conn;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    public ConnectionDB() {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    public void connect() {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        try&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        {&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;           DriverManager.registerDriver (new oracle.jdbc.driver.OracleDriver()); &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;           conn = DriverManager.getConnection&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;                         ("jdbc:oracle:thin:@localhost:1521:XE", "NFP121", "nfp121");              &lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        catch(SQLException sqle){&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        System.out.println(sqle.toString());&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        finally{&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;        }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;    }&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="color: rgb(0, 0, 153);"&gt;}&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-8592870268211912007?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/8592870268211912007/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=8592870268211912007' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/8592870268211912007'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/8592870268211912007'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/11/jdeveloper-jdbc-thin-acces-base-de.html' title='JDeveloper JDBC thin Acces Base de donnees ORACLE'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-487839360755162188</id><published>2008-11-05T07:48:00.000-08:00</published><updated>2008-11-06T02:41:17.439-08:00</updated><title type='text'>JAVA J2EE Acces aux bases de donnees ORACLE</title><content type='html'>Pour accèder à une base de données ORACLE à partir de JAVA, le lien pour télécharger une base de données ORACLE :&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/software/products/database/xe/htdocs/102xewinsoft.html"&gt;http://www.oracle.com/technology/software/products/database/xe/htdocs/102xewinsoft.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Une fiche sur ORACLE Express Edition 10 g est disponible à l'adresse :&lt;br /&gt;&lt;a href="http://www.dbpedia.com/oracle-xe-11g.html"&gt;http://www.dbpedia.com/oracle-xe-11g.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-487839360755162188?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/487839360755162188/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=487839360755162188' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/487839360755162188'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/487839360755162188'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/11/java-j2ee-acces-aux-bases-de-donnees.html' title='JAVA J2EE Acces aux bases de donnees ORACLE'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-8454355193117522837</id><published>2008-10-21T05:59:00.000-07:00</published><updated>2008-10-21T07:31:38.394-07:00</updated><title type='text'>ORACLE TOPLINK 11g</title><content type='html'>La version 11g de TOPLINK est disponible :&lt;br /&gt;&lt;br /&gt;Une description des fonctionnalités de TOPLINK est disponible à l'adresse :&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/products/ias/toplink/technical/tl11g_fov.htm"&gt;http://www.oracle.com/technology/products/ias/toplink/technical/tl11g_fov.htm&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-8454355193117522837?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/8454355193117522837/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=8454355193117522837' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/8454355193117522837'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/8454355193117522837'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/10/toplink-11g.html' title='ORACLE TOPLINK 11g'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-5848063492309038587</id><published>2008-10-19T08:06:00.001-07:00</published><updated>2008-10-19T08:20:16.442-07:00</updated><title type='text'>Méthode JAVA, Tri par selection</title><content type='html'>Voici un exemple de programmation classique, le tri par selection :&lt;div&gt;&lt;ol&gt;&lt;li&gt; Utiliser le code dans le lien : &lt;a href="http://http://drisshazzaf.typepad.com/java_blog/files/java_tri_selection.pdf"&gt;Tri Par Selection&lt;/a&gt;&lt;br /&gt;&lt;/li&gt;&lt;li&gt;Ajouter dans le CLASSPATH le répertoire du package de la classe.  &lt;/li&gt;&lt;li&gt;Lancer la classe en utilisant l'exécutable JAVA&lt;/li&gt;&lt;/ol&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;br /&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-5848063492309038587?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/5848063492309038587/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=5848063492309038587' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/5848063492309038587'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/5848063492309038587'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/10/mthode-java-tri-par-selection.html' title='Méthode JAVA, Tri par selection'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-5787476718543375223</id><published>2008-10-17T23:21:00.000-07:00</published><updated>2008-10-17T23:27:16.150-07:00</updated><title type='text'>Programmation JAVA, Notions de base, cours du 18 Octobre 2008</title><content type='html'>L'objectif de ce cours est de présenter les notions de bases du langage JAVA :&lt;div&gt;&lt;ul&gt;&lt;li&gt;Notion de classe et d'objet&lt;/li&gt;&lt;li&gt;Types primitifs&lt;/li&gt;&lt;li&gt;Conversion de types en JAVA&lt;/li&gt;&lt;li&gt;Héritage, Agrégation ...&lt;/li&gt;&lt;li&gt;Méthodes&lt;/li&gt;&lt;li&gt;Surcharge&lt;/li&gt;&lt;li&gt;Instructions du langage : conditions, boucles ...&lt;/li&gt;&lt;li&gt;Tableau&lt;/li&gt;&lt;li&gt;Pointeurs&lt;/li&gt;&lt;li&gt;Exceptions&lt;/li&gt;&lt;/ul&gt;&lt;div&gt;Un document interessant est disponible à l'adresse : &lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px; "&gt;&lt;a href="http://jfod.cnam.fr/NFP121/01-JAVA-imperatif/JavaImperatif_1.pdf"&gt;http://jfod.cnam.fr/NFP121/01-JAVA-imperatif/JavaImperatif_1.pdf&lt;/a&gt;&lt;/span&gt;&lt;br /&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;div&gt;&lt;span class="Apple-style-span" style="font-family: Arial; font-size: 13px; white-space: pre; -webkit-border-horizontal-spacing: 2px; -webkit-border-vertical-spacing: 2px;"&gt;&lt;br /&gt;&lt;/span&gt;&lt;/div&gt;&lt;/div&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-5787476718543375223?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/5787476718543375223/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=5787476718543375223' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/5787476718543375223'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/5787476718543375223'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/10/programmation-java-notions-de-base.html' title='Programmation JAVA, Notions de base, cours du 18 Octobre 2008'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-386338409739500359</id><published>2008-10-10T08:55:00.000-07:00</published><updated>2008-10-10T09:16:48.650-07:00</updated><title type='text'>ORACLE JDeveloper 11g</title><content type='html'>ORACLE JDeveloper est l'outil Oracle pour les développements JAVA.&lt;br /&gt;&lt;br /&gt;Il existe plusieurs Editions de JDeveloper 11g :&lt;br /&gt;&lt;ul&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="color:#663366;"&gt;ORACLE JDeveloper Studio Edition&lt;/span&gt;&lt;/strong&gt; : C'est la version recommandée ! C'est la version la plus compléte de cet outil, intégrant toutes les fonctionnalités.&lt;/li&gt;&lt;li&gt;&lt;strong&gt;&lt;span style="color:#663366;"&gt;ORACLE JDeveloper J2EE Edition&lt;/span&gt;&lt;/strong&gt; : Cette édition contient les fonctionnalités J2EE, UML, Gestion des bases de données, XML, mais ne contient pas les fonctionnalités SOA et ADF. &lt;/li&gt;&lt;li&gt;&lt;span style="color:#663366;"&gt;&lt;strong&gt;ORACLE JDeveloper Java Edition&lt;/strong&gt; :&lt;/span&gt; C'est la plus petite édition, elle ne contient pas les fonctionnalités J2EE, UML, gestion des DB et XML&lt;/li&gt;&lt;/ul&gt;La page officielle d'Oracle JDeveloper 11g est :&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/products/jdev/index.html"&gt;http://www.oracle.com/technology/products/jdev/index.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Le lien pour télécharger ORACLE JDeveloper 11g :&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/software/products/jdev/htdocs/soft10134.html"&gt;http://www.oracle.com/technology/software/products/jdev/htdocs/soft10134.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Des demos de l'outil ORACLE JDeveloper 11g sont disponibles à l'adresse :&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/products/jdev/viewlets/viewlet.html"&gt;http://www.oracle.com/technology/products/jdev/viewlets/viewlet.html&lt;/a&gt;&lt;br /&gt;&lt;br /&gt;Tutorial disponible en Anglais à l'adresse :&lt;br /&gt;&lt;a href="http://www.oracle.com/technology/products/jdev/11/cuecards/index.html"&gt;http://www.oracle.com/technology/products/jdev/11/cuecards/index.html&lt;/a&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-386338409739500359?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/386338409739500359/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=386338409739500359' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/386338409739500359'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/386338409739500359'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/10/oracle-jdeveloper-11g.html' title='ORACLE JDeveloper 11g'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-1217884530381722172</id><published>2008-09-30T07:40:00.000-07:00</published><updated>2008-10-10T09:18:25.009-07:00</updated><title type='text'>Séance de formation du 11 Octobre 2008</title><content type='html'>L'objectif de cette séance est :&lt;br /&gt;&lt;br /&gt;&lt;ol&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://java-programmation.blogspot.com/2008/09/nfp121-plan-de-cours.html"&gt;Présenter le Plan de cours&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;&lt;a href="http://java-programmation.blogspot.com/2008/10/oracle-jdeveloper-11g.html"&gt;Présentation des produits pour le TP&lt;/a&gt;&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Rappels de la base de programmation JAVA&lt;/li&gt;&lt;br /&gt;&lt;li&gt;Exercices de programmation&lt;/li&gt;&lt;/ol&gt;&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-1217884530381722172?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/1217884530381722172/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=1217884530381722172' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/1217884530381722172'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/1217884530381722172'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/09/sance-de-formation-du-11-octobre-2008.html' title='Séance de formation du 11 Octobre 2008'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry><entry><id>tag:blogger.com,1999:blog-1913561183536601493.post-2655746841733727613</id><published>2008-09-29T08:18:00.000-07:00</published><updated>2008-09-29T08:31:36.709-07:00</updated><category scheme='http://www.blogger.com/atom/ns#' term='Refléxivité'/><category scheme='http://www.blogger.com/atom/ns#' term='Généricité'/><category scheme='http://www.blogger.com/atom/ns#' term='Web Services'/><category scheme='http://www.blogger.com/atom/ns#' term='Collections'/><category scheme='http://www.blogger.com/atom/ns#' term='XML'/><category scheme='http://www.blogger.com/atom/ns#' term='Programmation'/><category scheme='http://www.blogger.com/atom/ns#' term='JAVA'/><title type='text'>NFP121, Plan de cours</title><content type='html'>Le Plan de cours de NFP121 (Programmation JAVA avancée) est le suivant :&lt;br /&gt;&lt;br /&gt;&lt;br /&gt;I. Conception Java avec UML&lt;br /&gt;II. Principes du langage Java&lt;br /&gt;III. Assert, Interfaces, Types et Classes&lt;br /&gt;IV. Programmation évènementielle&lt;br /&gt;V. Généricité dans Java&lt;br /&gt;VI. Gestion des Collections&lt;br /&gt;VII. Structures de données et Patterns de conception&lt;br /&gt;VIII. Introspection et réflexivité en Java&lt;br /&gt;IX. Programmation des Entrées/Sorties&lt;br /&gt;X. XML et JAVA&lt;br /&gt;XI. Applications concurrente, utilisation des sémaphores&lt;br /&gt;XII. Applications réparties et Web Services&lt;div class="blogger-post-footer"&gt;&lt;img width='1' height='1' src='https://blogger.googleusercontent.com/tracker/1913561183536601493-2655746841733727613?l=java-programmation.blogspot.com' alt='' /&gt;&lt;/div&gt;</content><link rel='replies' type='application/atom+xml' href='http://java-programmation.blogspot.com/feeds/2655746841733727613/comments/default' title='Publier les commentaires'/><link rel='replies' type='text/html' href='http://www.blogger.com/comment.g?blogID=1913561183536601493&amp;postID=2655746841733727613' title='0 commentaires'/><link rel='edit' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/2655746841733727613'/><link rel='self' type='application/atom+xml' href='http://www.blogger.com/feeds/1913561183536601493/posts/default/2655746841733727613'/><link rel='alternate' type='text/html' href='http://java-programmation.blogspot.com/2008/09/nfp121-plan-de-cours.html' title='NFP121, Plan de cours'/><author><name>Driss HAZZAF</name><uri>http://www.blogger.com/profile/04313530878985004580</uri><email>noreply@blogger.com</email><gd:image rel='http://schemas.google.com/g/2005#thumbnail' width='16' height='16' src='http://img2.blogblog.com/img/b16-rounded.gif'/></author><thr:total>0</thr:total></entry></feed>
