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

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

问题描述

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

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网络应用程序.仍然没有多少人在前端使用Java,此外,任何移动/电视技术都不会支持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天全站免登陆