企业Web应用程序中的JavaFX - 经典网页的良好替代品? [英] JavaFX in enterprise web applications - good alternative to classic web pages?

查看:181
本文介绍了企业Web应用程序中的JavaFX - 经典网页的良好替代品?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我们为不同的客户开发了几个Web应用程序,从那些看起来很简单的CRUD风格的GUI到那些糟糕的管理员,再到那些互联网用户的花式schmancy AJAX增强的GUI。所有这些都基于JSF 1.2与JBoss Seam 2的结合,使用Facelets和RichFaces作为表示层。

We developed several web applications for different customers, from simple kind-of-boring-looking CRUD-style GUIs for those poor admin guys to fancy-schmancy AJAX-enhanced GUIs for those Internet people. All of these were based on JSF 1.2 in combination with JBoss Seam 2, using Facelets and RichFaces as presentation layer.

我们知道JSF 1.2的局限性和(我感到很难过)我们尚未管理向Java EE 6的过渡,但定义了这个作为我们的技术堆栈,我们获得了一些使用该技术的经验,为我们的客户可靠地开发Web应用程序感到舒适。

We do know about the limitations of JSF 1.2 and (I'm feeling sad about that) we have not yet managed the transition to Java EE 6, but with defining this setup as our technology stack, we gained some experience with that technology, feeling comfortable to reliably develop web applications for our customers.

那么,为什么我要告诉你?因为我们越来越多地体验到听说过Web 2.0的客户希望拥有丰富的客户端功能,同时只接受浏览器作为所有应用程序的大门。尽管我们知道可以用我们使用的技术做到这一点,但我们认为,在客户端使用不同的东西来支持这些需求可能是个好主意。而且由于我们大多是Java程序员而且我们不断追赶这个让他们用他的Adobe Flex烦恼的家伙,我们认为,新版本的JavaFX可能是一件好事。

So, why the heck do I tell you that? Because we experience more and more that customers who heard of "Web 2.0" want to have rich client functionality while only accepting a browser as their door to all applications. Allthough we know that one can do that with the technology we use, we feel, that it might be a good idea to use something different on the client side to support those needs. And since we are mostly Java programmers and we keep shooing away this one guy bugging us with his Adobe Flex, we think, that JavaFX in its new version might be a good thing to go with.

我深深地挖掘了我能找到的JavaFX资源的深度 - 但我常常想到的一件事是JavaFX本身就是一种能够做一些不错的图形的技术虽然弹跳彩色阴影气泡可能看起来很酷,但它们在商业应用中基本没用。

I made my hands aching digging into the deep of the JavaFX resources I could manage to find - but one thing which came to my mind quite often was that JavaFX presents itself as a technology that is able to do some nice graphical effects, but while bouncing colored shaded bubbles might look cool, they are basically useless in business applications.

好吧,总而言之 - 我们喜欢使用Java EE 6在后端,同时在客户端上具有丰富和漂亮的功能。在开发商业Web应用程序时,JavaFX是一个很好的替代经典网页,甚至是即将推出的现代HTML 5网页吗?在哪里可以找到这样的例子?

Well, to make a long story short - we like to use Java EE 6 in the backend while having rich and nice looking functionality on the client. Is JavaFX a good alternative here to the classic web pages or even to the upcoming modern HTML 5 webpages when developing business web applications and where can one find examples for that?

谢谢阅读本文以及希望得到答案的时间。

Thanks for your time reading this and for the answers which hopefully arise.

推荐答案

您可能需要查看来自JavaFX的DataApp示例样本包在 http://www.oracle.com/technetwork/java/ javafx / downloads / index.html

You may want to take a look at DataApp sample from JavaFX Samples bundle at http://www.oracle.com/technetwork/java/javafx/downloads/index.html

这是使用浏览器中的JavaFX UI的企业应用程序示例。它将为您提供一个可以在JavaFX上为企业客户端提供的一个很好的示例。

It's an example of the enterprise application with JavaFX UI in Browser. It will give you a good example of that can be made on JavaFX for enterprise clients.

您可能需要花一些时间来安装MySQL,EE和此示例的内容(非常简单,只需按照自述文件提供),但您将看到如何从数据库到客户端UI处理完整堆栈。

You may need to invest some time into installing MySQL, EE and stuff for this sample (quite easy, just follow provided README), but you will see how full stack is handled from DB to client UI.

第一个屏幕的小屏幕截图:

Small screenshot of the first screen:

这篇关于企业Web应用程序中的JavaFX - 经典网页的良好替代品?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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