简体   繁体   English

我可以同时为后端启动 Express 服务器和 Java Spring 吗?

[英]Can I have Express server & Java Spring boot for Backend At Same time?

Using Java spring boot to handle REST API, Using Stripe to handle Payment.使用 Java spring 引导处理 REST API,使用 Stripe 处理付款。 For Server side to handle payments, I am planning to use Express server.对于服务器端处理付款,我打算使用 Express 服务器。 Is It Okay?可以吗? Will I face any issues in deployment?我会在部署中遇到任何问题吗?

I am planning to start working on it ASAP我打算尽快开始工作

This is really an architectural choice that you can take.这确实是您可以采用的架构选择。 It can be justified as being part of a micro-services architecture.它可以被证明是micro-services架构的一部分。 This is not uncommon, to have different services being developed with different languages and infrastructures, especially when you have different teams with different skillsets working on isolated features/services.使用不同的语言和基础架构开发不同的服务并不少见,尤其是当您有不同的团队、具有不同技能的团队处理孤立的功能/服务时。 There are a couple of things to be careful about though:不过,有几件事需要注意:

  • Maintainability可维护性
  • Interoperability互操作性
  • Infrastructure基础设施
  • Security安全
  • etc.等等

I hope this gives you enough to think about to make your decision.我希望这能给你足够的思考来做出你的决定。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

相关问题 我在同一Spring Boot中有2 CommandLineRunner - I have 2 CommandLineRunner in same Spring boot 我们可以在一个项目中同时使用 Java Spring mvc 和 Spring Boot 吗? - Can we use Java Spring mvc and Spring Boot at the same time in a project? 我可以同时拥有Spring Tool Suite和Eclipse吗? - Can I have Spring Tool Suite and Eclipse at the same time ? Spring Boot JPA,如果我有多个具有相同列名的表,我可以放入同一个实体类吗? - Spring Boot JPA, if i have multiple tables with same column name can i put in same entity class? 如何在前端使用Angular 7并在后端使用Spring Boot调试应用程序 - How can I debug an application with Angular 7 on frontend and Spring Boot on backend 我可以在同一个数据库中使用不同架构的两个 Spring Boot Camunda 应用程序吗 - Can I have two Spring Boot Camunda applications in same db with different schema spring boot中同时在多个服务器实例中运行计划任务 - Running scheduled tasks in multiple server instances at same time in spring boot 如何通过Maven同时构建节点项目和spring-boot项目 - How can I build a node project and a spring-boot project at the same time through a maven 将PHP开发的后端更改为Java Spring Boot - Changing PHP developed backend to Java spring boot 我们可以在 spring 引导中为同一个数据库进行多个配置吗 - Can we have multiple configuration for same database in spring boot
 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM