Java

Java in H1

Public Page - Goto Internal Page here
H1
This page intends to serve visitors from outside the H1 Collaboration with information and ideas about where Java is used in the H1 experiment, and to collect useful links and state-of-the-art documentation for Java programmers inside and outside H1 and HEP. Some links may however be restricted to certain internet sites for reasons of safety, confidentiality or licences; those are indicated by a little red lock (lock).

Notes about browsers

H1

Usage of Java in the H1 experiment

A quite impressing number of Java programs (applets and applications) has been written in H1 since the advent of the first Java release. The main application field lies in reliable, 24/24-7/7 control software of the DAQ and detector control domain, which are used by a small number of experts and a much larger number of non-experts.

The (apparently non-yet exhaustive) list of projects is given below:

  • Luminosity Monitor lock
  • Calorimeter MenuDAQ
    Graphical SpaCal display SpDisplay
    a subproject of the Calorimeter check and calibration data displays
  • ZUBR - L45 histogram display
  • Calorimeter Trigger Rate Monitor
  • System Supervisor Program (DAQ run control)
  • Central Trigger Element Rate Monitor
  • Transverse Polarimeter
  • Outdated projects or prototype tests:
    - L5 reconstruction monitoring
    - Data Flow Monitor
    - Solenoid Control
    migrated to PVSS. For a Java based example for connecting PVSS user and PVSS TCP driver look here.)
    - Analysis of H1 data with JAS (evaluation study)

 

Manuals and Tutorials (online)

JAS - Java Analysis Studio

Coding Conventions

Javadoc

Java & Perl

 

Links

 

Java Installation, Software and Usage at DESY

  • Java Development Software Kit (JDSK)

    Presently (Feb 2003) from the central DESY installation available are JDK 1.3.1 and 1.4.1. The environment setup of the JDKs is made by means of the ini command. (Type ini -l for a list of options.) For example, JDSK 1.4.1 is initialized by
    ini jdk4.
    All Java commands (javac, java, ...) should then work correctly and the shell environment variables set correctly.
  • Note that the old setup method with
    . jdk1.1.6_setup.csh (for C-shells)
    or
    . jdk1.1.6_setup.sh (for Bourne type shells)
    is deprecated now! The ini command should be used instead (see above).
  • CosmoCode and SGI's Java 3.0.1 (port of SUN's JDK 1.1.3) are installed on SGI Workgroup servers
    • To start CosmoCode just start /usr/sbin/CosmoCode
    • To set up your environment to run Java:
      for csh:
      setenv PATH $PATH:/usr/java/bin
      setenv JAVA_HOME /usr/java
      for sh, zsh:
      export PATH=$PATH:/usr/java/bin
      export JAVA_HOME=/usr/java

  • Java Plugin and WebStart instructions

  • Oracle JDBC drivers (for JDK 1.1.1)

    Objectspace's JGL (old version) and some other classes are installed at /afs/desy.de/group/h1/iww/icas/Java/classess .
    Add the path to your CLASSPATH env variable
    	export CLASSPATH=$CLASSPATH:/afs/desy.de/group/h1/iww/icas/Java/classess
     	

Last update February 2003, Dirk Hoffmann