[jboss-dev-forums] [jBPM Development] - Re: jbpm5 persistence

gigazhang do-not-reply at jboss.com
Mon Apr 9 21:19:00 EDT 2012


gigazhang [https://community.jboss.org/people/gigazhang] created the discussion

"Re: jbpm5 persistence"

To view the discussion, visit: https://community.jboss.org/message/729015#729015

--------------------------------------------------------------
            EntityManagerFactory emfTask = Persistence.createEntityManagerFactory( "org.jbpm.task" );
            TaskService taskService = new TaskService(emfTask, SystemEventListenerFactory.getSystemEventListener());

            /* Start Mina server for HT*/
            MinaTaskServer server = new MinaTaskServer(taskService);
            Thread thread = new Thread(server);
            thread.start();


How do I replace the first line?
--------------------------------------------------------------

Reply to this message by going to Community
[https://community.jboss.org/message/729015#729015]

Start a new discussion in jBPM Development at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&containerType=14&container=2035]

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-dev-forums/attachments/20120409/1a7f1423/attachment.html 


More information about the jboss-dev-forums mailing list