Java

TwitterFacebook
Get flash to fully experience Pearltrees
Persistance

http://www.progbear.com/voice/2010/struts-2-create-friendly-url-with-urlrewritefilter Why do you need friendly URL? Because the Internet has changed. Traditional users go to portal sites like Yahoo!

Struts 2 – create friendly URL with urlrewritefilter. | ProgBear.com

rich-UI

xml

Encoding

http://blog.lecacheur.com/2006/08/31/les-bonnes-pratiques-avec-struts-afficher-les-formulaires-en-utf-8/ Voici un troisième billet dans la série sur Les bonnes pratiques avec Struts . Introduction A partir du moment où une application doit être internationalisée, il est intéressant d’utiliser l’encodage UTF-8 par défaut. Dès lors, un problème d’affichage des valeurs des formulaires se pose avec certains caractères [ 1 ] . Solutions Il existe deux solutions courantes pour répondre à ce problème, qui s’implémentent :

" Les bonnes pratiques avec Struts – afficher les formulaires en UTF-8" par Le weblogue de SeB

'm not sure if I made my question clear. Does the server hold every single shared object in its memory? Or is the server managing the memory of all the connected JVMs, and moving objects between them to make a larger heap (up to 4GB*<# of JVMs>)? (on 32-bit JVMs.) Yes

Using Terracotta to increase heap space beyond limits of 32-bit jvm

http://forums.terracotta.org/forums/posts/list/922.page

BigMemory for Enterprise Ehcache | Terracotta

http://www.terracotta.org/products/bigmemory Whether you want to go into production for free or you’re looking for enterprise-grade distributed in-memory data management, BigMemory has a version that’s right for you. Terms Mirrored stripe : BigMemory Max lets you create a distributed in-memory data store made up of pairs of servers, or stripes. Each stripe consists of an active server and a mirror server, which stores a copy of the active. If the active goes offline, the mirror takes over, ensuring high availability. Fast Restartable Store™ : After maintenance or other downtime, BigMemory is optimized to bring in-memory stores back online extremely quickly, without putting undue load on a central database.
http://axellec.chez.com/java.html Mémento de programmation Java Afficher le sommaire en parallèle Packaging

Quelques notes sur Java

jBPM is a flexible Business Process Management (BPM) Suite. It makes the bridge between business analysts and developers. Traditional BPM engines have a focus that is limited to non-technical people only. jBPM has a dual focus: it offers process management features in a way that both business users and developers like it. What does jBPM do? A business process allows you to model your business goals by describing the steps that need to be executed to achieve that goal and the order, using a flow chart. http://www.jboss.org/jbpm

jBPM

tests

Android

JFreeChart is a free 100% Java chart library that makes it easy for developers to display professional quality charts in their applications. JFreeChart's extensive feature set includes: Latest News 1 Jan 2013 Happy New Year from the JFree team! 11 Sep 2012 http://www.jfree.org/jfreechart/

Chart

General General Information (file structure, classpath, how classes are found, changes) Standard JDK Tools and Utilities Basic Tools (javac, java, javadoc, apt, appletviewer, jar, jdb, javah, javap, extcheck) Security Tools (keytool, jarsigner, policytool, kinit, klist, ktab) Internationalization Tools (native2ascii) Remote Method Invocation (RMI) Tools (rmic, rmiregistry, rmid, serialver) Java IDL and RMI-IIOP Tools (tnameserv, idlj, orbd, servertool) Java Deployment Tools (pack200, unpack200) Java Plug-in Tools (htmlconverter) Java Web Start Tools (javaws) Experimental JDK Tools and Utilities NOTE - The tools described in this section are unsupported and experimental in nature and should be used with that in mind.

JDK Development Tools

http://download.oracle.com/javase/1.5.0/docs/tooldocs/index.html#manage

SLF4J – Problèmes et solutions

SLF4J (Simple Logging Facade For Java) est une API d’abstraction de frameworks de log de plus en plus adoptée. Lorsque j’ai découvert cette API j’étais surtout fasciné par l’élégance des messages paramétrés utilisant des placeholders et par la simplicité de changement du framework de logging (juste en modifiant le classpath). La puissance de l’implémentation native Logback m’a fait adopter le couple SLF4J/Logback. http://blog.xebia.fr/2011/03/14/slf4j-problemes-et-solutions/

Java - Les types de données

http://www.commentcamarche.net/contents/java/javatype.php3 Mars 2013 Les types primitifs Java est un langage orienté objet , c'est-à-dire qu'il manipule des classes, ou plus exactement des objets, qui sont des instances de ces classes. Les données manipulées avec Java, et que l'on utilise au travers de variables, sont donc typées, le type d'un objet correspond à la classe qu'il instancie. Toutefois il existe quelques types primitifs, permettant de manipuler directement les données les plus courantes.
Quand le résultat d’un code Java me surprend, je regarde son bytecode avec javap -c . Prenons un exemple. Dans notre équipe, nous mettons les variables à final par défaut pour éviter des problèmes de concurrence [1]. J’ai découvert[2] que final pouvait changer le comportement de l’opérateur ternaire ?

final : un bytecode peut en cacher un autre | Barre Verte !

If you have ever programmed using Java IO, you will quickly run into a situation in which a class creates data on an OutputStream and you need to send it to another class that expects to read the data from an input stream. You'll soon be asking the question, "How do I convert an OutputStream to an InputStream?" Nowhere in Java will you find a OutpStreamToInputStreamConverter class. Luckily, there are several ways to go about this.

Convert a Java OutputStream to an InputStream