用 Java 开发视频聊天 Web 应用程序的最佳方法是什么?Flex 还是 JMF? [英] What is the best approach to develop a video chat web application in Java? Flex or JMF?

查看:21
本文介绍了用 Java 开发视频聊天 Web 应用程序的最佳方法是什么?Flex 还是 JMF?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

目前我们正处于一个应用程序的设计阶段,该应用程序将允许两个用户使用聊天和视频(带音频)相互通信,该应用程序是一个 web 应用程序,目前是一个带有 Spring 和 hibernate 的 java web 应用程序,但是我们想要在两个用户之间整合视频和聊天,我们正在评估开发它的选项,到目前为止我们有两个选择,要么开发一个 Flex UI,通过 Red5 或类似的东西来利用其视频和聊天功能,并与Spring 应用程序使用 BlazeDS 或完全基于 Java 的方法使用(可能)JMF 和/或小程序来实现视频和聊天交互.问题是,哪种方法是开发此类应用程序的最具可扩展性的方法?从最终用户的角度来看,哪种方法干扰最少?感谢您抽出时间回答这个问题!

Currently we are in the design phase of an application that will allow two users to communicate with each other using chat and video (with audio), the application is a web application that currently is a java web app with Spring and hibernate, but we want to incorporate video and chat between two users and we are evaluating the options to developing it, so far we have two choices, either develop a Flex UI that leverages its video and chatting capabilities through Red5 or something like that and communicates with the Spring app using BlazeDS or a completely java based approach using (maybe) JMF and/or applets to achieve the video and chat interaction. The question is, which would be the most scalable approach to develop such an application?, what would be the approach that is the least intrusive from the end user perspective? Thanks for taking the time to answer this question!

推荐答案

我不会使用 Java Web 应用程序.没有多少人仍然在前端使用 Java,而且任何类型的移动/电视技术都不会支持它.闪存是.

I wouldn't use a Java web app. Not many people still use Java on the front end, plus, it wouldn't be supported by any kind of mobile/TV technology. Flash is.

我多年来一直在开发企业级 Flex 应用程序.Flex 一直是近代历史上一些最重要的金融工具的首选技术.Flex 具有极强的可扩展性和健壮性,只要您编码它.它是一个快速的富 Internet 应用程序框架,用于与 UI 一起使用.它很容易开始,但许多人会赶上"只是创建 UI 而没有考虑适当的架构(MVC 等).您应该阅读应用程序框架以及 Parsley、Robotlegs 和 Swiz.

I've been doing enterprise level Flex applications for years now. Flex has been the tech of choice for some of the most important financial tools in recent history. Flex is extremely scalable and robust, so long as you code it to be. It's a rapid rich internet application framework made to be used with UIs. It's easy to start, but many gets 'caught up' with just creating the UI without thinking of proper architecture (MVC and the likes). You should read up on application frameworks as well like Parsley, Robotlegs and Swiz.

此外,您可以在线使用大量资源来实现您想要使用任何服务器端技术的简单视频 + 聊天功能.我不确定 BlaseDS 是否会流式传输视频,但 Red5 会这样做,但我不确定该项目的维护情况.你可能想看看 Wowza 服务器,我有很好的经验.

Plus, there are a lot of resources at your disposal online to implement that simple video + chat functionality that you want using whatever server side tech. I'm not sure if BlaseDS does streaming video however, Red5 does do it, but I'm not sure about how maintained that project is anymore. You might want to look into Wowza server, I've had good experiences with it.

这篇关于用 Java 开发视频聊天 Web 应用程序的最佳方法是什么?Flex 还是 JMF?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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