  The next to the leading order Casimir effect for a real scalar field, within$\phi^4$ theory, confined between two parallel plates is calculated in onespatial dimension. Here we use the Green's function with the Dirichlet boundarycondition on both walls. In this paper we introduce a systematic perturbationexpansion in which the counterterms automatically turn out to be consistentwith the boundary conditions. This will inevitably lead to nontrivial positiondependence for physical quantities, as a manifestation of the breaking of thetranslational invariance. This is in contrast to the usual usage of thecounterterms, in problems with nontrivial boundary conditions, which are eithercompletely derived from the free cases or at most supplemented with theaddition of counterterms only at the boundaries. We obtain \emph{finite}results for the massive and massless cases, in sharp contrast to some of theother reported results. Secondly, and probably less importantly, we use asupplementary renormalization procedure in addition to the usual regularizationand renormalization programs, which makes the usage of any analyticcontinuation techniques unnecessary.
Here we use the Green's function with the Dirichlet boundary condition on both walls. In this paper we introduce a systematic perturbation expansion in which the counterterms automatically turn out to be consistent with the boundary conditions.