Java

TwitterFacebook
Get flash to fully experience Pearltrees
http://docs.oracle.com/javase/tutorial/essential/concurrency/syncmeth.html The Java programming language provides two basic synchronization idioms: synchronized methods and synchronized statements . The more complex of the two, synchronized statements, are described in the next section. This section is about synchronized methods.

Synchronized Methods (The Java™ Tutorials > Essential Classes > Concurrency)

RTSJ Main Page

The RTSJ is the specification resulting from JSR-1, the first specification launched through the Java® Community Process. The specification was approved in January 2002. The first commercial implementation followed in Spring of 2003. The second release of the reference implementation (RI) was in Spring 2004, and version 1.0.1 of the RTSJ was released (with updates to the RI and Technology Compatibility Suite) in June 2005. RTSJ is designed to support both hard and soft real-time applications. http://www.rtsj.org/

JSR-000914 Java Message Service (JMS) API - Maintenance Release

This is an updated Final Release of this Specification, as described in Section 4.2.1 of the Java Community Process SM Program, version 2.1. http://jcp.org/aboutJava/communityprocess/final/jsr914/index.html

Logback Home

http://logback.qos.ch/ Logback is intended as a successor to the popular log4j project, picking up where log4j leaves off . Logback's basic architecture is sufficiently generic so as to apply under different circumstances. At present time, logback is divided into three modules, logback-core, logback-classic and logback-access. The logback-core module lays the groundwork for the other two modules. The logback-classic module can be assimilated to a significantly improved version of log4j. Moreover, logback-classic natively implements the SLF4J API so that you can readily switch back and forth between logback and other logging frameworks such as log4j or java.util.logging (JUL).
http://www.jdpf.org/computationalmodel.html The implemented computational model has been "inspired" by Petri-Nets. Thus, the components are implemented through a collection of places , transitions and directed arcs . Data are moving through the component are embedded in objects called tokens . Places can be considered buffers of tokens. Figure 1 - The Petri-Net like computational model Each transition (block) works with data that are expressed through a specific data type.

Computational Model

Live Video Stream of OSGi BOF at 19.00hrs EDT, Tues 27 Mar OSGi DevCon 2012 is underway Program is available online. The OSGi Alliance will be hosting an OSGi BOF , in conjunction with the OSGi Users Forum DC Metro, on Tues 27 from 19.00hrs. An OSGi Cloud Workshop has been scheduled for Thurs 29 between 09.00hrs and 13.00hrs. The Riena framework is the foundation for building multi-tier enterprise client/server applications. As such Riena is broadening the usage of the service oriented architecture of OSGi /Equinox by providing access to local and remote services in a transparent way.

Alliance | Main / OSGi Alliance

http://www.osgi.org/Main/HomePage
http://www.alef1.org/jean/jpf/

Plugin Ready Java Application

Plugin support is far from being easy to implement, unless you use a plugin framework to help. We first looked at the Eclipse Equinox plugin framework (implementing the OSGi framework specification). Later on, I found another project named Java Plugin Framework (JPF). The standard way of using JPF is: start the plugin framework, by launching the main method of the framework.
http://www.rtsj.org/docs/docs.html ATL QoS Homepage "The overall goal of our work is to systematically measure average and worst case latencies for exchange of "n" bytes of data (raw bytes, structures, etc.) between two processes by a variety of techniques including shared memory, sockets, RMI, CORBA, EJB, CCM, databases, etc. etc. etc. This data permits, we hope, to form an understanding of costs (and benefits) of these various abstractions and technologies used to implement them."

Document List

Les collections sont des objets qui permettent de gérer des ensembles d'objets. Ces ensembles de données peuvent être définis avec plusieurs caractéristiques : la possibilité de gérer des doublons, de gérer un ordre de tri, etc. ... Pour combler le manque d'objets adaptés, la version 2 du J.D.K. apporte un framework complet pour gérer les collections. Cette bibliothèque contient un ensemble de classes et interfaces. Elle fournit également un certain nombre de classes abstraites qui implémentent partiellement certaines interfaces.

Développons en Java - Les collections

http://www.jmdoudoux.fr/java/dej/chap-collections.htm

A Regular Expression Test Applet

http://www.cis.upenn.edu/~matuszek/General/RegexTester/regex-tester.html The point of this applet is to provide a convenient means of testing regular expressions before embedding them in a Java program. The buttons represent calls to the Java methods with the same name. The applet executes (approximately) the following code:

WindowBuilder User Guide - Google Web Toolkit - Google Code

WindowBuilder is a powerful and easy to use bi-directional Java GUI designer that makes it very easy to create Java GUI applications without spending a lot of time writing code to display simple forms. With WindowBuilder you can create complicated windows in minutes. Use the visual designer and Java code will be generated for you. You can easily add controls using drag-and-drop, add event handlers to your controls, change various properties of controls using a property editor , internationalize your app and much more. WindowBuilder is built as a plug-in to Eclipse and the various Eclipse-based IDEs (RAD, RSA, MyEclipse, JBuilder, etc.). The plug-in builds an abstract syntax tree (AST) to navigate the source code and uses GEF to display and manage the visual presentation.
Generics are a built-in language feature that will make your software more reliable. This lesson discusses the following topics: This section explains some common shortcomings associated with non-generic code.

Lesson: Generics (The Java™ Tutorials > Learning the Java Language)

The logger is the core component of the logging process. In log4j, there are 5 normal levels Level s of logger available (not including custom Level s), the following is borrowed from the log4j API ( http://jakarta.apache.org/log4j/docs/api/index.html ): In addition, there are two special levels of logging available: (descriptions borrowed from the log4j API http://jakarta.apache.org/log4j/docs/api/index.html ): A logger will only output messages that are of a level greater than or equal to it. If the level of a logger is not set it will inherit the level of the closest ancestor.

Log4J

Apache log4j 1.2 - Short introduction to log4j

Short introduction to log4j: Ceki Gülcü, March 2002 Copyright © 2000-2002 The Apache Software Foundation. All rights reserved. This software is published under the terms of the Apache Software License version 2.0, a copy of which has been included in the LICENSE file shipped with the log4j distribution. This document is based on the article "Log4j delivers control over logging" published in November 2000 edition of JavaWorld.
Tout a déjà été dit sur les logs. Pour preuve, ce n’est plus un sujet chaud, les équipes d’exploitation sont très contentes avec les logs de nos applications . D’accord, l’envers du décor est moins reluisant et il reste une marge de progression. Nous avions proposé dans Les 10 commandements des logs applicatives des suggestions focalisées sur le contenu des fichiers de logs ; voici aujourd’hui des propositions pour gérer les fichiers eux-mêmes. Même si le sujet peut sembler trivial, ces bonnes pratiques peuvent grandement simplifier le quotidien des équipes de production et améliorer les relations tumultueuses entre exploitants et développeurs.

Java en Production – Les fichiers de logs | Blog Xebia France

Pattern

Eclipse