Difference between Vertx and Spring Boot [closed] - java

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 7 years ago.
Improve this question
Vertx and Spring both can be used to build entire REST application with many features like metrics calculation, monitoring via JMX etx.
a) What is the difference between Spring Boot and Vertx?
b) I stumbled upon an article: http://keaplogik.blogspot.in/2015/11/spring-boot-vertx-microservice-tech.html.
It describes a techstack that mixes both vertx and Spring Boot, but being new to both have not been able to figure out the usage in the mentioned link.
I am currently working on a REST application project, so I wanted to pick the correct stack before diving in.
Thanks in advance.

There is no correct (or incorrect) stacks, just stacks that fits your needs or not. In that case, either one is good. My personal preference goes for vertx, but you should try both and make your own opinion.
Both documentation is good, so take few hours on each, experiment, and choose based on your own experience.

Related

what are the benefits of using a spring-boot library instead of the core libs? [closed]

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 11 months ago.
Improve this question
I need to use Kafka in my spring-boot application and I see spring-boot has its own spring-kafka library. I am new to spring and java and confused if I should be using spring-kafka or any other application's spring-based lib rather than using the core libraries and what are the benefits of either one of them.
Spring boot with Kafka comes with various autoconfiguration out-of-the-box to save you from the trouble of configuring each and everything (though you can definitely override spring-boot opinionated autoconfiguration).
So, if you want a ready-made application to work quickly, you can take the help of spring-boot and its utilities.
If your preference is configuring each and everything to gain fine control, use core libraries.
I'd say it's just a matter of choice or preference.

spring web and spring batch compatibility? [closed]

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 2 years ago.
Improve this question
I have a project in the company that is running with spring web, they asked me for a batch job in which they want to implement spring batch. I have tried to elaborate it but it always gives me an error The web server cannot be started.
I would like to know if spring web is compatible with spring batch running at the same time in the same project
Yes, they are compatible. Can you post the error that you got?
By the way, consider to use #Schedule on you project, if it's possible.
#Scheduled(fixedRate = 1000)
public void executeJob() {
}
In some cases, it resolves the problem and you don't need to put a middleware to increase complexity to you business.

Architechture python +flask and spring boot +java [closed]

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 2 years ago.
Improve this question
I would know how to describe this archtechture as a backend I used spring boot, java, flask and python to deploy rest api and as a frontend I used angular is it a mircoservices architechture ?
"Is it a microservices architecture ?" -
It is not possible to say from the limited information you have provided.
There is no single canonical definition of Microservices; see Wikipedia. So deciding whether a system is implementing a Microservices architecture is always somewhat subjective.
What you have described in your Question matches a couple of the bullet points in the Wikipedia page:
The components are process that communicate over a network using a technology agnostic protocol.
The components are implemented in multiple languages.
But these are not sufficient to say one way or another. The other things that matter include the granularity of the services, whether they can be developed independently, whether they can be deployed and used independently, and so on.
My advice would be to read the descriptions for Microservices, then come to your own conclusion.

Modularity - design patterns - Architecture [closed]

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 9 years ago.
Improve this question
I'm trying to implement modularity system (J2EE) to allow changes of the type modules/plugins/add ons.
I want to know how to start, what approach I should follow.
Are there any new design patterns for this type of system ?
or do I need a new technology (message bus, osgi) ?
Thanks in advance
Mhadjis
Spring would be a good starting point. Spring context files let you specify most of the architecture in XML and the replace them later. This makes for a very modular architecture. Now in terms of being able to write "plugins" like where a user can provide a jar file and it hooks into the app dynamically that is something you'd have to roll yourself. However, Spring could help you there again by providing a lot of tools for abstracting out the configuration of plugins and loading them (loading them as Spring contexts).

java spring framework knowledge consolidation [closed]

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
I recently followed some spring related tutorials and I get the feeling that I will forget the concepts learnt so far quickly, since projects I am engaged in at the moment, do not use spring.
I would love to consolidate the things I have learnt and stay in touch with spring. My question is what kind of a project should I start in order cover most of the concepts that I learnt in spring?
Thanks.
Think of a Project for yourself. A photo sharing app for example. This is how I do it. I think of a project for myself and code it in my free time - thus stay in touch with Spring for example.
btw, my last project using spring has now over 100 registered users, which I did not expect and they all demand other functionality - this way you have to improve also.
I might suggest openshift as your deploy environment - it's free with plugins for eclipse.
You might also ask/answer spring related questions here on SO - this is always helpful of course.
Think about some examples and try to resolve with spring, Write blogs about spring, contribute some open source projects that use spring. This is the way that I learn spring and still doing. :)

Categories

Resources