[jboss-user] [jBPM] - spring bean as global variable

Odelya Holiday do-not-reply at jboss.com
Sun Feb 13 09:15:34 EST 2011


Odelya Holiday [http://community.jboss.org/people/odelyaholiday] created the discussion

"spring bean as global variable"

To view the discussion, visit: http://community.jboss.org/message/587106#587106

--------------------------------------------------------------
Hi!

I need to call my database in order to acess data for example: retrieving list of actors for the process.

Is it fine to use global as spring bean and set it:


ksession.setGlobal("springDao",mydao)



and extract database from it?
--------------------------------------------------------------

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

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

-------------- next part --------------
An HTML attachment was scrubbed...
URL: http://lists.jboss.org/pipermail/jboss-user/attachments/20110213/77f533cf/attachment-0001.html 


More information about the jboss-user mailing list