Java

TwitterFacebook
Get flash to fully experience Pearltrees
BigMemory

http://download.oracle.com/javase/6/docs/index.html The two principal products in the Java SE platform are: Java Development Kit (JDK) and Java SE Runtime Environment (JRE). The JDK is a superset of the JRE, and contains everything that is in the JRE, plus tools such as the compilers and debuggers necessary for developing applets and applications. The Java Runtime Environment (JRE) provides the libraries, the Java Virtual Machine, and other components to run applets and applications written in the Java programming language. Java SE documentation is regularly updated to provide developers with in-depth information about new features in the Java platform. Some recent updates include:

Java SE 6 Documentation

Personnalisation d'un formulaire XHTML avec CSS

Je vais vous présenter étape par étape le même formulaire mais avec un petit quelque chose en plus. Au final nous aurons un beau formulaire CSS. Prénom : Nom : Sexe : Date de naissance : Adresse : Code postal : Ville : Pays : Canada États-Unis Belgique France Identifiant : Mot de passe : Confirmer le mot de passe : Adresse email : Question secrète : Réponse : http://a-pellegrini.developpez.com/tutoriels/css/formulaire/
Jconsole

Install

HttpSession

GC

A Test of Java Virtual Machine Performance

Prior to Version 1.3, production releases of the Java 2 SDK, Standard Edition for the Solaris Operating Environment included a virtual machine 1 implementation known as Exact VM (EVM). With the release of Java 2 SDK, Standard Edition 1.3 , EVM is replaced by the Java HotSpot Server VM and the Java HotSpot Client VM . The Java HotSpot Client and Server VMs are designed to deliver a high level of performance for Java technology-based applications, in many cases a higher level of performance than these applications could achieve with EVM. However, as is true for most performance-enhancing tools, the performance of an application can also depend on other factors such as VM options specified at runtime. This article presents the results of a test that compared the performance of a Java application running with the JDK 1.2.2_05a Production Release for Solaris, to the performance of that application running with the Java 2 SDK 1.3 Early Access release for Solaris. http://java.sun.com/developer/technicalArticles/Programming/JVMPerf/
jmeter

Screenshots of webserver load tests with Webserver Stress Tool.

http://www.paessler.com/webstress/screenshots This screenshot shows Webserver Stress Tool running with 4.000 users and 688.000 pageviews per hour. Please click the magnifying glass to see the image in full size.
http://jmeter.apache.org/usermanual/build-db-test-plan.html

JMeter - User's Manual: Building a Database Test Plan

The first step you want to do with every JMeter Test Plan is to add a Thread Group element. The Thread Group tells JMeter the number of users you want to simulate, how often the users should send requests, and the how many requests they should send. Go ahead and add the ThreadGroup element by first selecting the Test Plan, clicking your right mouse button to get the Add menu, and then select Add --> ThreadGroup.
http://jmeter.apache.org/usermanual/boss.html

JMeter - User's Manual: My boss wants me to...

Why not Perl or C ? Well, Perl might be a very good choice except that the Benchmark package seems to give fairly fuzzy results. Also, simulating multiple users with Perl is a tricky proposition (multiple connections can be simulated by forking many processes from a shell script, but these will not be threads, they will be processes). However, the Perl community is very large.
http://jmeter.apache.org/usermanual/build-monitor-test-plan.html Add the Listener by selecting the test plan element (Add --> Listener -- > Monitor Results). By default, the Listener will select the results from the first connector in the sample response. The Connector prefix field can be used to select a different connector. If specified, the Listener will choose the first connector which matches the prefix. If no match is found, then the first connector is selected.

JMeter - User's Manual: Building a Monitor Test Plan

As a workaround you can redirect stdout to a file - say stdout.txt - when launching your app and then have a separate thread in your application that monitors the stdout.txt file and maybe prints it to your applications log. We are doing so successfully in our server app which runs on JDK 1.3.0. One disadvantage of this workaround is that you can no longer use the console for logging or you must use System.err instead of System.out. Hi: I'm using JDK1.3.1 and would like to have a time stamp with the full GC also. This would help me plot went Full GC happen I would like to know if Frankmarvin provide a local time stamp, if so how do I get in touch with Frankmarvin. http://bugs.sun.com/bugdatabase/view_bug.do?bug_id=4447147

Bug ID: 4447147 Some customers need to redirect -verbose:gc style output to a file

http://stackoverflow.com/questions/1161647/how-to-redirect-verbose-garbage-collection-output-to-a-file

How to redirect verbose garbage collection output to a file? - Stack Overflow

Report on each garbage collection event, as with -verbose:gc, but log this data to file . In addition to the information -verbose:gc gives, each reported event will be preceeded by the time (in seconds) since the first garbage-collection event. Always use a local file system for storage of this file to avoid stalling the JVM due to network latency. The file may be truncated in the case of a full file system and logging will continue on the truncated file.

Mozilla Firefox

This appendix contain examples of garbage collection verbosegc output that indicate an problem with garbage collection. The default collector is being used unless otherwise specified. Unless otherwise specified the verbosegc output is generated with -verbosegc -XX:+ PrintGCDetails http://java.sun.com/docs/hotspot/gc1.4.2/example.html
Use the concurrent low pause collector if your application would benefit from shorter garbage collector pauses and can afford to share processor resources with the garbage collector when the application is running. Typically applications which have a relatively large set of long-lived data (a large tenured generation), and run on machines with two or more processors tend to benefit from the use of this collector. However, this collector should be considered for any application with a low pause time requirement.

Tuning Garbage Collection with the 5.0 Java[tm] Virtual Machine

SSH over vnc

JIT

Tuto Servlet

Bonjour à toutes et tous ! Avant de commencer à lire ce tuto, vous devez avoir lu les premières parties du tuto sur la programmation en Java ainsi que la totalité du tuto de M@teo sur XHTML / CSS . Je ne prétends pas faire un cours magistral sur le sujet, mais les Zéros qui connaissent un peu JEE savent que beaucoup de choses rentrent en ligne de compte et, par conséquent, que ça nécessite patience, rigueur et débrouillardise. Après avoir appris à manipuler ces objets, nous verrons que, pour avoir une application respectant certains standards de programmation JEE, nous allons devoir coupler ces dernières avec ce qu'on appelle des JSP . Toute application web dite dynamique nécessite une base de données ainsi que des objets qui iront manipuler ces données.

Applet Tutorial: Drawing Lines

import java.applet.*; import java.awt.*; public class DrawingLines extends Applet { int width, height; public void init() { width = getSize().width; height = getSize().height; setBackground( Color.black ); } public void paint( Graphics g ) { g.setColor( Color.green ); for ( int i = 0; i Start up a plain text editor and type in the source code. It's important that you use a plain ASCII text editor (such as "Notepad" on Windows, "SimpleText" on Mac, or "vi" or "emacs" on UNIX) to enter the source code; don't use a word processing application (such as "WordPerfect" or "Word") since they use a proprietary format for files. If you don't want to do any typing, you can download the source file. Save the file as DrawingLines.java . It's important that the filename match the class name in the source code.

Lesson: Applets (The Java™ Tutorials > Deployment)

This lesson discusses the basics of Java applets, how to develop applets that interact richly with their environment, and how to deploy applets. A Java applet is a special kind of Java program that a browser enabled with Java technology can download from the internet and run. An applet is typically embedded inside a web page and runs in the context of a browser. An applet must be a subclass of the java.applet.Applet class. The Applet class provides the standard interface between the applet and the browser environment.
Apache Logs

Jonas

Jboss

ant

Grinder