title: Using multiple .war in one Web application
body: <p>My company is creating multiple web applications that will have some overlap in functionality.  I want to develop the common functions a separate project, and since it would consist of web pages and managed beans I would assume the project would need to be in its own .war file.  I would then presumably deploy the two (or more) web applications inside of a .ear file.  Doing some preliminary research online has left me unsure of how well the web applications would work together.  Would I be able to share data between the managed beans and direct the user from pages inside of one web application to another?  Is the the proper approach to making my application maintainable or is there some better way to break up the project?</p>