[jBPM] - Integration with not Java application
by Vladimir Lebedinsky
Vladimir Lebedinsky [https://community.jboss.org/people/fludimir] created the discussion
"Integration with not Java application"
To view the discussion, visit: https://community.jboss.org/message/796040#796040
--------------------------------------------------------------
I need to integrate BPM system in application written on PHP(Symfony2) and ExtJS4. For example, in my app there are entities called 'knowledge document' - this is pdf file and some text metadata, user is allowed to upload it, document manager allowed to accept/decline it. I need to create same task in jBPM and integrate it with my app - ie when process in jBPM will be finished my application should update data - get document if it was accepted in jBPM or log document decline.
Ideally workflow should be like this:
User logins in current application, clicks on link 'BPM' and starts work on 'knowledge document' process - uploads file
Document Manager also logins in app, opens BPM and finishes process - accepting file for example
Document saved in application
Looks like I have three main tasks:
Make jBPM to use users from my app - dont even know how. I can make web api for users, or allow to use users table in db..
Render forms using ExtJS instead of jBPM html forms - this will be possible if I can get form definition from api
Save data in app after process in jBPM is finished (either sending request from jBPM to application, or getting data from jBPM REST API by notification/cron)
I'm new with BPM and actually with Java too, and lot of things are not clear for me, any help will be very useful
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/796040#796040]
Start a new discussion in jBPM at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months
[EJB3] - NotSerializableException encountered in EJB3 calling remote service on the server
by Mike Miller
Mike Miller [https://community.jboss.org/people/mikemil] created the discussion
"NotSerializableException encountered in EJB3 calling remote service on the server"
To view the discussion, visit: https://community.jboss.org/message/796054#796054
--------------------------------------------------------------
We are in the process of testing a migration from EJB 2.1 to EJB 3 on JBoss 4.2.3.GA. Currently most of our code (inherited from years past) always loads the remote service interface even when we can tell we are on the server. Not, during testing we are getting a NotSerializableException in places where we load a remote service on the server and make a call. One instance was us trying to parse some XML and the SAX.parse() method parameters were the XML String and an XML handler. The handler was the object references in the NotSerializableException. All of our EJBs are stateless session beans.
I was able to 'get around' this in two ways:
1) load the local interface rather than the remote
2) Changes our XML handler to 'implement Serializable'.
#1 seems like the correct answer, we will just have to digg thru the code and find all these cases where a remote service was called, which then starts making additional service calls.
I wanted to see if someone could verify that this was a change made in the EJB3 area - because all this code currently works when the beans are EJB 2.1.
--------------------------------------------------------------
Reply to this message by going to Community
[https://community.jboss.org/message/796054#796054]
Start a new discussion in EJB3 at Community
[https://community.jboss.org/choose-container!input.jspa?contentType=1&con...]
11 years, 9 months