在 Java EE 服务器上托管 silverlight - 有哪些优点和缺点?
在 Weblogic 上的 Java EE Web 应用程序存档(war 文件)中部署 Silverlight 文件(XAP 文件)时是否有任何需要注意的陷阱?
它工作得很好,但似乎有点不寻常。由于一些与架构相关的原因,我们正在为一个项目探索这个选项。
Are there any pitfalls to be aware of in deploying Silverlight files (XAP files) in a Java EE web application archive (war file) on Weblogic?
It works fine but seems a little unusual to do. For some achitecture related reasons, we are exploring this option for a project.
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。
绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
到目前为止,我自己还没有尝试过这样的选项,但我计划将来将 Silverlight 与 PHP 结合使用。它与 Flash 没有太大区别。但您应该记住,它是一种面向 Windows 的技术。据推测,Mac 上的实现与 Windows 上的实现相同,但我发现它速度慢得多且脆弱得多(它经常崩溃,而 Windows 版本则不会崩溃)。 Linux 上的实现远远落后于 Windows 版本。
Silverlight 在浏览器中运行,因此理论上它与 JQuery 脚本一样是客户端。您可以将其部署到任何 Web 服务器(apache 例如:http://www.geoghana.com/博客/?p=53)。您将缺少 WCF 以及 Silverlight 和 ASP.net 之间的集成,但这可以轻松地用其他技术替代。
我不确定的是开发和调试环境。这可能是您在提交之前应该调查和测试的部分。我不确定如果你的 Silverlight 应用程序集成到不同的 Web 服务器中,你是否可以调试它(我怀疑)。您应该特别了解 Visual Studio 开发如何适应您的工作流程和工具...例如,您可能需要在 IIS 中开发它,然后才将其部署到您的 Web 服务器。
Until now, I have not myselft tried such an option, but I plan to use Silverlight with PHP in the future. It is not very different from Flash. You should however keep in mind that it is a Windows-oriented technology. Implementation on the Mac is supposedly the same as on windows however I find it much slower and much more fragile (it crashes A LOT while the windows counterpart never does). Implementation on Linux is FAR behind the Windows version.
Silverlight runs in the browser, so theoretically is as client-side as a JQuery script is. You can deploy it to any web server (apache eg: http://www.geoghana.com/blog/?p=53). You will be missing WCF and the integration between Silverlight and ASP.net, but this can be easily replaced with other technologies.
The thing that I am unsure about is the dev and debugging environment. This is probably the part you should investigate and test before committing. I am not sure whether you can debug your Silverlight app if it is integrated into a different web server (I doubt). You should especially find out how does Visual Studio development fit into your workflow and your tools... For example it may be that you need to develop it in IIS and only then deploy it to your webserver.