This review provides a theoretical basis for understanding the current-phase relation (C\ensuremath{\Phi}R) for the stationary (dc) Josephson effect in various types of superconducting junctions. The authors summarize recent theoretical developments with an emphasis on the fundamental physical mechanisms of the deviations of the C\ensuremath{\Phi}R from the standard sinusoidal form. A new experimental tool for measuring the C\ensuremath{\Phi}R is described and its practical applications are discussed. The method allows one to measure the electrical currents in Josephson junctions with a small coupling energy as compared to the thermal energy. A number of examples illustrate the importance of the C\ensuremath{\Phi}R measurements for both fundamental physics and applications.
Superconducting RF nanoelectronic devices exhibit a considerable potential for application in future electronics. Josephson effect based devices allow generation, detection, mixing, and parametric amplification of high-frequency signals up into the terahertz region and exhibit high sensitivity, low energy consumption, and small size. Traveling-wave devices can be realized with distributed Josephson junctions. Nonlinear lumped-element circuits can be realized that are small enough so that the circuit dynamics are governed by quantum mechanics. This allows to generate two-photon coherent states and entangled states and will open the door for quantum information processing. Nanotechnological fabrication techniques and the availability of novel materials give a strong impact on the development of novel Josephson-effect-based devices and systems. An overview over the physical principles and the possible applications of nanoelectronic RF Josephson devices is presented.