The invention relates to a method for production of at least one device (2, 30, 48), defining a volume (8), for retaining a fluid or a sensitive material susceptible to a change in physical properties, particularly optical properties under the effect of application of a voltage, or in electrical properties under the effect of the application of a constraint or an irradiation. Said device (2, 30, 48) comprises at least one first front substrate (4, 38, 56) and at least one second rear substrate (6, 32, 50) held at a constant distance from each other, said two substrates (6, 32, 50; 4, 38, 56) being connected by a sealed joint (24, 46, 72) which defines the retention volume (8) for the sensitive material or fluid. The method is characterised in comprising the following steps: forming the structure of at least one septum (12, 44, 66) on one of the substrates (6, 32, 50) which defines the volume (8) for retention of the sensitive medium or fluid with the internal lateral face thereof, bringing the second substrate (4, 38, 56) together with the first substrate (6, 32, 50), introduction of a jointing material which can run into the gap (22), defined by the lateral external face of the septum (12, 44, 66) and the two superimposed substrates (6, 32, 50; 4, 38, 56) until at least a part of the volume of said gap (22) is occupied by the sealing material and solidification of the sealing material such as to generate the sealing joint (26, 46, 72).