迁移项目从C#与Java [英] Migrating a project from C# to Java
本文介绍了迁移项目从C#与Java的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!
问题描述
通过在办公室的一些变化在人员配备,C#的专业知识水平已经急剧下降了,现在有更多的Java开发者。它已经如此严重,上级领导正在考虑移动用C#编写Java世界现有的.NET项目点。
With some changes in the staffing at the office, the levels of C# expertise has dropped off precipitously and there are now more Java developers. It has gotten to the point where the higher-ups are considering moving an existing .NET project written in C# into the Java world.
除了 的明显的问题从头开始完全 是什么,这家公司可以完成开发的一个项目成功一步从.NET C#到Java的可能途径?
Aside from the obvious problem of starting completely from scratch what are the possible ways that this company can accomplish a successful move of development on a project from .NET C# into Java?
推荐答案
下面是需要考虑的事情:
Here are things to consider:
- 这是大项目?如果是,尝试用C#坚持
- 是与组件这个中等规模的项目呢?如果没有,尽量坚持使用C#
- 是这个小项目意味着要部署仅在Windows?如果是的话,尝试用C#坚持
- 这是旧的源代码?如果是,尝试用C#坚持
- 请您使用Windows操作系统的特定的API?如果是,尝试坚持用C#
- 请您使用任何第三方的API的Java不对口?如果是,尝试坚持用C#
- 请您在深(数据绑定,用户控制等)使用的.Net?如果是的话,尝试用C#坚持
- 迁移时间比获得新的更容易接受/转换C#的家伙?如果没有,尽量坚持使用C#
- 请您认为最终用户会不会接受的变化,如果你是使用Java框架,这将改变呈现?如果是的话,尝试用C#坚持
- 检查广告
- Is this big project? If Yes, try to stick with C#
- Is this medium sized project with components? If No, try to stick with C#
- Is this small project meant to be deployed on windows only? If yes, try to stick with C#
- Is this old source code? If Yes, try to stick with C#
- Do you use windows OS specific APIs? If Yes, try to stick with C#
- Do you use any third party APIs without Java counterpart? If Yes, try to stick with C#
- Do you use .Net in "deep"(data binding, User controls etc.)? If yes, try to stick with C#
- Migration time is more acceptable than getting new/converted C# guys? If no, try to stick with C#
- Do you think end users will not be receptive of changes, if you are to use Java framework which will change presentation? If yes, try to stick with C#
- Check commercials
如果您决定转换:
- 每个组件进入
- 每一层转到
- 有很多的测试
- 检查是否有工具来帮助(无论多小的帮助而定)迁移
- Go per component
- Go per layer
- Have lots of tests
- Check if there are tools to help (however small help may be) with migration
这篇关于迁移项目从C#与Java的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!
查看全文