 A similar influenced pastry, known as pineapple cake or pineapple pastry, is also found in Taiwan, South Korea and Japan.The pastry consists of a large proportion of butter and egg yolk, besides using corn starch, giving it a rich, buttery, tender and melt-in-the-mouth texture.The pineapple jam is usually made by slowly reducing and caramelizing grated fresh pineapple that has been mixed with sugar and spices - usually cinnamon, star anise and cloves.