Here is a way to externalize MDB maxSession property out of ear:
https://community.jboss.org/message/639955#639955
Reply to this message by going to Community
Start a new discussion in EJB3 at Community