Insertion of heterologous peptide sequences into a protein carrier may impose structural constraints that could help the peptide to adopt a proper fold. This concept could be the starting point for the development of a new generation of safe subunit vaccines based on the expression of poorly immunogenic epitopes. In the present study, we characterized the tolerance of the TEM-1 class A beta-lactamase to the insertion of two different peptides, the V3 loop of the gp120 protein of HIV, and the thermostable STa enterotoxin produced by enterotoxic Escherichia coli. Insertion of the V3 loop of the HIV gp120 protein into the TEM-1 scaffold yielded insoluble and poorly produced proteins. By contrast, four hybrid beta-lactamases carrying the STa peptide were efficiently produced and purified. Immunization of BALB/c mice with these hybrid proteins produced high levels of TEM-1-specific antibodies, together with significant levels of neutralizing antibodies against STa.