We are starting a new JEE project and am looking for suggestions regarding design patterns to expose the backend interfaces.
It would be preferable if the backend logic can run seamlessly on Tomcat, other JEE5 containers. We are currently veering towards JEE5, EJB3, JPA and the preferred deployment platform is JBoss 5 AS. We would expect the backend engine to expose the following interfaces (e.g. EJB3 local / remote, SOAP, REST) for the business logic. Any pointers regarding suitable design patterns which can be used as for as code layout and package structure is concerned, which will enable us to package and deploy them on the above mentioned containers.