Take a look at the org.ofbiz.service.rmi.ExampleRemoteClient.java
file... it may be just what you need.
-David
On Sep 28, 2009, at 6:29 AM, Olindo Pindaro wrote:
Jacques,
the SOA/ESB approches is great in complex big scenario (from
software and
organizational point of view), optimal for a Bank or Telco provider,
regarding the specific problem we can totally controll more variable
and
target customer is little and Middle entreprise: Jpuzzle is owned by
us,
ofBiz isOpen, both written in a Java DB and server neutral, the
interaction
is essencially one-to-one (so the BUS would collapses in a direct
connection)
So the idea is use lighter approach, ligher in CPU usage and ligher
in term
of speeding up devlopment.
Just to enumerate to possibility:
1) Jpuzzle call ofbiz Service Using webservice, why not RMI?
2) Jpuzzle "listen" JMS event using JMS.
3) We can develop a Jpuzzle Adapter so Obfiz Module can talk
internally to
him like an other ofbiz module, talking to Jpuzzle using webservice
or why
not, a lighter approc like RMI / JSON-RPC ?
What is your opinion?
Thank
Olindo
2009/9/25 Jacques Le Roux <[email protected]>
Apache ServiceMix : nothing but time to invest
http://servicemix.apache.org/home.html. I'd also recommend
http://www.manning.com/rademakers/
SOAP : http://docs.ofbiz.org/x/oR4 (use Apache Axis2, another free
"tool"). I'm still (for months now :) working on integrating Axis2
in OFBiz.
I have already a solution a little better than the one on this
page, but
always using Axis2 as a servlet. I have opened a Jira issue for
that and
should (yes, I should...mmm...) upload a patch
https://issues.apache.org/jira/browse/OFBIZ-2448
HTH
Jacques
From: "Olindo Pindaro" <[email protected]>
Thanks Jacques,
Your suggestion sound great, but I am not an ESB nor a OfBiz
expert so
before to add to my todo list the acquisition of another new
framework I
want to be shure that in I am not "using a rocket to kill a fly".
All what I know regarding OfBiz is from book "Apache OFBiz
Development
The Beginner's Tutorial " of which you are a reviewer and from a
reverse
for
OfBizsource.
This good book explain how to develop a ofBiz inside ofBiz nothing
how to
call from external java application.
Have you a link to a tutorial, article regarding these?
Thank in advance
Olindo
2009/9/25 Jacques Le Roux <[email protected]>
What about ESB ? ServiceMix ?
Jacques
From: "Olindo Pindaro" <[email protected]>
.My company delivered several J2EE Application Based on JPuzzle, a
legacy
proprietary framework for ERP (it's 7 years long story).
I am evaluating the possibility to integrate OfBIZ ecommerce
with it.
These means that a ecommerce site user will have an "alias" in
JPuzzle
DB,
that order history must be accessible from Jpuzzle and so on....
What is the suggested integration approace, taken in mind to
maintain
more
losely compled that possible the 2 framework?
which software tools are suggested, SOAP Integration, RMI, EBJ, DB
Integration (Trigger and so on)....
--
Olindo Pindaro
http://www.linkedin.com/in/olindopindaro
+39 3939455830
--
Olindo Pindaro
http://www.linkedin.com/in/olindopindaro
+39 3939455830
--
Olindo Pindaro
http://www.linkedin.com/in/olindopindaro
+39 3939455830