Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
We are using Spring Integration to read from a database, transform into XML, and then place messages onto a topic for an external system. Would there be any reasons to favour Camel for this use case? Also, in general, what advantages, if any, does Camel have over Spring Integration?
A related question: for development using Spring projects such as Batch, Data and XD, how seamless would it be to use Camel with these technologies, in comparison to Spring Integration.
Thanks
Here are a few links that discuss Spring Integration vs Camel.
http://java.dzone.com/articles/light-weight-open-source
http://www.javacodebook.com/2013/07/24/spring-integration-vs-apache-camel/
When to use Spring Integration vs. Camel?
Note that Camel uses Spring for configuration and can easily integrate with other Spring projects such as Batch, http://camel.apache.org/springbatch.html, XD and others.
Nothing requires you to go with a pure Spring stack though many choose to do so. I find Camel a much more pleasant choice than SI in my day to day work.
I don't want to start one more holly war regarding Spring Integration vs Apache Camel, but I'd say: it's up to you, which one to choose for development.
As you noticed Batch, Data and XD, and, of course, Integration, all are projects of Spring.
And what is interest XD is written on Spring Integration and the last one is main tool to extend the XD Runtime.
So, I won't mind that you can write some adapter for Camel in the XD, but will it make sense, if you can just concentrate on your business task with existing abilities from XD via Integration and Spring at all?..
Anyway Spring Integration is a part of Spring IO platform. And you should agree with me, that one Camel can't replace entire platform.
You can find some links to what other people have blogged/written about Apache Camel vs competitors at
http://camel.apache.org/articles
Related
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 1 year ago.
Improve this question
I am beginner to apache camel, and i need some clarity in it.
Apache camel is an alternative for microservices? Or what is the advantage of this routing integration.
It has separate HTTP component but its configuration method looks like
from("route1").to("route2")
so how it works when one request arrives in camel application.
Kindly guide me to know the basics of it.
apache camel is an integration framework which helps you to connect many endpoints with different protocols together.There are lots of integrations for apache camel ready to use and no it is not an alternative to microservices but you can use it in microservice architecture.
Closed. This question needs to be more focused. It is not currently accepting answers.
Want to improve this question? Update the question so it focuses on one problem only by editing this post.
Closed 2 years ago.
Improve this question
Is it possible to deploy a react-redux application to the cloud foundry environment of the SAP Cloud Platform and is it a supported way of the new SAP Cloud Application Programming Model ?
I cannot find any official resources on that so far.
Sure you can do it. You can build a CAP backend app (with a HANA db for example), add an HTML5 frontend app with any framework you like (React, Angular, Vue, etc...) and glue it all together with the App Router, for dispatching your calls.
Here explained step-by-step how to do this:
https://blogs.sap.com/2020/09/01/how-to-build-end-to-end-custom-applications-in-cloud-foundry/?update=updated
To answer your first question, Yes It should be possible to deploy a react-redux based JavaScript application on SAP CF. You can use the static buildback for on cloud foundry. You can check the documentation here.
To answer your second question, I am not completely sure about that, But you can use CAP to generate your database and OData services, and consume them in your application. Additionaly you can check SAP fundamental react
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 8 years ago.
Improve this question
I am involved in the design of a service that uses Spring Cloud and Apache Camel. I was taken aback today when a colleague asked (maybe advocating would be a better term) whether we really need Apache Camel. From his perspective, most of the downstream systems we talk to are REST-based and therefore, no integration framework should be needed. If my recollection is correct, he also implied that Microservices and Integration Frameworks are incompatible.
I started passionately suggesting that Spring Cloud helps solve a deployment/ops issue while Integration frameworks solve integration issues and that they have orthogonal requirements.
Here are some of the protocols the system will be using to communicate:
REST
SOAP
AMQP
Azure SDK
AWS SDK (S3, SimpleBD, etc.)
Dropbox SDK
Paypal SDK
Braintree SDK
Caching (Memcached, EhCache)
Async (VM, Direct-VM, SEDA, SEDA-VM)
Facebook
Twitter
FTP
SMTP
File IO
SOLR/Elesticsearch
Quartz
Unknown protocols: as we integrate in customers environment we need to integrate with their systems. The communication protocols are yet unknown.
The following statement by Martin Fowler and James Lewis seems to suggest that ESB and Microservices are incompatible: "We can't resist mentioning Jim Webber's statement that ESB stands for "Egregious Spaghetti Box". Now, how far do you think this statement applies to an integration framework such as Apache Camel?
And more generally, does my colleague have a point? Does this mean that integration patterns have no place in microservices?
Apache Camel is not really an ESB (unless you want it to be), but rather a language/framework to connect "stuff" in a message oriented fashion.
If you feel you can use a concise syntax and flexible swiss army knife to connect "stuff" in your microsservices, sure - use Apache Camel. If you rather solve your integration code in other ways, do so.
Closed. This question needs details or clarity. It is not currently accepting answers.
Want to improve this question? Add details and clarify the problem by editing this post.
Closed 9 years ago.
Improve this question
I am new to Heroku and playframework.
trying to create a project where i can update and read DB via android / ios app i am developing.
I would like to create some sort of service using play framework that when requested by android/ios app will update db (security here is important).
how do i create such service ? if answer is to complex is there a tutorial i can be flowered to ?
appreciate the help.
EDIT:
I realize my question might be general/unfocused (due to my own lack of knowledge).
i will try to elaborate.
my purpose is to build an app for my kids kindergarten where the caretakers can update messages to parents in the website interface and the application will read these messages from the data base. i understand it is not recommended that an application read directly from DB but use a service. as my web site is built with playframework and hosted on heroku i was wondering how do i get this all to connect ?
Actually it's hard to guess what are you asking about...
I'd suggest to build JSON API with Play application which handles JSON requests, from your mobile apps. Quite simple case, however you ned to put some effort for planning.
Although we don't know much about your approach, most probably hmac signature for authentication will be good enough for this kind of job.
Closed. This question is opinion-based. It is not currently accepting answers.
Want to improve this question? Update the question so it can be answered with facts and citations by editing this post.
Closed 9 years ago.
Improve this question
Am a beginner and wants to implement sorl for search with a mvc web application.
Witch web server is the fastest and most secure to use for sorl?
Jetty, tomcat?
Either is fine.
Solr uses Jetty to make the initial setup and configuration process easier and ships with it. But that does not mean that Jetty is a bad choice for production deployment. If your
The organization already has a standard Java web-application platform, then Solr will work
with it - Tomcat, weblogic, JBoss etc. But if you have some choice then use Jetty. It's fast,
stable, mature, and easy to administer and customize. In fact, Google uses Jetty for their
App Engine—see www.infoq.com/news/2009/08/google-chose-jetty/.
If you want to use Tomcat solr has steps to setup , its easy : http://wiki.apache.org/solr/SolrTomcat
So the answer depends, security, what your organization allows. Solr is a war file all it cares is for a Servlet Container.