See comments inline.
Claude Hussenet wrote:
I have few questions regarding the new sample bundled
with 2.0 .Those questions are related to the loan
broker implementation of Mule that I am currently
investigating with Servicemix.
1-Can we define Bank,CreditAgency,LenderGateway,... as
POJO components.
There are several ways to do that:
* use the org.servicemix.comonents.reflection.ReflectionOutBinding
component
* use the new xfire jbi component in which you can deploy service
units that
are annotated pojos (using web services annotations)
JBI is geared toward xml messages, but we provide ways to convey java
objects
by using either properties, or our own org.servicemix.JavaSource.
2-How easy it is to set/switch the protocol of
communication between
REST/JMS/HTTP/VM/SAOP(web-service)
The loan broker demo only uses one binding for the jms input request.
All other messages are currently only routed internally in the jbi
container.
Using (or simulating) external services is just a matter of replacing
one component
by a binding component. Each binding component handle a specific
protocol, but the
messages are routed by the endpoint / service name only. So switching
protocols
is not a problem, as this is all done by the binding components.
3-Are u planning to demonstrate the usage of
HTTP/REST, Web Services, EJB and JMS in a future
loanbroker implementation ?
Next ServiceMix release will have a real loan broker example, demonstrating
jbi components / service units and interface based routing, with
external services.
Cheers,
Guillaume Nodet
Thank u for your answers.
Rgds-Claude
__________________________________
Yahoo! Mail - PC Magazine Editors' Choice 2005
http://mail.yahoo.com