Embeddable ejb container (works for stateless session beans)
==========
Lightmare is lightweight library to run ejb project in any type application without any ejb containers
=========
Usage strts with parsing eny directory, jar or ear file to find and register stateless session beans (with scannotation http://scannotation.sourceforge.net/) and create and cache EntityManagerFactory for each @PersistenceContext annotated field in bean:
MetaCreator.Builder builder = new MetaCreator.Builder();
MetaCreator metaCreator = builder.build()
metaCreator.scanForBeans(files);
where files are String[] or URL[] array of ear, jar or any ejb containd directory pathes or this files (File[])