We consider a model of non-isothermal phase transition taking place in a conned container. The order parameter is governed by a Cahn- Hilliard type equation which is coupled with a nonlinear heat equation for the temperature . The former is subject to a nonlinear dynamic boundary condition recently proposed by some physicists to account for interactions of the material with the walls. The latter is endowed with a boundary condi- tion which can be a standard one (Dirichlet, Neumann or Robin). We thus formulate a class of initial and boundary value problems whose local exis- tence and uniqueness is proven by means of a Faedo-Galerkin approximation scheme. The local solution becomes global owing to suitable a priori estimates. Then we analyze the asymptotic behavior of the solutions within the theory of innite-dimension al dynamical systems. In particular, we demonstrate the existence of a nite dimensional global attractor as well as of an exponential attractor.