This week's book giveaway is in the OCAJP forum. We're giving away four copies of OCA Java SE 8 Programmer I Study Guide 1Z0-808 and have Jeanne Boyarsky & Scott Selikoff on-line! See this thread for details.
I believe it all depends whether you�re using an IDE or a building tool like ant. However the choice the idea is always the same: you don�t need to import the whole ejb project, but only the home/remote interfaces (and their local siblings if your client is local) and all the common classes (like DTOs for example). Usually you pack all these files in one or more separate ejb-client.jar and common.jar libraries and make these available to your web project. Regards.