Skip to content

Monthly Archives: février 2006

Posted by admin - 24 février 2006 - no comments

Le grid fait intervenir un grand nombre de termes spécifiques. Certains concepts sont encore flou ou mal compris c’est pourquoi ce mois-ci sera consacré à l’explication de certains termes. L’internet…

Posted by admin - 18 février 2006 - no comments

Nous commençons une première campagne de référencement pour le moteur belge illicopresto. L’occasion de bientôt faire le point à propos de google analytics et google adwords sur Motrech le blog…

Posted by admin - 9 février 2006 - no comments

Il existe deux projets en cours visant à proposer l’infrastructure .NET en version Open Source et sous n’importe OS :– DotGNU– Mono

Posted by admin - 9 février 2006 - no comments

On me pose souvent la question, voici une réponse sommaire : Selon J2EE 1.4 (J. Weaver & co, Eyrolles) : “En simplifiant beaucoup, on peut présenter J2EE comme un ensemble…

Posted by admin - 8 février 2006 - no comments

J2EE sont les spécifications avancées par SUN, de nombreuses plateformes applicatives l’implémentent (certaines sont gratuites et d’autres pas : Sun Application Server, Oracle Server, Apache, Websphere, WebLogic, …) .NET est…

  • Swagger CodeGen: Java Client 21 mai 2019
    The Apache CXF client still knows additional issues comparing to the pure Java Client export proposed by Swagger (e.g. the request QueryParams with a Date type are not correctly supported).A few tips may help using the pure Java client generator:- Comment the maven-surefire-plugin config in pom.xml : it is not working as is- Modify the […]
  • MAterialized view of average - Backup query 14 mai 2019
    SELECT time, value, average, average2 FROM (SELECT  row_number() OVER(ORDER BY time) AS ROWNUM,time ,value,AVG(value) OVER(ORDER BY time ROWS 1 PRECEDING) as average,AVG(value) OVER(ORDER BY time ROWS 2 PRECEDING) as average2from cnl ORDER BY time)  AS cnlWHERE mod(ROWNUM,1)=0 LIMIT 10;CREATE MATERIALIZED VIEW dataset_table_resampled ASSELECT time  AS time, AVG(value) OVER(ORDER BY time ROWS 10 PRECEDING)  AS average10,MIN(value) OVER(ORDER […]
  • Migrating WebApp from GlassFish to TomEE 10 mai 2019
    Some usual requirements:Create a WEB-INF/resources.xml  (see below) for replacing glassfish-resources.xmlUpdate persistence.xml provider:  org.apache.openjpa.persistence.PersistenceProviderImplUpdate persistence.xml provider: remove jdbc  in jta-data-sourceAlso add   jdbcDriver=org.postgresql.Driverpassword=xxxuserName=xxxjdbcUrl=jdbc\:postgresql\://localhost\:5432/xxx
  • OpenAM Kubernetes Deployment Tips 9 mai 2019
    It looks that the Open Source version of OpenAM is significantly less available and document than before. Thefore, one of the missing information is about how to easily deploy the open source version in a Kubernetes cluster.I review only the main critical point for easing your porting to Kubernetes.# Start from a Tomcat Container (you […]
  • EJB - Scheduled Tasks with TimerService or ScheduledThreadPoolExecutor 3 mai 2019
    EJB (3.1) provides a great support of Scheduled Tasks through the use of the Timer Service. That tool sounds great: you provide your schedule providing the interval, and an associated (serializable) object and EE container manages the execution of the scheduled method AND the persistence of timer and associated data.Nevertheless, when you reach higher objectives, […]
  • PostGreSQL: list table size 11 avril 2019
    SELECT nspname || '.' || relname AS "relation",    pg_size_pretty(pg_total_relation_size(C.oid)) AS "total_size"  FROM pg_class C  LEFT JOIN pg_namespace N ON (N.oid = C.relnamespace)  WHERE nspname NOT IN ('pg_catalog', 'information_schema')    AND C.relkind 'i'    AND nspname !~ '^pg_toast'  ORDER BY pg_total_relation_size(C.oid) DESC  LIMIT 200;
  • EJB - Unexpected Transaction Rollback 11 avril 2019
    A transaction is rolled back as soon as an exception is not caught. Nevertheless, even when it looks that everything is caught, the transaction roll back issue may happen:NativeQuery is your enemy : a failed query could abort the JTA transaction (container managed transaction) even when catching any exception.Some important tips:@TransactionAttribute(TransactionAttributeType.REQUIRES_NEW) annotation on top of the […]
  • EJB Debugging Container Managed Transaction (JTA) 11 avril 2019
    The Java Transaction API (JTA), one of the Java Enterprise Edition (Java EE) APIs, enables distributed transactions to be done across multiple X/Open XA resources in a Java environment.JPA  provides two mechanisms for transactions. When used in Java EE JPA provides integration with JTA (Java Transaction API). JPA also provides its own EntityTransaction implementation for Java […]
  • Maven-patch-plugin on Windows 11 avril 2019
    In order to make the patch working:- Install cygwin  (https://www.cygwin.com/ ) - In the package selection, add Patch (not selected by default)- Add the cygwin bin directory to the PATH environment variable- Resign into Windows (leaving the session seems mandatory).It seems that "Patch for Windows" does not work (anymore).
  • JDBC - Les Types de DataSource 8 avril 2019
    Found at : https://www.ibm.com/support/knowledgecenter/fr/SSEQTP_liberty/com.ibm.websphere.wlp.doc/ae/twlp_dep_configuring_ds.htmljavax.sql.DataSourceCe type de source de données correspond au format de base. Elle ne fournit aucune interopérabilité facilitant la mise en pool des connexions et, en tant que ressource à deux phases, elle ne peut pas participer aux transactions impliquant plusieurs ressources.javax.sql.ConnectionPoolDataSourceCe type de source de données se prête à la mise en pool […]