In a large pot, bring water to a boil. Turn off the heat, add the shrimp and cover. Leave the shrimp in the hot water for 1 minute, drain and set aside.
In a large saucepan over medium heat, melt the butter and olive oil. Add the onions, garlic, salt and pepper. Cook about 7 minutes, stirring occasionally. Add the flour and stir well.
Add the wine to the saucepan, bring to a boil and then reduce the heat to medium low. Add the heavy cream, shrimp, anise seeds, anise extract and cook in the sauce for 5 minutes, Remove from the heat and add the chopped parsley. Add salt and pepper if necessary.