In another embodiment, the effervescent agent is a gas that is dissolved in the calcium phosphate composition prior to implantation, and that is released from the calcium phosphate composition during hardening at a rate selected to produce a desired amount of interconnected pores.