If you first cook the pasta, and then use the same pot to cook the beans, you will only need one pot and a baking dish to make this meal. To save time, cook the pasta and the beans in different pots at the same time, and use prepared pesto instead of fresh basil and Parmesan.
Parmesan cheese is not truly vegetarian, as it contains animal rennet. To make this dish 100% vegetarian, omit the cheese or find a suitable vegetarian substitute made without animal rennet. In supermarkets look for the 'parmesan style hard cheeses' which are suitable for vegetarians.