使用 Lift(基于 Scala 的框架)进行 Web 服务有什么缺点吗?
我一直在从事一个项目,由于我刚刚开始开发 Web 服务,我发现 Lift 已经发布了,所以我很好奇使用 Lift 是否会比使用 JDK6 的 Jax-WS 更复杂。
我正在使用 Eclipse IDE 执行此操作,但我不知道我是否会从该项目的 IDE 中获得很多好处。
I have been working on a project and as I have just started on the webservice I found Lift has been released, so I am curious if there will be much more complication by using Lift over Jax-WS using JDK6.
I am doing this with the Eclipse IDE, but I don't know if I will get much benefit from the IDE on this project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
Lift 是用 Scala 编写的,所以简单的问题是你了解 Scala 吗? 如果您不了解 Scala,但了解 JAX-WS,那么 Lift 显然需要做更多的工作才能实现有效的实现。
Scala 和 Lift 很酷,但除非您已经熟悉函数式编程方法,否则它们至少会让您头疼 6 个月。 由于它们相对较新,因此也缺乏工具。
您提到您正在使用 JAX-WS - 您可以使用 Lift 做到这一点吗? 如果您无法使用 Lift 本地完成此操作,您是否可以轻松集成标准 Java 库?
根据这是个人项目还是与工作相关的项目,您对承担技术风险的容忍度可能会有很大差异。
Lift is written in Scala, so the simple question is do you know Scala? If you don't know Scala but you do know JAX-WS, then Lift will clearly be way more work to get to a working implementation.
Scala and Lift are cool, but unless you are already comfortable with functional programming approaches, they will make your head hurt for at least 6 months. Since they are relatively new they also suffer from a lack of tooling.
You mention that you are using JAX-WS - can you do that with Lift? If you can't do it natively with Lift, can you easily integrate the standard Java libraries for this?
Depending on whether this is a personal project or work-related, your tolerance for taking technical risk can vary widely.