Hi,
I need to develop a standalone Java client accessing ofbiz services and same time want to utilize JMS in order to receive messages asynchronously. Since ofbiz doesn't provide asynchronous messaging out of the box, I am thinking to use any JMS server. However, I don't want my user to confuse by authenticating against both ofbiz and JMS server. Thanks for your support. Muhammed Aamir |
OFBiz services can be accessed via JMS, have you looked at the JmsServiceEngine class at all?
Regards Scott On 12/06/2010, at 4:53 AM, Muhammad Aamir wrote: > Hi, > > I need to develop a standalone Java client accessing ofbiz services and same > time want to utilize JMS in order to receive messages asynchronously. Since > ofbiz doesn't provide asynchronous messaging out of the box, I am thinking > to use any JMS server. However, I don't want my user to confuse by > authenticating against both ofbiz and JMS server. > > Thanks for your support. > > Muhammed Aamir smime.p7s (3K) Download Attachment |
I am sorry I didn't explain my point well. I want my client
application to access jms but couldn't figure out how to avoid authentication twice, one with ofbiz and another with jms server. I wish jms (or at least asynchronous calling (and response)) from client was possible with ofbiz. Sent from my iPhone On Jun 12, 2010, at 1:18, Scott Gray <[hidden email]> wrote: > OFBiz services can be accessed via JMS, have you looked at the > JmsServiceEngine class at all? > > Regards > Scott > > On 12/06/2010, at 4:53 AM, Muhammad Aamir wrote: > >> Hi, >> >> I need to develop a standalone Java client accessing ofbiz services >> and same >> time want to utilize JMS in order to receive messages >> asynchronously. Since >> ofbiz doesn't provide asynchronous messaging out of the box, I am >> thinking >> to use any JMS server. However, I don't want my user to confuse by >> authenticating against both ofbiz and JMS server. >> >> Thanks for your support. >> >> Muhammed Aamir > |
You'll have to try and be clearer still, if you want to send JMS messages direct to OFBiz from your client then yes it is possible.
Regards Scott HotWax Media http://www.hotwaxmedia.com On 12/06/2010, at 4:07 PM, Muhammed Aamir wrote: > I am sorry I didn't explain my point well. I want my client application to access jms but couldn't figure out how to avoid authentication twice, one with ofbiz and another with jms server. I wish jms (or at least asynchronous calling (and response)) from client was possible with ofbiz. > > > Sent from my iPhone > > On Jun 12, 2010, at 1:18, Scott Gray <[hidden email]> wrote: > >> OFBiz services can be accessed via JMS, have you looked at the JmsServiceEngine class at all? >> >> Regards >> Scott >> >> On 12/06/2010, at 4:53 AM, Muhammad Aamir wrote: >> >>> Hi, >>> >>> I need to develop a standalone Java client accessing ofbiz services and same >>> time want to utilize JMS in order to receive messages asynchronously. Since >>> ofbiz doesn't provide asynchronous messaging out of the box, I am thinking >>> to use any JMS server. However, I don't want my user to confuse by >>> authenticating against both ofbiz and JMS server. >>> >>> Thanks for your support. >>> >>> Muhammed Aamir >> smime.p7s (3K) Download Attachment |
Let me put it in this way:
Based on some event a particular service is supposed to send a message to a standalone java client (connected to ofbiz). One way of doing so is to have that service sent a message to JMS server and java client will get it from there. The negative part of this approach is: - Need to involve another server - User (of that java client) will need to authenticate agains both ofbiz and JMS server. Hope that was clearer. Thanks On Sat, Jun 12, 2010 at 7:25 AM, Scott Gray <[hidden email]>wrote: > You'll have to try and be clearer still, if you want to send JMS messages > direct to OFBiz from your client then yes it is possible. > > Regards > Scott > > HotWax Media > http://www.hotwaxmedia.com > > On 12/06/2010, at 4:07 PM, Muhammed Aamir wrote: > > > I am sorry I didn't explain my point well. I want my client application > to access jms but couldn't figure out how to avoid authentication twice, one > with ofbiz and another with jms server. I wish jms (or at least asynchronous > calling (and response)) from client was possible with ofbiz. > > > > > > Sent from my iPhone > > > > On Jun 12, 2010, at 1:18, Scott Gray <[hidden email]> wrote: > > > >> OFBiz services can be accessed via JMS, have you looked at the > JmsServiceEngine class at all? > >> > >> Regards > >> Scott > >> > >> On 12/06/2010, at 4:53 AM, Muhammad Aamir wrote: > >> > >>> Hi, > >>> > >>> I need to develop a standalone Java client accessing ofbiz services and > same > >>> time want to utilize JMS in order to receive messages asynchronously. > Since > >>> ofbiz doesn't provide asynchronous messaging out of the box, I am > thinking > >>> to use any JMS server. However, I don't want my user to confuse by > >>> authenticating against both ofbiz and JMS server. > >>> > >>> Thanks for your support. > >>> > >>> Muhammed Aamir > >> > > |
In reply to this post by Muhammad Aamir
I have implemented something similar, but not jms, so let me suggest this.
integrated JMS into ofbiz using the handlers in the controller. this eliminates the jms server and the client talks directly to ofbiz. since the JMS handler is built in it can take care of the login. check out the different handlers now available in the controller.xml, for a prototype to your JMS handler. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> Muhammed Aamir sent the following on 6/11/2010 9:07 PM: > I am sorry I didn't explain my point well. I want my client application > to access jms but couldn't figure out how to avoid authentication twice, > one with ofbiz and another with jms server. I wish jms (or at least > asynchronous calling (and response)) from client was possible with ofbiz. > > > Sent from my iPhone > > On Jun 12, 2010, at 1:18, Scott Gray <[hidden email]> wrote: > >> OFBiz services can be accessed via JMS, have you looked at the >> JmsServiceEngine class at all? >> >> Regards >> Scott >> >> On 12/06/2010, at 4:53 AM, Muhammad Aamir wrote: >> >>> Hi, >>> >>> I need to develop a standalone Java client accessing ofbiz services >>> and same >>> time want to utilize JMS in order to receive messages asynchronously. >>> Since >>> ofbiz doesn't provide asynchronous messaging out of the box, I am >>> thinking >>> to use any JMS server. However, I don't want my user to confuse by >>> authenticating against both ofbiz and JMS server. >>> >>> Thanks for your support. >>> >>> Muhammed Aamir >> > |
Thanks for your response. Can you please help me where can I get more info
about it. Moreover, how ofbiz will push the message to the client (java application using rmi to connect to ofbiz). Thanks a lot! On Sat, Jun 12, 2010 at 6:32 PM, BJ Freeman <[hidden email]> wrote: > I have implemented something similar, but not jms, so let me suggest this. > integrated JMS into ofbiz using the handlers in the controller. > this eliminates the jms server and the client talks directly to ofbiz. > since the JMS handler is built in it can take care of the login. > check out the different handlers now available in the controller.xml, for a > prototype to your JMS handler. > > ========================= > BJ Freeman > http://bjfreeman.elance.com > Strategic Power Office with Supplier Automation < > http://www.businessesnetwork.com/automation/viewforum.php?f=52> > Specialtymarket.com <http://www.specialtymarket.com/> > > Systems Integrator-- Glad to Assist > > Chat Y! messenger: bjfr33man > Linkedin < > http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro > > > > > Muhammed Aamir sent the following on 6/11/2010 9:07 PM: > > I am sorry I didn't explain my point well. I want my client application >> to access jms but couldn't figure out how to avoid authentication twice, >> one with ofbiz and another with jms server. I wish jms (or at least >> asynchronous calling (and response)) from client was possible with ofbiz. >> >> >> Sent from my iPhone >> >> On Jun 12, 2010, at 1:18, Scott Gray <[hidden email]> wrote: >> >> OFBiz services can be accessed via JMS, have you looked at the >>> JmsServiceEngine class at all? >>> >>> Regards >>> Scott >>> >>> On 12/06/2010, at 4:53 AM, Muhammad Aamir wrote: >>> >>> Hi, >>>> >>>> I need to develop a standalone Java client accessing ofbiz services >>>> and same >>>> time want to utilize JMS in order to receive messages asynchronously. >>>> Since >>>> ofbiz doesn't provide asynchronous messaging out of the box, I am >>>> thinking >>>> to use any JMS server. However, I don't want my user to confuse by >>>> authenticating against both ofbiz and JMS server. >>>> >>>> Thanks for your support. >>>> >>>> Muhammed Aamir >>>> >>> >>> >> > |
which ever direction you take it means integration into ofbiz of JMS.
if you wish to use rmi instead of controller handlers then you will have to build jms, out in the rmi, in ofbiz. to my knowledge there is not documentation on how to write a handler, so the best is to look at current handlers, in the source code. Best is to start digging into ofbiz. ========================= BJ Freeman http://bjfreeman.elance.com Strategic Power Office with Supplier Automation <http://www.businessesnetwork.com/automation/viewforum.php?f=52> Specialtymarket.com <http://www.specialtymarket.com/> Systems Integrator-- Glad to Assist Chat Y! messenger: bjfr33man <http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro> Muhammad Aamir sent the following on 6/12/2010 11:30 AM: > Thanks for your response. Can you please help me where can I get more info > about it. > > Moreover, how ofbiz will push the message to the client (java application > using rmi to connect to ofbiz). > > Thanks a lot! > > On Sat, Jun 12, 2010 at 6:32 PM, BJ Freeman<[hidden email]> wrote: > >> I have implemented something similar, but not jms, so let me suggest this. >> integrated JMS into ofbiz using the handlers in the controller. >> this eliminates the jms server and the client talks directly to ofbiz. >> since the JMS handler is built in it can take care of the login. >> check out the different handlers now available in the controller.xml, for a >> prototype to your JMS handler. >> >> ========================= >> BJ Freeman >> http://bjfreeman.elance.com >> Strategic Power Office with Supplier Automation< >> http://www.businessesnetwork.com/automation/viewforum.php?f=52> >> Specialtymarket.com<http://www.specialtymarket.com/> >> >> Systems Integrator-- Glad to Assist >> >> Chat Y! messenger: bjfr33man >> Linkedin< >> http://www.linkedin.com/profile?viewProfile=&key=1237480&locale=en_US&trk=tab_pro >>> >> >> >> Muhammed Aamir sent the following on 6/11/2010 9:07 PM: >> >> I am sorry I didn't explain my point well. I want my client application >>> to access jms but couldn't figure out how to avoid authentication twice, >>> one with ofbiz and another with jms server. I wish jms (or at least >>> asynchronous calling (and response)) from client was possible with ofbiz. >>> >>> >>> Sent from my iPhone >>> >>> On Jun 12, 2010, at 1:18, Scott Gray<[hidden email]> wrote: >>> >>> OFBiz services can be accessed via JMS, have you looked at the >>>> JmsServiceEngine class at all? >>>> >>>> Regards >>>> Scott >>>> >>>> On 12/06/2010, at 4:53 AM, Muhammad Aamir wrote: >>>> >>>> Hi, >>>>> >>>>> I need to develop a standalone Java client accessing ofbiz services >>>>> and same >>>>> time want to utilize JMS in order to receive messages asynchronously. >>>>> Since >>>>> ofbiz doesn't provide asynchronous messaging out of the box, I am >>>>> thinking >>>>> to use any JMS server. However, I don't want my user to confuse by >>>>> authenticating against both ofbiz and JMS server. >>>>> >>>>> Thanks for your support. >>>>> >>>>> Muhammed Aamir >>>>> >>>> >>>> >>> >> > |
Free forum by Nabble | Edit this page |