EJBs are responsible for managing your business logic and they have no dependence on any presentation layer. For handling your presentation layer you can either use solely jsp,servlet,applets etc. or use a more sophisticated way such as applying struts framework in your application. Strust is based on MVC model and it not only gives you a very well designed structure to code your presentation layer but also provides many good utilities such as taglibs and form validation libraries.Needless to say struts can be used either independently or it can hand over the business logic to EJBs.