如何在 Eclipse 中使用 JavaPOS 进行开发?

声明:本页面是StackOverFlow热门问题的中英对照翻译,遵循CC BY-SA 4.0协议,如果您需要使用它,必须同样遵循CC BY-SA许可,注明原文地址和作者信息,同时你必须将它归于原作者(不是我):StackOverFlow 原文地址: http://stackoverflow.com/questions/12179659/
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-09-19 18:53:28  来源:igfitidea点击:

How to develop using JavaPOS in Eclipse?

javaeclipsejavapos

提问by user9507

I'm new to JavaPOS. I wanted to create an online Java POS application that uses JavaPOS. Is it possible to access the POS peripherals regardless of the brand? Is it possible that Epson ADK will be enough to access the other brands too? And more importantly, can it be accessible via web?

我是JavaPOS 的新手。我想创建一个使用 JavaPOS 的在线 Java POS 应用程序。无论品牌如何,都可以访问 POS 外围设备吗?Epson ADK 是否也足以访问其他品牌?更重要的是,它可以通过网络访问吗?

How do I start coding in JavaPOS in Eclipse? I found a paper about deployment (JavaPOS deployment), but it doesn't say anything about development. I also found some examples but I do not know how to set it up in eclipse? Where do I put the jpos.xmlin the first place? I already did the health check, and it's ok.

如何在 Eclipse 的 JavaPOS 中开始编码?我找到了一篇关于部署(JavaPOS 部署)的论文,但它没有说明任何关于开发的内容。我也找到了一些例子,但我不知道如何在 eclipse 中设置它?我首先把它放在哪里jpos.xml?我已经做了健康检查,没问题。

采纳答案by user9507

The docs I found are not suffiecient. I found a github repository that uses JavaPOS in his project. I just checked it out and it somehow works. https://github.com/emigonza. Thanks to emigonza and his examples I have a headstart.

我找到的文档不够充分。我在他的项目中找到了一个使用 JavaPOS 的 github 存储库。我刚刚检查了一下,它以某种方式起作用。https://github.com/emigonza。感谢 emigonza 和他的例子,我有一个先机。

回答by Riduidel

According to javaPOS site, there is a JavaPOS v1.10 Guide for Application and Device Programmers, which as of version, 1.10, is

根据javaPOS 站点,有一个JavaPOS v1.10 应用程序和设备程序员指南,从 1.10 版开始,它是

The JavaPOS v1.10 Guide for Application and Device Programmers is now available from the Arts Website, located within the UnifiedPOS v1.10 specification.

面向应用程序和设备程序员的 JavaPOS v1.10 指南现在可从位于 UnifiedPOS v1.10 规范内的Arts 网站上获得

following this link leads to nothing ... and a search in Arts website yielded no results. A dead end ? Not so sure ...

跟随此链接不会导致任何结果……并且在 Arts 网站上搜索没有结果。死路一条?不太确定...

One can easily find

一个人可以很容易地找到

I guess it's enough as a start, no ?

我想作为开始就足够了,不是吗?

回答by SysHex

UnifiedPOS Spec(have to register there to download)

UnifiedPOS Spec(必须在那里注册才能下载)

Check "Appendix B: Java for Retail POS — JavaPOS Implementation Reference". This is the JavaPOS Development Guide. This is actually as good as you are ever going to get regarding development for JavaPOS, at least that I know of.

查看附录 B:零售 POS 的 Java — JavaPOS 实施参考”。这是JavaPOS 开发指南。这实际上与您在 JavaPOS 开发方面所获得的一样好,至少我知道。