Advance tokamak scenarios are gaining more and more importance in operating tokamaks. These scenarios pose challenging control problems, since they require the simultaneous achievement of ambitious plasma parameters. The inherent coupling among the various variables calls for an integrated approach for the design of the controllers. This paper describes an example of integrated design recently implemented at JET: the control of plasma shape and boundary flux. After a brief description of the control problem, the paper focuses on the solution that has been adopted, presenting the technical details of the control scheme. The experimental results included in the paper are in agreement with the expected simulation results, and demonstrate the effectiveness of the proposed solution.