Hi, this thread is two years old. Is this stuff still current?
Carl Brad Plies wrote: > > Hi everyone, > > I'm just trying to use the OFBIZ Entity Engine for a pilot project. I > want to use the engine standalone and embedded within another system. I > already know to use the ofbiz.jar, ofbiz-base.jar, and ofbiz-entity.jar > and their dependent jars. My question is, how do you start the entity > engine? > > I know you can use the the org.ofbiz.base.start.Start mechanism, but > this project does not need any of the container and component loading > fanciness. The project's source file layout also does not lend itself > well to how OFBIZ would like files to be laid out. > > So far I have successfully placed entityengine.xml on the classpath and > gotten the GenericDelegator to find and parse the file. The next thing > I am trying to figure out though is how to load my entitymodel.xml and > entitygroup.xml files (there is only one of each for this entire project). > > How would that be done? After familiarizing myself with the source code > for a good long while, I'm thinking that I somehow need to use > org.ofbiz.base.component.ComponentConfig and > org.ofbiz.entity.model.ModelReader. Am I on the right track? How do I > get my entity files parsed? What might some simple sample code look like? > > Thanks, > > Brad > > _______________________________________________ > Users mailing list > [EMAIL PROTECTED] > http://lists.ofbiz.org/mailman/listinfo/users > > -- View this message in context: http://www.nabble.com/Users---Isolating-and-Using-the-Entity-Engine-tp4537123p18903436.html Sent from the OFBiz - User mailing list archive at Nabble.com.
