HTML 5 和 Java 集成

发布于 2024-12-29 18:22:47 字数 86 浏览 2 评论 0原文

我需要使用 html 5 GUI 和 JAXB 框架( eclipse )进行编码。我无法理解如何整合两者?

如果你们提出一个好主意,我很感激

i need to use html 5 for GUI and JAXB framework ( eclipse ) for coding. i am not able to understand how would i integrate both ?

I appreciate if any of you suggest a good idea

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

慕巷 2025-01-05 18:22:47

两者没有任何关系。另外:即使是 JAXB 和 Eclipse 也没有任何关系。

The two have nothing to do with each other. Besides: Even JAXB and Eclipse have nothing to do with each other.

暖伴 2025-01-05 18:22:47

下面是每个部分的适用范围的摘要:

HTML 5

您可以使用 HTML 5 创建一些相当复杂的客户端。您可以使用 JavaScript 来实现逻辑,并使用 REST 调用、WebSocket 或服务器发送事件 (SSE) 来与服务器进行通信。

JAXB

客户端和服务器之间的通信可以是某种 XML 或 JSON 消息。 JAXB 可用于将服务器端对象转换为 XML 或 JSON。

JAXB 也是 JAX-RS 的默认绑定层,JAX-RS 是用于创建 RESTful 服务的 Java EE 标准:

Eclipse

Eclipse IDE 可用于构建应用程序的 Java 和 HTML 5 方面。 Eclipse 运行时还运行组件,例如 EclipseLink JAXB (MOXy) 您可能会发现有用(我是 MOXy 技术负责人)。

Below is a summary of where each of the pieces fit:

HTML 5

You can use HTML 5 to create some fairly sophisticated clients. You can use JavaScript to implement your logic, and REST calls, WebSockets, or Server Sent Events (SSE) to communicate with your server.

JAXB

The communication between client and server can be some sort of XML or JSON message. JAXB can be used to convert server side objects to either XML or JSON.

JAXB is also the default binding layer for JAX-RS, which is the Java EE standard for creating RESTful services:

Eclipse

The Eclipse IDE can be used to build the Java and HTML 5 aspects of your application. The Eclipse runtime also runtime components such as EclipseLink JAXB (MOXy) that you may find useful (I'm the MOXy tech lead).

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文