Berthou.comA french developper blog | |
DescriptionUsually in software devellopement we use values liste that we take from “properties”, SQL tables or in the worst case, “in hard codding” in our application. As many people I had this problem ans I solve it by creating “Tables Memories”. It permits me to limit the access to the database (or file), to low the occupation memory by having just one request of these memories liste, and to simplify my code. This code is quite old and could be improved (use of the patern singleton instead of a full static classe, synchronize optimisation…). I use this in a huge number of project and I always report these modifications because I don’t have any performance or memories problems. FonctionsDuring the cration of this componant I wanted to have the following functions also I simplify in maximum its use in a JSP page or a Servtel :
Web NewsIf it happens, it would be the biggest buying on the net. Indeed, to counter Google (who gives the impression to bother it), Microsoft announce a buying proposition of Yahoo for 45 milliard dollars. I remember you that Yahoo exist since 1994 and the two (ex) student of Stanford (David Filo and Jerry Yang)can be very proud of their project ans of his valorization. http://news.yahoo.com/s/ap/20080201/ap_on_hi_te/microsoft_yahoo DB2 Backup ScriptAfter my news about DB2 backup script under Windows, I give you in this small article a solution to do the same thing under Linux. To Backup a database this IBM/DB2 gives you a graphic interface quite simple to use “Control-Center”, but if you want you include this backup in a batch script you must write a backup script without GUI. In this new I explain how to write a windows script procedure (.bat or .cmd) to backup your DB2 database. In this sample I considered that you must close your database before backup ( It’s possible to do this in “ONLINE” mode but it’s more complexe — include log file, rollforward…–) and I use a database SAMPLE (it is his name) for this test . the goal of this scripts is to :
Some news of the webAfter three “releases candidates” the final version of the excellent XWiki software is avaible to download. Xwiki is a Wiki Open Source multilingual, entirely written in Java. It offers all the services of a well securisated Wiki and permit an easy developping of the specifique functions (very useful to integrate this in existing applications). This sort of tools permit to develop quickly an entreprise Intranet by adding quite easyly specifique functions. In my opinion I find the first contact very simple and quick. I particulary like the panel interface, the flux reader “Xwiki Watch” which is really very powerful and the exportation in RTF or PDF format. If you don’t already know this tool I invite you to discover it quicky.
It will give to Sun a popular database missing from its catalogue and it’s a very good database… More informations on this news DB2 Backup ScriptA database is very usefull but it’s always important to backup very often your data. To do this IBM/DB2 gives you a graphic interface quite simple to use “Control-Center”, but if you want you include this backup in a batch script you must write a backup script without GUI. In this new I explain how to write a windows script procedure (.bat or .cmd) to backup your DB2 database. In this sample I considered that you must close your database before backup ( It’s possible to do this in “ONLINE” mode but it’s more complexe — include log file, rollforward…–) and I use a database SAMPLE (it is his name) for this test . the goal of this scripts is to :
Index
Description
DownloadNewsVersion 2.00
DescriptionA few days ago I had a little problem when I tried to deploy in WAS 6.0 (Websphere Application Serveur 6) an application including a PDF signature. java.lang.Exception: java.lang.Exception: java.io.IOException: Error in loading the keystore: Private key decryption error: (java.lang.SecurityException: Unsupported keysize or algorithm parameters) ResolutionThis error is caused by the JCE libraries used by the virtual java’s machine executing WAS. This JVM is the standard version and it had a limited support of cryptographie’s algorithme. To correct this you just have to substitute two jar files in teh configuration of the JVM IBM (local_policy.jar et US_export_policy.jar). When the file is download you had to:
DescriptionaTicker is a simple, free and small Ticker texte scrolling Applet. aTicker runs on all browsers with JDK 1.1x support. (aTicker is free with all source code). Source HTML<applet codebase="/jar" archive="applet-aticker.jar" code="com.berthou.applet.aticker.aticker.class" width=220 height=20 mayscript> <param name=file value="s"> <param name=cSep value="§"> <param name="speed" value="1"> <param name="delay" value="30"> <param name="local" value="true"> <param name="bgcolor" value="13693183"> <param name="Font1" value="Verdana, 14, 0, 0"> <param name="Font2" value="Verdana, 14, 1, 1220"> <param name="s0" value="JavaSide § http://www.javaside.com § _load"> <param name="s1" value="Mess 2 § javascript:alert('Salut...') § _script § ?PopupJavascript"> <param name="s2" value="berthou-fr § http://www.berthou.com/fr/ § _load"> <param name="s3" value="berthou-us § http://www.berthou.com/us/ § _load"> </applet> On the webWhen I surfed on the net, I discovered the site browsershots.org . This site makes screenshots of your web design in different browsers. It is a free open-source online service. With a subscription you can get a priority processing and so you can reduce the waiting delay (30 min without sunscription). Borwsershots.org do this on 3 OS (Windows, Linux, Mac) and propose a large choice of browsers. I especially like the old browsers versions and the possibility to download all screenshots in 1 zipped file.
|
CategoriesTagsArchivesRecent Comments
|
|