如何将ASP MVC转换为spring MVC项目 [英] How to convert ASP MVC to spring MVC project

查看:105
本文介绍了如何将ASP MVC转换为spring MVC项目的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我想将ASP.NET mvc项目转换为Spring mvc项目。请告诉我有什么要求?



我尝试过:



我在STS工具中创建Spring maven项目结构。

I want to convert ASP.NET mvc project to Spring mvc project. Please let me know What are the requirements ?

What I have tried:

I create the Spring maven project Structure in STS tool.

推荐答案

ASP.NET编写并运行在.NET框架的顶层,而Spring框架运行在Java框架上; Java EE 。不可能将一个转换为另一个,因为框架中可能存在许多差异。即使您可以找到一个工具将一个转换为另一个,您将自己修复大多数错误,这将在以后提出。



事实上,Java和.NET在很多方面都有所不同。



1.他们的字节码有不同的标准。

2.一个功能,可能无法在其他框架中以类似的方式实现。



Microsoft曾经创建过将Java代码转换为J#的工具,但即使这样也无法保证将100%的代码转换为J#,这也是很久以前的事了。现在情况复杂得多。



我的建议是自己构建应用程序,首先学习Spring框架,然后在不同的框架中编写相同的应用程序; Spring MVC框架。 Spring Framework参考文档 [ ^ ]
ASP.NET is written and runs on the top of .NET framework, whereas Spring framework runs on a Java framework; Java EE. Converting one to another is not possible, because there may be many differences in the frameworks. Even if you can find a tool to convert one to another, you are going to fix most of the errors yourself, which would be raised later.

The thing is, Java and .NET are different in many ways.

1. Their bytecodes have different standards.
2. A feature of one, may not be implemented in a similar manner in the other framework.

Microsoft used to create tools for converting Java code to J#, but even that was not guaranteed to convert 100% code to J#, that was also very long ago. Things are much complex now.

My recommendation is to build the application yourself, start by learning Spring framework and then write the same application in a different framework; Spring MVC framework. Spring Framework Reference Documentation[^]


这篇关于如何将ASP MVC转换为spring MVC项目的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆