如何使用 Java 创建桌面应用程序并通过浏览器运行?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/17489863/
Warning: these are provided under cc-by-sa 4.0 license. You are free to use/share it, But you must attribute it to the original authors (not me): StackOverFlow

提示:将鼠标放在中文语句上可以显示对应的英文。显示中英文
时间:2020-11-01 02:09:58  来源:igfitidea点击:

How to Create Desktop Application Using Java and run through Browser?

javaspringhibernatedesktop-application

提问by java

Is their any way for Creating Desktop Application Using

他们是否可以使用任何方式创建桌面应用程序

Spring, Hibernate.

Please help me i want to Planing sample Application for Desktop User..

请帮助我,我想为桌面用户规划示例应用程序..

because i'm thinking if we run our Application through Browser then their is no OS dependent.

因为我在想,如果我们通过浏览器运行我们的应用程序,那么它们不依赖于操作系统。

Please help me how to create desktop application run through Browser?.

请帮助我如何创建通过浏览器运行的桌面应用程序?

Edit: i'm thinking same Application like.. WampServer

编辑:我在想同样的应用程序,比如.. WampServer

in Windows WampServer Application runs only with in our system and run through browser.

在 Windows 中 WampServer 应用程序仅在我们的系统中运行并通过浏览器运行。

回答by Prasad Kharkar

Hibernate is an object to relational mapping tool. You can definietly create desktop applications using Hibernatebecause what they do is represent database tables as java objects.

Hibernate 是一个对象关系映射工具。您可以明确地创建桌面应用程序,Hibernate因为它们的作用是将数据库表表示为 java 对象。

The core concept of spring is dependency injection i.e. injecting objects into the program at runtime. Spring framework can also be used to create desktop applications.

spring 的核心概念是依赖注入,即将对象在运行时注入到程序中。Spring 框架还可用于创建桌面应用程序。

You can find a good link here for spring

你可以在这里找到春天的好链接

and for hibernate

休眠

回答by Malik Aqib

you can definitely make desktop applications through browser.

您绝对可以通过浏览器制作桌面应用程序。

check for help

检查帮助

http://www.onjava.com/pub/a/onjava/2003/09/17/macosxjava.html

http://www.onjava.com/pub/a/onjava/2003/09/17/macosxjava.html